Jump to content

Encode PNG into Adam7 Algorithm?

babadoctor

I would like to encode a png into adam7 algorithm.

https://en.wikipedia.org/wiki/Adam7_algorithm

I can't find anywhere how to do this...

Maybe someone here can help?

http://www.libpng.org/pub/png/book/chapter08.html#png.ch08.div.6

 

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, gabrielcarvfer said:

You will need to read a PNG, check it's interlace with png_get_ihdr, then use png_set_ihdr to change the PNG interlace type, then save the png.

 

You can find the steps to do that looking in their manual:

 

 

 

http://www.libpng.org/pub/png/libpng-1.2.5-manual.html

I don't follow.

Is there a way to do this through linux command line, and not through C as it suggests?

is C the only way?

I have libpng installed...

libpng-config --version
1.6.28

This is the output of running libpng-config --version

 

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
Share on other sites

Link to post
Share on other sites

Is there a program that does this?

OFF TOPIC: I suggest every poll from now on to have "**CK EA" option instead of "Other"

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×