Edit detail for GraphicsMagick Tips revision 1 of 1

1
Editor: 10.1.0.1
Time: 2005/12/29 00:02:15 GMT+0
Note:

changed:
-
by Robin Rowe 11/10/05

"Up":http://cinepaint.bigasterisk.com/GlasgowDocumentation

DOS Batch File 

 convert.bat::

  FOR %%F IN (*.*) DO gm convert -quality 90 "%%F" "convert/%%F.jpg"

Test File Integrity (from Bob Friesenhahn)

 * Extended the GM 1.2 development version a bit so a command like "gm identify +ping filename" can be used to force reading the entire file.  This is a good way to test for errors.  Normally only the file header is read if possible. (This feature is not in 1.1.7.)

Example::

 % gm identify +ping grace-tongue-out.jpg 
 grace-tongue-out.jpg JPEG 7400x7560+0+0 DirectClass 8-bit 17.3m 8.460u 0:09 (6.3m pixels/s) 

by Robin Rowe 11/10/05

Up

DOS Batch File

convert.bat:

  FOR %%F IN (*.*) DO gm convert -quality 90 "%%F" "convert/%%F.jpg"

Test File Integrity (from Bob Friesenhahn)

  • Extended the GM 1.2 development version a bit so a command like "gm identify +ping filename" can be used to force reading the entire file. This is a good way to test for errors. Normally only the file header is read if possible. (This feature is not in 1.1.7.)

Example:

 % gm identify +ping grace-tongue-out.jpg 
 grace-tongue-out.jpg JPEG 7400x7560+0+0 DirectClass 8-bit 17.3m 8.460u 0:09 (6.3m pixels/s)