![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Forum Member Group: Members Posts: 19 Joined: 8-September 01 Member No.: 79 ![]() |
I'm writing a rexx script to convert RAW images to something a bit more accessible until PMView can access them directly using dcraw.exe. To save disk space I want to call PMView 3.10 to convert the PPM files to PNG. However, although the script designates that the target file should be PNG, what is generated is a BMP file.
If the script asks for a JPEG file, a JPEG file is generated. The PMView script is a temporary one generated by the REXX script in the f:tmp directory. It looks like this: PMView Script FileFormat;filetype=png OutputDir;dirname=;useoriginaldir=yes The command line to call PMView is e:optpmviewpmview.exe /scr=f:tmpunraw.pmview.PNG.scq f:dcimdirectorynamefilename.ppm Any ideas? Is this reproducible by anyone else? |
|
|
![]()
Post
#2
|
|
![]() Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 ![]() |
Teijo,
Change "filetype=png" to "filetype=PNG " (i.e. PNG all caps and with one trailing space). Then it should work fine. Thanks, -------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
![]()
Post
#3
|
|
![]() Forum Member Group: Admin Posts: 672 Joined: 14-March 00 From: Wilmington, North Carolina Member No.: 3 ![]() |
FWIW, the file format is always a 4 character combo, so for 3 letter formats there needs to be a trailing space.
-------------------- Peter Nielsen (peter@pmview.com) "If you can dream it, you can do it" JFK.
|
|
|
![]() ![]() |
Lo-Fi Version | Time is now: 30th April 2025 - 04:38 PM |