Short: Cybergfx only picture viewer (040+PPC) V2.0 Author: al.renard@infoboard.be(Alain Renard) Uploader: al renard infoboard be(Alain Renard) Type: gfx/show Version: 2.0 Architecture: m68k-amigaos; ppc-powerup What is it? =========== Show is a picture viewer for CyberGraphics systems. It can decode the next picture formats: IFF,JPEG,PNG,GIF,BMP IFF(24bits),JPEG,PNG,BMP and RAW It open on a CyberGraphics screen (16/24bits) only. Invocation from a shell: ======================== Show FILES,PREFSFILE=PF/K,MODEID=ID/K/N,WORKBENCH=WB/S,WINDOWMODE=WM/S,LOOP=LP/S, NOERROR=NE/S,GETMODEID=GM/S,PROGRESS=PG/S,CRYPT=CR/S,PRESERVE=PR/S,OVERWARN=OW/S, CLICK=CL/S,LIST=LI/K,JPGQUAL=JQ/K/N,JPGGRAY=JG/S,JPGSIZE=JS/K/N,SLIDE=SL/S, SECONDS=SC/K/N,ZOMBIE/S FILES: - a mixture of filenames, patterns and directories: Example pattern : RAM:T/#?30#?.tiff Example directory : RAM:T/ (equivalent to RAM:T/#?. You have to put the '/' at the end to indicate a directory!) PREFSFILE=PF/K: - alternative prefs file to load at startup (default is ENV:Show.prefs). MODEID=ID/K/N: The screen mode (in decimal) WORKBENCH=WB/S: Open on Workbench screen. WINDOWMODE=WM/S: Mode window, e.g. non-backdrop. Only for custom screens. On public screens, the mode is always windowmode. LOOP=LP/S: If you want endless loop in viewing. NOERROR=NE/S: If you do not want the errors being reported. GETMODEID=GM/S: Force the mode requester to appear before the program starts. PROGRESS=PG/S: Open the progress window when loading a picture. CRYPT=CR/S: Save files crypted. PRESERVE=PR/S: Preserve files dates. OVERWARN=OW/S: Open a requester to ask if you want to overwrite a file. CLICK=CL/S: Click with the mouse in the main window loads the next picture. LIST=LI/K: Take precedence over the FILES argument. When present, Show will read the list file given instead of reading images directly. The list file is made of lines of text, each of which is a file name. Example: Show ...(blahblah)... LIST RAM:mylist and the content of the file RAM:mylist is: WORK:pics/png/john.png WORK:pics/tif/blue_parrot.tif DATAS:mypics/eros/Regina.jpg ... JPGQUAL=JQ/K/N: JPEG save quality (default=80). JPGGRAY=JG/S: Load JPEG in grayscale. JPGSIZE=JS/K/N: JPEG picture sizing when loading (0=auto, 1=full, 2=1/2, 4=1/4, 8=1/8; default=1). SLIDE=SL/S: Mode slideshow. Each image is displayed n seconds before the next is loaded. You can break this by hitting the ESCAPE key or by a menu item. When an image is changed, the slide is paused. To resume it, save the image or go to another image. SECONDS=SC/K/N: You can decide how much time each image is displayed in slideshow mode. Changing the delay is possible (menu item). ZOMBIE/S: Special mode; the program stay in memory and do nothing until it receive a command. Two commands possible: a) QUIT: quit the program ;) b) LOAD: load a file and display it. The executable ShowZombie is there to send a command to Show. These options take precedence over the preferences saved. You can also invoque Show simply by Show and a filerequester will appear for you to choose your files. Invocation from Workbench: ========================== The tooltypes are the same than when starting from a shell except there are no 'LIST' or 'PATTERN'. You can use the shortcuts. Usage: ====== Not much to say, apart for the Compose menu: Compose allow you to...compose several images in a big one. To achieve that, you have to 'memorize' the images first. So say you want to compose image1.jpg, image2.jpg, image3.jpg and image4.jpg: - a) load the images (!) - b) while each image is displayed, memorize it (menu 'Image/Memory/Memorize Image') - c) compose (menu 'Image/Memory/Compose Memorized Images') Here you can choose the layout and the space between images. Press 'OK' to save it. Note: Pressing HELP in the main window help to remember some keyboard shortcuts while composing or cropping. XPK: Files compacted/crypted with XPK are OK. You can even crypt your images from within the program. Preferences: ============ The preferences are saved in ENVARC:Show.prefs ('Save') and ENV:Show.prefs ('Use'). You can load and save alternatives prefs files. Files comment are always preserved. You can customize the keyboard as you like. Special keys: ============= ESCAPE: quit. SPACE: go to next image. RETURN: go to next image. HELP: change preferences. CURSORS: move in the image. F1: increment (SHIFT=decrement) red by 5. F2: increment (SHIFT=decrement) green by 5. F3: increment (SHIFT=decrement) blue by 5. F6: increment (SHIFT=decrement) brightness by 5. F7: increment (SHIFT=decrement) contrast by 5. F8: increment (SHIFT=decrement) gamma by 5. Versions: ========= I've decided to release only the PPC version. If you want the 68040 version, e-mail me, please. This program is TOTALLY FREE. Note: ====== I'm NOT a programmer, so please forgive me if you find bugs! Anyway, your comments are always welcome; PLEASE email me if you have bugs reports, comments, encouragements, etc... History ======= V2.0 - At last!! :/ Workbench/PublicScreens version (16/24 bits of course...). - You can now choose your prefered fonts in preferences. - ixemul.library is not needed anymore. - Corrected bad handling of file names on command line in certain situations (thanks to Andre Reichl). - Selection of a mixture of dirs/files in one shot in requester. - Bufferization of dir content in requester. - Loading/adding/saving of list files from within program. - Adding/removing files. - Modification of protections bits. - Watch directory. Watch for new files and display it automatically. - New sizing facilities. - Remember load path, lists path and watchdir path. - New prefs version. Use the command prefs2_prefs3 to convert. V1.18 - ShowZombie is now pure (you can make it resident). - Change : ESCAPE key now quit the program. - New Filetypes : IFF, GIF(PPC) and BMP(PPC) - Request user if image was modified. - Remember last save path. V1.17 - Alternative prefs files (loading/saving). - Mixture of filenames, dirs and patterns on command line. This means you can now select several files in a Opus lister, for example, and display them in one go. (suggestion from D.J. Nick) - Special keys to increment/decrement colors,brightness,contrast and gamma directly. See 'Special keys'. (suggestion from Franck Delhomme!) - PPC version: realtime effects adjustments. - Windows positions are now saved automatically before quitting. (suggestion from Andre Reichl) - You can now memorise images without they appear in the compose list. (suggestion from Andre Reichl) - New prefs file format. To convert your old prefsfile, use the command old2newprefs included!. V1.16 - PPC version. The JPG (load/save), PNG (load/save) and the effects are compiled for PPC for now. The modules 'ShowEffects.elf', 'ShowPng.elf' and 'ShowJpeg.elf' must reside in the same directory as ShowPPC. - ShowZombie bug fixed. Now you can pass a relative file-path; the path will be passed to Show in an absolute form (e.g. 'pics/mypic.jpg' --> 'DH0:data/misc/pics/mypic.jpg'). V1.15 - Mode slideshow - Mode Zombie - Some bugs fixes V1.14 - Show can now be started from WB. - Preferences grouped into a window. - While browsing the memorized pictures in the 'Goto memorized' window, you now see the images directly. V1.13 - Added the LIST/K argument in the command line. V1.12 - The grayscale images are now loaded/saved as grayscale in TIFF format - Added Gamma for PNG loading - More prefs are saved now V1.11 - Load and save TIFF images. - Now you can resize the picture freely. - New menu item: Gamma correction. - ATTENTION : ixemul.library is now needed! - ATTENTION : new prefs file format...sorry! :( END.