RSS/Atom feed Twitter
Site is read-only, email is disabled

cropping 16-bit (12-bit) png

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

cropping 16-bit (12-bit) png de Almeida, Valmor F. 11 Jul 05:58
  cropping 16-bit (12-bit) png David Hodson 11 Jul 06:34
   cropping 16-bit (12-bit) png de Almeida, Valmor F. 11 Jul 07:42
   cropping 16-bit (12-bit) png Joao S. O. Bueno 11 Jul 23:27
de Almeida, Valmor F.
2008-07-11 05:58:21 UTC (over 15 years ago)

cropping 16-bit (12-bit) png

Hello,

I am trying to read and crop a 16-bit png image. The info I get from imagemagick's identify follows below. Once loaded into gimp, the image appears to be a 8-bit. After cropping and saving as png, it turns out to be 8-bit according to imagemagick;s identify (info below).

Is there a way to use gimp to read, crop, and save the image with same bit depth? If not, is there an alternative package I could use? Suggestions appreciated.

Thanks,

-- Valmor

->identify -verbose frm_1.png Image: frm_1.png
Format: PNG (Portable Network Graphics) Class: PseudoClass
Geometry: 1024x1024+0+0
Type: Grayscale
Endianess: Undefined
Colorspace: Gray
Depth: 16-bit
Channel depth:
Gray: 12-bit
Channel statistics:
Gray:
Min: 0 (0)
Max: 2004 (0.489265)
Mean: 1151.32 (0.281088)
Standard deviation: 215.652 (0.0526502) Colormap: 65536

->identify -verbose cropped.png Image: cropped.png
Format: PNG (Portable Network Graphics) Class: PseudoClass
Geometry: 121x96+0+0
Type: Grayscale
Endianess: Undefined
Colorspace: Gray
Depth: 8-bit
Channel depth:
Gray: 8-bit
Channel statistics:
Gray:
Min: 61 (0.239216)
Max: 91 (0.356863)
Mean: 73.449 (0.288035)
Standard deviation: 3.58719 (0.0140674)

David Hodson
2008-07-11 06:34:24 UTC (over 15 years ago)

cropping 16-bit (12-bit) png

de Almeida, Valmor F. wrote:

I am trying to read and crop a 16-bit png image. The info I get from imagemagick's identify follows below. Once loaded into gimp, the image appears to be a 8-bit. After cropping and saving as png, it turns out to be 8-bit according to imagemagick;s identify (info below).

Is there a way to use gimp to read, crop, and save the image with same bit depth?

Not with the current version, no.

If not, is there an alternative package I could use?

Why not use ImageMagick?

de Almeida, Valmor F.
2008-07-11 07:42:48 UTC (over 15 years ago)

cropping 16-bit (12-bit) png

Why not use ImageMagick?

It is my fall-back position now; but no gui-based, advanced selection tools.

Thanks,

--
Valmor

--
David Hodson -- this night wounds time

Joao S. O. Bueno
2008-07-11 23:27:46 UTC (over 15 years ago)

cropping 16-bit (12-bit) png

On Friday 11 July 2008, David Hodson wrote:

de Almeida, Valmor F. wrote:

I am trying to read and crop a 16-bit png image. The info I get from imagemagick's identify follows below. Once loaded into gimp, the image appears to be a 8-bit. After cropping and saving as png, it turns out to be 8-bit according to imagemagick;s identify (info below).

Is there a way to use gimp to read, crop, and save the image with same bit depth?

Not with the current version, no.

If not, is there an alternative package I could use?

Why not use ImageMagick?

DOH!
Because to _crop_ a image in ImageMagick, one would have to open it in a graphic program, measure the points where he wants the crop to occur, write down the parameters and then issue the command to do so.

Seems a good reason for me.

Valmor, if you need 16bpp you should use either Krita or cinepaint. (Beware that instaling cinepaint may brake gimp-python scripting system)

js
->