assigning a bit depth other than 8, 16, or 32
Moe Goldberg <[email protected]> Wed, 23 Apr 2008 16:21:05 -0400
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure whether this qualifies as a bug, or maybe a request for a feature. I am trying to write a dpx file using GraphicsMagick, and I can't because I can't set the bit depth to 10 by calling myimg.depth(10) (it rounds it up to 16). This behaves exactly as documented, but it prevents my image from being written properly to dpx. I tried commenting out the part of the code that rounds 10 up to 16, and it wrote my image correctly. It would be nice if the depth method had an optional flag called round (or something similar). If round is true (which would be the default behaviour) it will behave as it currently does, if round is set to false, then you can set depth to any value that you want. Thanks -MG ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone