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. The "sourcefile" can be a local file path, or an web address (URL) to an existing PDF.
Returns 0 on success, and a Windows system error code on failure.