Short: Cybergfx only picture viewer (040+PPC) V1.16 Author: al.renard@infoboard.be(Alain Renard) Uploader: al renard infoboard be(Alain Renard) Type: gfx/show Version: 1.16 Architecture: m68k-amigaos; ppc-powerup What is it? =========== Show is a picture viewer for CyberGraphics systems. It can decode the next picture formats: - JPEG,PNG,GIF,TARGA,BMP,PPM,TIFF and can save in - JPEG,PNG,TIFF and RAW It open on a CyberGraphics screen (16/24bits) only. Invocation from a shell: ======================== Show PATTERN,MODEID=ID/K/N,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 PATTERN: - Just a filename, eg : RAM:T/mypic.jpg - A pattern, eg: RAM:T/#?30#?.tiff - A directory, eg: RAM:T/ Equivalent to RAM:T/#? (You have to put the '/' at the end to indicate a directory!) MODEID=ID/K/N: The screen mode (in decimal) 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. NOTE: the filename must be an absolute path here! 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'). Files Comment are always preserved. You can customize the keyboard as you like. Special keys: ============= ESCAPE: break the slideshow mode. SPACE: go to next image. RETURN: go to next image. HELP: change preferences. CURSORS: move in the image. Versions: ========= There are 2 versions, one for 68040+FPU and the other for 68040+PPC If you want a 68000 version, please email me! 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 ======= 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.