2006-07-03 17:33:50 +00:00
% $Id$ %
2010-11-21 13:47:56 +00:00
\subsection { Image Viewer}
This plugin opens image files from the \setting { File Browser} to display them\nopt { lcd_ color} { using Rockbox's greyscale library} . Supported formats are as follows.
\begin { table}
2011-01-16 11:40:47 +00:00
\begin { rbtabular} { .60\textwidth } { lX} %
2010-11-21 13:47:56 +00:00
{ \textbf { Format} & \textbf { File-extension(s)} } %
{ } { }
BMP & \fname { .bmp} \\
JPEG & \fname { .jpg, .jpe, .jpeg} \\
PNG & \fname { .png} \\
2012-11-13 17:23:56 +00:00
GIF & \fname { .gif} \\
2011-01-16 11:40:47 +00:00
\opt { lcd_ color} {
PPM & \fname { .ppm} \\
}
2010-11-21 13:47:56 +00:00
\end { rbtabular}
\end { table}
\opt { large_ plugin_ buffer} {
2009-09-21 10:43:22 +00:00
\par
\note {
When an audio file is playing the size of the image is limited as
the decoding process needs to share memory with audio tracks. To be able to
view a bigger file you may need to stop playback.}
2006-08-27 17:05:57 +00:00
}
2009-06-20 22:44:36 +00:00
\nopt { large_ plugin_ buffer} { %
\note { This plugin will cause playback to stop.} %
} %
2008-06-19 01:08:37 +00:00
2010-05-20 17:38:38 +00:00
\begin { btnmap}
2020-07-15 23:40:55 +00:00
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD,IAUDIO_ X5_ PAD%
2013-02-18 08:19:55 +00:00
,SANSA_ E200_ PAD,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD,SANSA_ CLIP_ PAD,GIGABEAT_ PAD,GIGABEAT_ S_ PAD%
2014-10-22 07:58:28 +00:00
,MROBE100_ PAD,PBELL_ VIBE500_ PAD,SANSA_ FUZEPLUS_ PAD,SAMSUNG_ YH92X_ PAD%
,SAMSUNG_ YH820_ PAD} { \ButtonUp \ / \ButtonDown } %
2008-06-19 01:08:37 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonMenu \ / \ButtonPlay } %
\opt { IRIVER_ H10_ PAD} { \ButtonScrollUp \ / \ButtonScrollDown } %
2020-07-15 23:40:55 +00:00
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD,IAUDIO_ X5_ PAD%
2013-02-18 08:19:55 +00:00
,SANSA_ E200_ PAD,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD,SANSA_ CLIP_ PAD,GIGABEAT_ PAD,GIGABEAT_ S_ PAD%
2012-11-21 20:40:22 +00:00
,MROBE100_ PAD,IPOD_ 4G_ PAD,IPOD_ 3G_ PAD,IRIVER_ H10_ PAD,PBELL_ VIBE500_ PAD%
2014-10-22 07:58:28 +00:00
,SANSA_ FUZEPLUS_ PAD,SAMSUNG_ YH92X_ PAD,SAMSUNG_ YH820_ PAD}
2009-12-14 20:18:38 +00:00
{ / \ButtonLeft \ / \ButtonRight }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD} { \ButtonVolDown / \ButtonVolUp /%
\ButtonRec + \ButtonRew / \ButtonRec + \ButtonFF }
\opt { MPIO_ HD300_ PAD} { \ButtonRew / \ButtonFF /%
\ButtonPlay + \ButtonScrollUp / \ButtonPlay + \ButtonScrollDown }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchTopMiddle { } / \TouchBottomMiddle { } / \TouchMidLeft { } / \TouchMidRight }
2009-07-22 18:08:51 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2006-04-02 21:45:11 +00:00
& Move around in zoomed in image\\
2008-06-19 01:08:37 +00:00
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD,IAUDIO_ X5_ PAD,SANSA_ E200_ PAD%
2013-02-18 08:19:55 +00:00
,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD,SANSA_ CLIP_ PAD,MROBE100_ PAD} { \ButtonSelect }
2006-08-23 17:10:08 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonScrollFwd }
2006-12-02 09:52:40 +00:00
\opt { IRIVER_ H10_ PAD} { \ButtonPlay }
2012-11-21 20:40:22 +00:00
\opt { GIGABEAT_ PAD,GIGABEAT_ S_ PAD,SANSA_ FUZEPLUS_ PAD} { \ButtonVolUp }
2015-07-19 23:50:26 +00:00
\opt { PBELL_ VIBE500_ PAD,SAMSUNG_ YH820_ PAD} { \ButtonRec +\ButtonUp }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD,MPIO_ HD300_ PAD} { \ButtonPlay }
2015-07-19 23:50:26 +00:00
\opt { SAMSUNG_ YH92X_ PAD} { \ButtonPlay +\ButtonUp }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchTopRight }
2009-07-22 18:08:51 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2006-03-14 08:20:39 +00:00
& Zoom in\\
2006-07-03 17:33:50 +00:00
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD} { \ButtonMode }
2006-08-23 17:10:08 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonScrollBack }
2013-02-18 08:19:55 +00:00
\opt { IAUDIO_ X5_ PAD,SANSA_ E200_ PAD,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD,SANSA_ CLIP_ PAD} { Long \ButtonSelect }
2006-12-02 09:52:40 +00:00
\opt { IRIVER_ H10_ PAD} { Long \ButtonPlay }
2012-11-21 20:40:22 +00:00
\opt { GIGABEAT_ PAD,GIGABEAT_ S_ PAD,SANSA_ FUZEPLUS_ PAD} { \ButtonVolDown }
2008-03-18 09:24:35 +00:00
\opt { MROBE100_ PAD} { \ButtonPlay }
2015-07-19 23:50:26 +00:00
\opt { PBELL_ VIBE500_ PAD,SAMSUNG_ YH820_ PAD} { \ButtonRec +\ButtonDown }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD,MPIO_ HD300_ PAD} { \ButtonRec }
2015-07-19 23:50:26 +00:00
\opt { SAMSUNG_ YH92X_ PAD} { \ButtonPlay +\ButtonDown }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchTopLeft }
2009-07-22 18:08:51 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2006-03-14 08:20:39 +00:00
& Zoom out\\
2006-07-03 17:33:50 +00:00
\opt { IRIVER_ H100_ PAD} { \ButtonOn }
\opt { IRIVER_ H300_ PAD} { \ButtonRec }
2006-08-23 17:10:08 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonSelect +\ButtonRight }
2006-07-03 17:33:50 +00:00
\opt { IAUDIO_ X5_ PAD} { \ButtonPlay }
2012-11-21 20:40:22 +00:00
\opt { SANSA_ FUZEPLUS_ PAD} { \ButtonBottomRight }
2014-10-22 07:58:28 +00:00
\opt { IRIVER_ H10_ PAD,SAMSUNG_ YH92X_ PAD,SAMSUNG_ YH820_ PAD} { \ButtonFF }
2009-10-09 07:34:13 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ FUZE_ PAD} { \ButtonScrollFwd }
2013-02-18 08:19:55 +00:00
\opt { SANSA_ C200_ PAD,SANSA_ CLIP_ PAD} { \ButtonVolUp }
2007-09-17 16:09:23 +00:00
\opt { GIGABEAT_ PAD} { \ButtonA +\ButtonRight }
2009-05-21 11:39:22 +00:00
\opt { GIGABEAT_ S_ PAD} { \ButtonNext }
2008-03-18 09:24:35 +00:00
\opt { MROBE100_ PAD} { \ButtonDisplay +\ButtonRight }
2010-04-19 21:28:54 +00:00
\opt { PBELL_ VIBE500_ PAD} { \ButtonRec +\ButtonRight }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD} { \ButtonFF }
\opt { MPIO_ HD300_ PAD} { \ButtonScrollDown }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchBottomRight }
2009-07-22 18:08:51 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2010-11-21 13:47:56 +00:00
& Next image in directory\\
2006-07-03 17:33:50 +00:00
\opt { IRIVER_ H100_ PAD,IAUDIO_ X5_ PAD} { \ButtonRec }
\opt { IRIVER_ H300_ PAD} { \ButtonOn }
2006-08-23 17:10:08 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonSelect +\ButtonLeft }
2014-10-22 07:58:28 +00:00
\opt { IRIVER_ H10_ PAD,SAMSUNG_ YH92X_ PAD,SAMSUNG_ YH820_ PAD} { \ButtonRew }
2009-10-09 07:34:13 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ FUZE_ PAD} { \ButtonScrollBack }
2013-02-18 08:19:55 +00:00
\opt { SANSA_ C200_ PAD,SANSA_ CLIP_ PAD} { \ButtonVolDown }
2012-11-21 20:40:22 +00:00
\opt { SANSA_ FUZEPLUS_ PAD} { \ButtonBottomLeft }
2007-09-17 16:09:23 +00:00
\opt { GIGABEAT_ PAD} { \ButtonA +\ButtonLeft }
2009-05-21 11:39:22 +00:00
\opt { GIGABEAT_ S_ PAD} { \ButtonPrev }
2008-03-18 09:24:35 +00:00
\opt { MROBE100_ PAD} { \ButtonDisplay +\ButtonLeft }
2010-04-19 21:28:54 +00:00
\opt { PBELL_ VIBE500_ PAD} { \ButtonRec +\ButtonLeft }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD} { \ButtonRew }
\opt { MPIO_ HD300_ PAD} { \ButtonScrollUp }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchBottomLeft }
2009-07-22 18:08:51 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2010-11-21 13:47:56 +00:00
& Previous image in directory\\
2015-07-19 23:50:26 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ C200_ PAD,SANSA_ CLIP_ PAD,SANSA_ FUZEPLUS_ PAD%
,SAMSUNG_ YH92X_ PAD,SAMSUNG_ YH820_ PAD} { %currently only defined for the sansa pads and samsung yh*
2012-11-21 20:40:22 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ C200_ PAD} { \ButtonRec }
2013-02-18 08:19:55 +00:00
\opt { SANSA_ CLIP_ PAD} { \ButtonHome }
2012-11-21 20:40:22 +00:00
\opt { SANSA_ FUZEPLUS_ PAD} { \ButtonPlay }
2015-07-19 23:50:26 +00:00
\opt { SAMSUNG_ YH92X_ PAD} { \ButtonRec \ switch}
\opt { SAMSUNG_ YH820_ PAD} { Long \ButtonPlay }
2012-11-21 20:40:22 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2008-06-19 01:08:37 +00:00
& Toggle slide show mode\\
}
2020-07-15 23:40:55 +00:00
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD} { \ButtonOff }
plugins: Improve usability of iPod keymaps
- Reduce need to press multiple buttons at
the same time to quit a plugin
- Have "Menu" be default way to quit plugins or
to access plugin menu
- Fall back to (Long) "Select" or Long "Menu"
in cases where Menu button isn't available
(e.g. in ImageViewer and many games)
out of scope:
boomshine, lua_scripts, Rockpaint,
Doom, Duke3D, Pacbox, Quake,
Sgt-Puzzles, Wolf3D, XWorld,
Minesweeper, Pixel Painter, Spacerocks
Change-Id: I6d4dc7174695fe4b8ee9cbaccb21bdbfe6af5c48
2022-12-18 20:13:15 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { Long \ButtonSelect }
2013-02-18 08:19:55 +00:00
\opt { IAUDIO_ X5_ PAD,IRIVER_ H10_ PAD,SANSA_ E200_ PAD,SANSA_ C200_ PAD,SANSA_ CLIP_ PAD} { \ButtonPower }
2009-10-09 07:34:13 +00:00
\opt { SANSA_ FUZE_ PAD} { Long \ButtonHome }
2010-04-19 17:03:03 +00:00
\opt { GIGABEAT_ PAD,GIGABEAT_ S_ PAD,MROBE100_ PAD,PBELL_ VIBE500_ PAD} { \ButtonMenu }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD} { \ButtonFunc }
\opt { MPIO_ HD300_ PAD} { \ButtonEnter }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchCenter }
2012-11-21 20:40:22 +00:00
\opt { SANSA_ FUZEPLUS_ PAD} { \ButtonSelect }
2014-10-22 07:58:28 +00:00
\opt { SAMSUNG_ YH92X_ PAD,SAMSUNG_ YH820_ PAD} { \ButtonPlay }
2009-07-22 21:40:29 +00:00
\opt { HAVEREMOTEKEYMAP} { &
\opt { IRIVER_ RC_ H100_ PAD} { \ButtonRCStop }
}
2010-02-19 14:56:02 +00:00
& Show menu / Abort \\
2014-10-15 14:23:34 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD,GIGABEAT_ PAD,GIGABEAT_ S_ PAD,MROBE100_ PAD,PBELL_ VIBE500_ PAD%
2015-12-27 17:14:41 +00:00
,SAMSUNG_ YH820_ PAD} {
plugins: Improve usability of iPod keymaps
- Reduce need to press multiple buttons at
the same time to quit a plugin
- Have "Menu" be default way to quit plugins or
to access plugin menu
- Fall back to (Long) "Select" or Long "Menu"
in cases where Menu button isn't available
(e.g. in ImageViewer and many games)
out of scope:
boomshine, lua_scripts, Rockpaint,
Doom, Duke3D, Pacbox, Quake,
Sgt-Puzzles, Wolf3D, XWorld,
Minesweeper, Pixel Painter, Spacerocks
Change-Id: I6d4dc7174695fe4b8ee9cbaccb21bdbfe6af5c48
2022-12-18 20:13:15 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonSelect }
2010-02-25 11:11:41 +00:00
\opt { GIGABEAT_ PAD,MROBE100_ PAD} { \ButtonPower }
\opt { GIGABEAT_ S_ PAD} { \ButtonBack }
2010-04-19 17:03:03 +00:00
\opt { PBELL_ VIBE500_ PAD} { \ButtonCancel }
2012-01-26 09:11:18 +00:00
\opt { MPIO_ HD200_ PAD} { \ButtonRec + \ButtonPlay }
\opt { MPIO_ HD300_ PAD} { Long \ButtonMenu }
2012-11-21 20:40:22 +00:00
\opt { SANSA_ FUZEPLUS_ PAD} { \ButtonBack }
2015-07-19 23:50:26 +00:00
\opt { SAMSUNG_ YH820_ PAD} { \ButtonRec +\ButtonPlay }
2010-02-25 11:11:41 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
& Quit the viewer \\
}
2006-07-03 17:33:50 +00:00
\end { btnmap}
2006-02-21 11:54:53 +00:00
2006-04-02 21:45:11 +00:00
The menu has the following entries.
\begin { description}
2010-02-19 14:56:02 +00:00
\item [Return.] Returns you to the image
2006-04-02 21:45:11 +00:00
\item [Toggle Slideshow Mode.] Enables or disables the slideshow mode.
\item [Change Slideshow Timeout.] You can set the timeout for the slideshow
between 1 second and 20 seconds.
2009-06-20 22:44:36 +00:00
\opt { large_ plugin_ buffer} {
2006-12-02 09:52:40 +00:00
\item [Show Playback Menu.] From the playback menu you can control the
2006-12-02 10:26:10 +00:00
playback of the currently loaded playlist and change the volume of your \dap .
2006-12-02 09:52:40 +00:00
}
2009-02-19 00:38:41 +00:00
\opt { lcd_ color} {
\item [Display Options.] From this menu you can force the viewer to render the
image in greyscale using the \setting { Greyscale} option or set the method of
2011-04-11 20:58:19 +00:00
dithering used in the \setting { Dithering} submenu. These settings only take effect
2010-11-21 13:47:56 +00:00
for JPEG images.
2009-02-19 00:38:41 +00:00
}
2010-02-19 14:56:02 +00:00
\item [Quit.] Quits the viewer and returns to the \setting { File Browser} .
2006-04-02 21:45:11 +00:00
\end { description}
2006-12-02 09:52:40 +00:00
\note {
Progressive scan and other unusual JPEG files are not supported, and will
2006-12-02 10:26:10 +00:00
result in various ``unsupported xx'' messages. Processing could also fail if the
image is too big to decode which will be explained by a respective message.
2011-01-16 11:40:47 +00:00
\opt { lcd_ color} {
Supported PPM files are both ASCII PPM (P3) and raw PPM (P6).
For more information about PPM files, see
\url { http://netpbm.sourceforge.net/doc/ppm.html}
}
2006-12-02 09:52:40 +00:00
}