Short: Convert pictures using SViewIV 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.5 (22.01.2000) Note: It will only work with a registered version of SViewNG/SViewII/SViewIV. 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 SViewIV, but could be changed to use SViewNG or SViewII, 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: 1. Run the Install script. 2. Copy SVConvert.dopus5 to DOpus5:Arexx/ SViewII.buttons and SViewII.menu to DOpus5:Buttons/ Libs/#?.library to Libs: catalog/#? to DOpus5:catalogs/ Before using you will have to amend the script giving it the location of SViewIV/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, SVG or . Read the Superview-Library.guide for further information on graphic formats supported by SViewIV/SViewNG/SViewII. Both a button bank (SViewII.buttons) and Start Menu (SViewII.menu) have been supplied as an examples on how to use it. Thought I run it from one of my User Menus. 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 -------- ------- ----- --------- -------- ------------- 904 512 43.3% 16-Jan-00 15:48:38 +SVConvert.catalog 1227 622 49.3% 30-Dec-99 16:19:02 +SVConvert.cd 1114 544 51.1% 30-Dec-99 16:19:08 +SVConvert.ct 2611 717 72.5% 22-Jan-00 20:06:10 Install 1910 1052 44.9% 03-Jan-00 17:09:44 Install.info 54172 28259 47.8% 03-Feb-98 15:08:58 +triton.library 58028 22047 62.0% 23-Dec-95 16:31:56 +tritonrexx.library 24677 6138 75.1% 22-Jan-00 19:19:34 SVConvert.dopus5 4249 1669 60.7% 22-Jan-00 19:31:44 svconvert.history 2285 1146 49.8% 22-Jan-00 20:09:16 svconvert.readme 1160 273 76.4% 01-Apr-99 20:17:26 SViewII.buttons 1718 342 80.0% 28-Dec-99 11:56:18 SViewII.menu 1724 352 79.5% 16-Jan-00 15:27:40 SViewII_de.menu 1634 829 49.2% 23-Jan-00 13:55:36 +deutsch.ct -------- ------- ----- --------- -------- 157413 64502 59.0% 24-Jan-100 00:39:04 14 files