win2pdfd.exe compress "sourcefile" compressratio "destfile"
Compress JPEG images using JPEG2000. The “compressratio” is a number, usually 10-100 that determines the amount of compression. Other images in the document are unchanged.
Any file names that contain spaces must be enclosed with quotation marks.
Returns 0 on success, and a Windows system error code on failure.