Picture Preview

From Openmoko

Jump to: navigation, search
Not implemented: This article or section documents one or more features that are not implemented and which may never be implemented.


Contents

Overview

The Picture Preview Widget provides a thumbnail preview of an image

Usage Cases

Appearance & Interaction

OS X's preview function in SpotLight is a good reference:

http://people.openmoko.org/sean/specifications/images/osx_picturepreview.png

On Tap

http://people.openmoko.org/sean/specifications/images/osx_picturepreview_select.png

  • Select, if not selected
  • Expand, if selected and collapsed
  • Collapse, if selected and expanded

On Tap with Hold

Item Action Constraints
Select Selects this row
Open with associated application Opens this item with registered application Grayed-out if no applicaiton is registered.

Constraints

(TBD)

Architectural Details

(TBD)

Implementation Recommendations

  • Use libexif to read headers from jpeg files.

Cross-Widget Interactions

Unresolved Issues

  • Q: Should we try to read all the image header fields? If yes, hopefully we can find a good library for this parsing :-)
  • A: There's a libexif that could do it, but we should restrict ourselves to only a small and limited number of fields otherwise the preview item just gets too large in expanded mode. If a user wants full details, then use the dedicated Picture Viewer

Questions and Answers

(None)

Personal tools