3
# DP: Manpage update for jpegtran -crop
6
-patch) patch -f --no-backup-if-mismatch -p1 < $0;;
7
-unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
9
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14
diff -urNad /home/bill/debian/libjpeg/libjpeg6b-6b/jpegtran.1 libjpeg6b-6b/jpegtran.1
15
--- /home/bill/debian/libjpeg/libjpeg6b-6b/jpegtran.1 2003-09-22 18:46:08.000000000 +0200
16
+++ libjpeg6b-6b/jpegtran.1 2003-09-22 18:49:06.000000000 +0200
21
+If you are only interested by perfect transformation, add the
26
+Fails with an error if the transformation is not perfect. For example
29
+.B (jpegtran \-rot 90 -perfect foo.jpg || djpeg foo.jpg| pnmflip \-r90 | cjpeg)
30
+to do a perfect rotation if available or an approximated one if
33
+We also offer a lossless-crop option, which discards data outside a given
34
+image region but losslessly preserves what is inside. Like the rotate and
35
+flip transforms, lossless crop is restricted by the JPEG format: the upper
36
+left corner of the selected region must fall on an iMCU boundary. If this
37
+does not hold for the given crop parameters, we silently move the upper left
38
+corner up and/or left to make it so, simultaneously increasing the region
39
+dimensions to keep the lower right crop corner unchanged. (Thus, the
40
+output image covers at least the requested region, but may cover more.)
46
+are enhancements from http://sylvana.net/jpegcrop/ that may not be available on
49
+The image can be losslessly cropped by giving the switch:
52
+Crop to a rectangular subarea of width W, height H starting at point X,Y.
55
Another not-strictly-lossless transformation switch is:
60
The transform options can't transform odd-size images perfectly. Use
62
-if you don't like the results without it.
65
+if you don't like the results.
67
The entire image is read into memory and then written out again, even in
68
cases where this isn't really necessary. Expect swapping on large images,