Short: Convert pictures using SViewII and Dopus Author: wayne@zahadum.u-net.com (Wayne Newark) Uploader: wayne@zahadum.u-net.com (Wayne Newark) Type: biz/dopus $VER: SVConvert.dopus5 1.2 (17.08.99) Note: It will only work with a registered version of SViewNG/SViewII. Minor update: Changed my Email address and added ability to use either German or English in requestors (thanks to Oliver Molz for the translations). Description: Whilst using DOpus Magellan have you ever required the need to convert a large number of picture files from one format to another. This script uses SViewII, but could be changed to use SViewNG, to perform the necessary file conversions. As I wrote this script I decided to use it as an exercise in the use of multiple source and destination listers. Therefore SVConvert.dopus5 will process all the selected picture files from all the source listers it finds, converting them and then saving the results into all the destination listers. As part of the conversion process the files are renamed. It does this by stripping off all text after the last '.' and appending an appropriate suffix. Example: Converting to PNG - Pic1.iff becomes Pic1.PNG Converting to JPEG - Pic2.gif becomes Pic2.JPG Installation: Copy SVConvert.dopus5 to DOpus5:Arexx/ SViewII.buttons and SViewII.menu to DOpus5:Buttons/ Before using you will have to amend the script giving it the location of SViewNG/SViewII and setting up the appropriate ARexx port name. Usage: ARexx DOpus5:ARexx/SVConvert.dopus5 {Qp} format* * At present this is limited to: JPEG, BMP, PNG, DEEP, PCX, ILBM, PBM, RGFX, TIFF and SVG. Read the Superview-Library.guide for further information on graphic formats supported by SViewNG/SViewII. Both a button bank (SViewII.buttons) and Start Menu (SViewII.menu) have been supplied as an examples on how to use it. Distribution: Freeware. Feel free to email me if you have any suggestions for improvements or you find an error. I give permission for the script to be put onto magazine cover-discs, software compilation discs, the DOpus Plus CD or the SView CD, as long as the text files in the archive accompanies it. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 1160 273 76.4% 01-Apr-99 20:17:26 SViewII.buttons 2254 1138 49.5% 17-Aug-99 20:27:48 svconvert.readme 15424 4275 72.2% 21-Aug-99 12:12:32 SVConvert.dopus5 3067 1233 59.7% 21-Aug-99 12:21:18 svconvert.history 2346 382 83.7% 21-Aug-99 12:49:38 SViewII.menu -------- ------- ----- --------- -------- 24251 7301 69.8% 22-Aug-99 22:01:26 5 files