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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
pierre77

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Add +set tiff:rows-per-strip to your command line to delete this property.
pierre77

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

Post by pierre77 »

Thanks, it works fine
with "+set tiff:document" and "+set tiff:rows-per-strip"
Post Reply