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} \\
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}
2008-06-19 01:08:37 +00:00
\opt { RECORDER_ PAD,ONDIO_ PAD,IRIVER_ H100_ PAD,IRIVER_ H300_ PAD,IAUDIO_ X5_ PAD%
2009-10-09 07:34:13 +00:00
,SANSA_ E200_ PAD,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD,GIGABEAT_ PAD,GIGABEAT_ S_ PAD%
2010-04-19 21:28:54 +00:00
,MROBE100_ PAD,PBELL_ VIBE500_ PAD}
2009-05-21 11:39:22 +00:00
{ \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 } %
2009-12-14 20:18:38 +00:00
\opt { RECORDER_ PAD,ONDIO_ PAD,IRIVER_ H100_ PAD,IRIVER_ H300_ PAD,IAUDIO_ X5_ PAD%
,SANSA_ E200_ PAD,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD,GIGABEAT_ PAD,GIGABEAT_ S_ PAD%
2010-04-19 21:28:54 +00:00
,MROBE100_ PAD,IPOD_ 4G_ PAD,IPOD_ 3G_ PAD,IRIVER_ H10_ PAD,PBELL_ VIBE500_ PAD}
2009-12-14 20:18:38 +00:00
{ / \ButtonLeft \ / \ButtonRight }
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\\
2006-07-03 17:33:50 +00:00
\opt { RECORDER_ PAD} { \ButtonPlay }
2010-11-21 13:47:56 +00:00
\opt { ONDIO_ PAD} { \ButtonMenu }
2008-06-19 01:08:37 +00:00
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD,IAUDIO_ X5_ PAD,SANSA_ E200_ PAD%
2009-10-09 07:34:13 +00:00
,SANSA_ FUZE_ PAD,SANSA_ C200_ 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 }
2009-05-21 11:39:22 +00:00
\opt { GIGABEAT_ PAD,GIGABEAT_ S_ PAD} { \ButtonVolUp }
2010-04-19 17:03:03 +00:00
\opt { PBELL_ VIBE500_ PAD} { \ButtonRec +\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 { RECORDER_ PAD} { \ButtonOn }
\opt { ONDIO_ PAD} { \ButtonMenu +\ButtonDown }
\opt { IRIVER_ H100_ PAD,IRIVER_ H300_ PAD} { \ButtonMode }
2006-08-23 17:10:08 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonScrollBack }
2009-10-09 07:34:13 +00:00
\opt { IAUDIO_ X5_ PAD,SANSA_ E200_ PAD,SANSA_ FUZE_ PAD,SANSA_ C200_ PAD} { Long \ButtonSelect }
2006-12-02 09:52:40 +00:00
\opt { IRIVER_ H10_ PAD} { Long \ButtonPlay }
2009-05-21 11:39:22 +00:00
\opt { GIGABEAT_ PAD,GIGABEAT_ S_ PAD} { \ButtonVolDown }
2008-03-18 09:24:35 +00:00
\opt { MROBE100_ PAD} { \ButtonPlay }
2010-04-19 17:03:03 +00:00
\opt { PBELL_ VIBE500_ PAD} { \ButtonRec +\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 { RECORDER_ PAD} { \ButtonFThree }
\opt { ONDIO_ PAD} { \ButtonMenu +\ButtonRight }
\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 }
2006-12-02 09:52:40 +00:00
\opt { IRIVER_ H10_ PAD} { \ButtonFF }
2009-10-09 07:34:13 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ FUZE_ PAD} { \ButtonScrollFwd }
2008-06-19 01:08:37 +00:00
\opt { SANSA_ C200_ 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 }
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 { RECORDER_ PAD} { \ButtonFTwo }
\opt { ONDIO_ PAD} { \ButtonMenu +\ButtonLeft }
\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 }
2006-12-02 09:52:40 +00:00
\opt { IRIVER_ H10_ PAD} { \ButtonRew }
2009-10-09 07:34:13 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ FUZE_ PAD} { \ButtonScrollBack }
2008-06-19 01:08:37 +00:00
\opt { SANSA_ C200_ PAD} { \ButtonVolDown }
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 }
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\\
2008-06-19 01:08:37 +00:00
\opt { SANSA_ E200_ PAD,SANSA_ C200_ PAD} { %currently only defined for the sansa pads
\ButtonRec
2009-07-22 18:08:51 +00:00
\opt { HAVEREMOTEKEYMAP} { & }
2008-06-19 01:08:37 +00:00
& Toggle slide show mode\\
}
2006-07-03 17:33:50 +00:00
\opt { RECORDER_ PAD,ONDIO_ PAD,IRIVER_ H100_ PAD,IRIVER_ H300_ PAD} { \ButtonOff }
2006-08-23 17:10:08 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonSelect +\ButtonMenu }
2008-06-19 01:08:37 +00:00
\opt { IAUDIO_ X5_ PAD,IRIVER_ H10_ PAD,SANSA_ E200_ PAD,SANSA_ C200_ 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 }
2010-11-21 13:47:56 +00:00
\opt { touchscreen} { \TouchCenter }
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 \\
2010-04-19 17:03:03 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD,GIGABEAT_ PAD,GIGABEAT_ S_ PAD,MROBE100_ PAD,PBELL_ VIBE500_ PAD} {
2010-02-25 11:11:41 +00:00
\opt { IPOD_ 4G_ PAD,IPOD_ 3G_ PAD} { \ButtonSelect +\ButtonPlay }
\opt { GIGABEAT_ PAD,MROBE100_ PAD} { \ButtonPower }
\opt { GIGABEAT_ S_ PAD} { \ButtonBack }
2010-04-19 17:03:03 +00:00
\opt { PBELL_ VIBE500_ PAD} { \ButtonCancel }
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
2010-11-21 13:47:56 +00:00
dithering used in the \setting { Dithering} submenu. These settings only take affect
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
}