home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / apps / image / !Image / Docs / P4 < prev    next >
Encoding:
Text File  |  1994-03-31  |  5.6 KB  |  133 lines

  1.  
  2. Loading and Saving
  3. ------------------
  4.  
  5. Image can load and save various file formats :
  6.  
  7.     Sprite       - 1, 2, 4, 8, 16 and 32 bpp   (not CMYK)
  8.     Clear files
  9.     JPEG files
  10.     PBMPlus      - PPM and PGM only, not PBM   (only saves P6, raw full colour)
  11.     GIF files    - Memory Permitting           (load only)
  12.     
  13. It can also request ChangeFSI to convert pictures for it, thus it can load
  14. many different picture formats. See below for details.
  15.  
  16. Where files contain more than one picture, the first picture is
  17. loaded.
  18.  
  19. To load a picture simply drag the file to any of Image's windows -
  20. Image will then attempt to load the picture into its current input
  21. image bank (see 'BankCont').
  22.  
  23. To save an image simply click MENU over the Image Display Window. This
  24. brings up a save window which contains the usual icons, plus icons to
  25. select the output format :
  26.  
  27.    Sprite     - Saves the current display sprite (the sprite used
  28.                 to display in the display window). This will be
  29.                 an old style sprite of 1, 2, 4 or 8 bpp (depending
  30.                 on the options set in the configuration window
  31.                 (See 'Configuration').
  32.    Sprite 32k - This saves the image as an old style 16 bpp sprite
  33.                 (as used by Computer Concepts' Colour Cards)
  34.    16 bpp     - Saves a new style 16 bpp sprite. (actually 15 bpp)
  35.    32 bpp     - Saves a new style 32 bpp sprite. (actually 24 bpp)
  36.    Clear      - Saves a clear file.
  37.    JPEG       - Saves a JPEG file (see below)
  38.  
  39. In all but the 'Sprite' option the image saved is that which resides
  40. in the current input image bank. 
  41.  
  42. The masking information is generally lost when saving a picture,
  43. except when saving 'Sprite' and the mask option in the configuration
  44. window is set - or when saving '32 bpp' when the masking information
  45. will be preserved as far as Image is concerned (other applications
  46. will ignore this information).
  47.  
  48. In order to maintain full information (full colour information and
  49. full masking information) you should save as a 32 bpp sprite. Note,
  50. however, many current (Risc OS 3.1) applications will not be able to
  51. read this sprite.
  52.  
  53.  
  54. Sprite Palettes
  55. ---------------
  56.  
  57. When loading a sprite, Image can (if requested) load the palette (if
  58. available) which goes with the palette into a special 'User Palette' which
  59. can be used for the display sprite (see 'Configuration').
  60.  
  61. The palette will automatically be loaded if the auto loading option is set in
  62. the configuration window - you can override this by holding down SHIFT when
  63. loading the file.
  64.  
  65. Alternatively, you can force the palette to be loaded into the user palette
  66. by holding down CTRL when loading the sprite.
  67.  
  68.  
  69. When saving a sprite the palette associated with it (either user palette or a
  70. grey scale palette) will be saved with the sprite.
  71.  
  72.  
  73. Saving JPEG files
  74. -----------------
  75.  
  76. Next to the JPEG option is a writable icon for specifying what 'quality'
  77. value to pass to the JPEG compressor. 
  78.  
  79. The quality value lets you trade off compressed file size against quality of
  80. the reconstructed image: the higher the quality setting, the larger the JPEG
  81. file, and the closer the output image will be to the original input. 
  82. Normally you want to use the lowest quality setting (smallest file) that
  83. decompresses into something visually indistinguishable from the original
  84. image. For this purpose the quality setting should be between 50 and 95; the
  85. default of 75 is often about right. If you see defects at a quality of 75,
  86. then go up 5 or 10 counts at a time until you are happy with the output
  87. image. (The optimal setting will vary from one image to another.)
  88.  
  89. A quality of 100 will generate a quantization table of all 1's, eliminating
  90. loss in the quantization step (but there is still information loss in
  91. subsampling, as well as roundoff error). This setting is mainly of interest
  92. for experimental purposes. Quality values above about 95 are NOT recommended
  93. for normal use; the compressed file size goes up dramatically for hardly any
  94. gain in output image quality.
  95.  
  96. In the other direction, quality values below 50 will produce very small files
  97. of low image quality. Settings around 5 to 10 might be useful in preparing an
  98. index of a large image library, for example.
  99.  
  100. JPEG loading and saving are handled by software from the 'Independent JPEG
  101. Group's  JPEG software' which has been altered to provide support for Image's
  102. own use.
  103.  
  104.  
  105.  
  106. ChangeFSI loading
  107. -----------------
  108.  
  109. If you have a copy of ChangeFSI you can get Image to use it for loading file
  110. formats that Image can't handle itself.
  111.  
  112. In fact if 'ChangeFSI' has been 'seen' by the filer then you need do nothing
  113. to use this facility, any file dragged to Image that Image can't handle
  114. itself will be passed to ChangeFSI to convert, and then Image will load the
  115. converted version.
  116.  
  117. You can also 'teach' Image about the location of 'ChangeFSI' so that it is
  118. not necessary to make sure that the filer has 'seen' it. To do this simply
  119. drag the '!ChangeFSI' application to any of Image's windows, then using the
  120. configuration window save your configuration, and the location of ChangeFSI
  121. will be saved as part of that configuration.
  122.  
  123. The configuration window contains an icon which shows the current location
  124. known for ChangeFSI and also an option icon marked 'New'. This option is used
  125. to tell Image whether the version of ChangeFSI you have is new sprite aware.
  126. If it is (ChangeFSI version 0.95 or later) then this option will cause
  127. ChangeFSI to use a 32 bpp sprite for transfer, otherwise a PPM file is used.
  128. If in doubt as to which version of ChangeFSI you have, you should not select
  129. this option. The advantage of setting this option is that loading will be
  130. faster.
  131.  
  132. ChangeFSI is supplied with RISC OS 3.1 on the RISC OS 3 support disc.
  133.