TMUNA is using the new JPEG library by Agraham, so the limitation of size of the picture is removed because the program loads only a thumbnail, not the whole picture.
The operation is simple, the buttons functions from left to right:
- load single picture
- open a directory of pictures, without showing their thumbnails (its faster...)
- open a directory, with thumbnails (this may take a while)
- reset - re-draws the whole picture on the screen
- zoom out - works only after you zoomed in...
- zoom in
- Previous picture (only when a directory is opened and there is a list)
- next picture (only when a directory is opened and there is a list)
- show list (only when a directory is opened and there is a list)
- about
Joystick can be used To Do the previous-Next operations.
The last directory visited is stored for the next time.
The first zoom in step is from the whole picture displayed to the narrow dimension displayed fully on the screen. The step may be large or small - according to the size of the margin.
The following steps are of 1.25 each.
After rotation of 90 degrees, there is a need to increase the size * 1.12, ask Agraham why...(I don't know).
The program is intended for use in the device (not recomended to rotate the desktop screen). I found that there is different behaviour of jpeg.LoadAreaThumbnail on the desktop and on the device - on the desktop it allows to select area outside of the image, on the device it takes only area which is on the image. This is the reason for the complex sub form1_mouseup.
Please note that few libraries are not integrated into the compiled application, so remember to put them with the application. The images directory is required only for the compilation phase.
Many thanks to Erel, Agraham, Filippo and Ariel for the tools used here and for the continuous support !!!
I expect comments and suggestions, please !
David Erez.
Edit: Tmuna1.sbp added , syncronizes the list selected item and changing photo with the arrows.
Also I forgot to write that tapping the mouse moves the point of tapping to the center, or as much as possible without having blank margins.
Edit: version 1.1 , sliding the finger or stylus horizontally or vertically on the screen will change to next or previous picture, like the green arrows or the hardkeys.
edit: Version 1.3 - correction of list items update to show the last selected.
- arrows deleted, since their task is done by stylus movement.
- Addition of imageEdit library with three functions - brightness, contrast and saturation, operated with "E" button on the toolbar.
Edit: Version 1.4 - includes sorting of the photo array by the first letter and if equal - by the last. Also a bug correction.
Edit: Version 1.41 - a slight correction - the "Edit" controls are reset to default when a new photo is displayed.
The operation is simple, the buttons functions from left to right:
- load single picture
- open a directory of pictures, without showing their thumbnails (its faster...)
- open a directory, with thumbnails (this may take a while)
- reset - re-draws the whole picture on the screen
- zoom out - works only after you zoomed in...
- zoom in
- Previous picture (only when a directory is opened and there is a list)
- next picture (only when a directory is opened and there is a list)
- show list (only when a directory is opened and there is a list)
- about
Joystick can be used To Do the previous-Next operations.
The last directory visited is stored for the next time.
The first zoom in step is from the whole picture displayed to the narrow dimension displayed fully on the screen. The step may be large or small - according to the size of the margin.
The following steps are of 1.25 each.
After rotation of 90 degrees, there is a need to increase the size * 1.12, ask Agraham why...(I don't know).
The program is intended for use in the device (not recomended to rotate the desktop screen). I found that there is different behaviour of jpeg.LoadAreaThumbnail on the desktop and on the device - on the desktop it allows to select area outside of the image, on the device it takes only area which is on the image. This is the reason for the complex sub form1_mouseup.
Please note that few libraries are not integrated into the compiled application, so remember to put them with the application. The images directory is required only for the compilation phase.
Many thanks to Erel, Agraham, Filippo and Ariel for the tools used here and for the continuous support !!!
I expect comments and suggestions, please !
David Erez.
Edit: Tmuna1.sbp added , syncronizes the list selected item and changing photo with the arrows.
Also I forgot to write that tapping the mouse moves the point of tapping to the center, or as much as possible without having blank margins.
Edit: version 1.1 , sliding the finger or stylus horizontally or vertically on the screen will change to next or previous picture, like the green arrows or the hardkeys.
edit: Version 1.3 - correction of list items update to show the last selected.
- arrows deleted, since their task is done by stylus movement.
- Addition of imageEdit library with three functions - brightness, contrast and saturation, operated with "E" button on the toolbar.
Edit: Version 1.4 - includes sorting of the photo array by the first letter and if equal - by the last. Also a bug correction.
Edit: Version 1.41 - a slight correction - the "Edit" controls are reset to default when a new photo is displayed.
Attachments
Last edited: