mons / image-jpegtran Goto Github PK
View Code? Open in Web Editor NEWXS wrapper around lossless JPEG transformation utility - jpegtran
Home Page: http://search.cpan.org/dist/Image-JpegTran
License: Other
XS wrapper around lossless JPEG transformation utility - jpegtran
Home Page: http://search.cpan.org/dist/Image-JpegTran
License: Other
NAME Image::JpegTran - XS wrapper around lossless JPEG transformation utility - jpegtran SYNOPSIS use Image::JpegTran ':all'; jpegtran 'source.jpg','result.jpg', rotate => 90, trim => 1, perfect => 1; jpegtran 'source.jpg','result.jpg', transpose => 1; jpegtran 'source.jpg','result.jpg', transverse => 1; jpegtran 'source.jpg','result.jpg', flip => 'horizontal'; jpegautotran 'source.jpg'; # automaticallty rotate image if DESCRIPTION Use lossless jpeg transformations, like when using "jpegtran" utility, from Perl OPTIONS copy => 'none' Copy no extra markers from source file copy => 'comments' Copy only comment markers copy => 'exif' Copy only EXIF marker copy => 'all' Copy all extra markers (comments, EXIF, etc) (default) discard_thumbnail => 0 | 1 Discard thumbnail from EXIF (default = 1) optimize => 0 | 1 Optimize Huffman table (smaller file, but slow compression), default = 0 progressive => 0 | 1 Create progressive JPEG file (default = 0) grayscale => 0 | 1 Reduce to grayscale (omit color data) (default = 0) flip => 'horizontal' | 'h' | 'vertical' | 'v' Mirror image (left-right or top-bottom) rotate => 90 | 180 | 270 Rotate image (degrees clockwise) transpose => 1 Transpose image (flip-h + rotate 270) transverse => 1 Transverse image (flip-h + rotate 90) trim => 1 Drop non-transformable edge blocks (after this, any transformation on resulting image would be perfect) perfect Fail if there is non-transformable edge blocks maxmemory => N Maximum memory to use (in kbytes) arithmetic => 1 Use arithmetic coding -restart N Set restart interval in rows, or in blocks with B -verbose or -debug Emit debug output -scans file Create multi-scan JPEG per script file AUTHOR Mons Anderson, <[email protected]> COPYRIGHT AND LICENSE The main part of this module is copyright (C) 1991-2010 The Independent JPEG Group's JPEG software Thomas G. Lane, Guido Vollbeding. See README.IJG POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 58: Unknown directive: =over4 Around line 60: '=item' outside of any '=over'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.