Page 1 of 1

delete information "Tiff:document: /home/..."

Posted: 2009-12-22T07:42:14-07:00
by pierre77
hello,
I use ImageMagick 6.3.7 and I can't delete some informations about the image
when I convert a tif to a png

Code: Select all

 convert  img.tif -resize 200x200  -strip +profile "*" img.png
we can see with identify -verbose img.png

Code: Select all

Image: img.png
  Format: PNG (Portable Network Graphics)
  Class: DirectClass
  Geometry: 200x150+0+0
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    Red: 8-bit
    Green: 8-bit
    Blue: 8-bit
  Channel statistics:
    Red:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 101.13 (0.396588)
      Standard deviation: 95.3474 (0.373912)
    Green:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 86.5846 (0.339547)
      Standard deviation: 90.2818 (0.354046)
    Blue:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 80.0555 (0.313943)
      Standard deviation: 85.3584 (0.334739)
  Rendering intent: Undefined
  Resolution: 28.32x28.32
  Units: PixelsPerCentimeter
  Filesize: 40.9199kb
  Interlace: None
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Page geometry: 200x150+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Zip
  Orientation: Undefined
  Signature: d867d0d264ba1a19eac593427466853908620b23cb90071922694a715ce3e348
  Tiff:document: /home/pierre/.gimp-2.6/tmp/gimp-temp-127393.tif
  Tiff:rows-per-strip: 64
  Tainted: False
  Version: ImageMagick 6.3.7 06/04/09 Q16 http://www.imagemagick.org
How I Do to delete "Tiff:document: /home/pierre/.gimp-2.6/tmp/gimp-temp-127393.tif"
thanks

Re: delete information "Tiff:document: /home/..."

Posted: 2009-12-22T07:55:44-07:00
by magick
Add +set tiff:rows-per-strip to your command line to delete this property.

Re: delete information "Tiff:document: /home/..."

Posted: 2009-12-22T12:07:19-07:00
by pierre77
Thanks, it works fine
with "+set tiff:document" and "+set tiff:rows-per-strip"