question about rowbytes and PNG_TRANSFORM_STRIP_16

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

question about rowbytes and PNG_TRANSFORM_STRIP_16

by Steve Mills :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(Oops, sent it from the wrong account before.)

If I use png_set_strip_16 when reading a file, is there ever a time  
when png_infop.rowbytes will reflect the stripped 8-bit rowbytes, or  
will it always be the actual 16-bit rowbytes?

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
png-mng-implement mailing list
png-mng-implement@...
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

Re: question about rowbytes and PNG_TRANSFORM_STRIP_16

by Steve Mills :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 30, 2009, at 11:55:22, Steve Mills wrote:

> If I use png_set_strip_16 when reading a file, is there ever a time
> when png_infop.rowbytes will reflect the stripped 8-bit rowbytes, or
> will it always be the actual 16-bit rowbytes?

Oh never mind. I was neglecting to call png_read_update_info. That  
fixed it.

Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
png-mng-implement mailing list
png-mng-implement@...
https://lists.sourceforge.net/lists/listinfo/png-mng-implement

Re: question about rowbytes and PNG_TRANSFORM_STRIP_16

by Glenn Randers-Pehrson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 30, 2009 at 1:36 PM, Steve Mills <sjmills@...> wrote:

> Oh never mind. I was neglecting to call png_read_update_info. That
> fixed it.

OK

> Steve Mills
> Drummer, Mac geek

My son who lives in my basement is a (an amateur) drummer...

Glenn

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
png-mng-implement mailing list
png-mng-implement@...
https://lists.sourceforge.net/lists/listinfo/png-mng-implement