Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Looks like the command for jpegtran is slightly different from *nix.
I've got the binaries from here: http://jpegclub.org/jpegtran/ (Other sources as well because I wanted to get the older version to cross check)
The command looks like this:
jpegtran[switches] inputfile outputfile
You have to declare outputfile
Proposed resolution
Check for the OS and use the required command.
Remaining tasks
Reviews needed.
User interface changes
None.
API changes
None.
Comment | File | Size | Author |
---|---|---|---|
imageapi_optimize-windows-specific-jpgtran-command.patch | 669 bytes | das-peter | |
Comments
Comment #1
mstrelan CreditAttribution: mstrelan commentedPatch works for me.
Comment #3
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedThanks very much for the patch, and the review!