We need to merge a lot of raster maps (in pairs) using Descartes 2004, producing JPG+JGW output files.We have implemented a batch MDL/C++ procdeure sending Descartes Commands in synchronized mode, for instance:IMGTRANSFORM OUTPUTFILE SETNAME f:\home_prj\mergeRaster\prova5.jpgIMGTRANSFORM DIALOGRUN SETOFFIMGTRANSFORM MERGE SETMETHOD MERGE IMGTRANSFORM MERGE SETSOURCEPOLY 0 4000000IMGTRANSFORM MERGE RUNWe also need to control the Compression Factor of the resulting Jpeg file through the CommandIMGTRANSFORM OUTPUTFILE SETCOMPRESSION ??? In the Interactive Dialog Box the Compression Option Button suggestsJPEG Minimum/Low/Medium/High Lossand we have to know the corresponding parameter to pass to SETCOMPRESSION command
Thanks, Alessandra
Hi Alessandra,
Here are the five different values available for the JPEG compression, the last four ones allowing you to specify the amount of loss (i.e. : the amount of compression) of the JPEG compression.
JPEG
MINLOSS
LOWLOSS
MEDLOSS
HIGHLOSS
Thanks,
Mathieu
Thanks for your answer Mathieu,
Alessandra