cropping 16-bit (12-bit) png

View: New views
4 Messages — Rating Filter:   Alert me  

cropping 16-bit (12-bit) png

by de Almeida, Valmor F. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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)



_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: cropping 16-bit (12-bit) png

by David Hodson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?


--
David Hodson  --  this night wounds time
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: cropping 16-bit (12-bit) png

by de Almeida, Valmor F. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> 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
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@...
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Re: cropping 16-bit (12-bit) png

by Joao S. O. Bueno Calligaris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
        -><-


_______________________________________________
Gimp-user mailing list
Gimp-user@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
LightInTheBox - Buy quality products at wholesale price