Re: PNG Adam7 Interlacing implementation

Randy via png-mng-implement <png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> Mon, 03 Sep 2018 17:19:00 +0000
Newsgroups gmane.comp.graphics.png.devel
Message-ID <21ujyqrHgdimqJp8lNys1HdCR5DaoHBPx8LMkvGiymGntFnOPUxfZ99Etwb_KPgUB28I0ACO8P0HF54kI-AXtzaJgr9IEy7S6fDWXDYq4gQ=@protonmail.com>
You can interlace images from 1x1 and up but you may end up with less than 7 reduced images.
See here https://gitlab.com/randy408/libspng/blob/370a354711f286298edb922175f7a76d3a9831d2/decode.c#L1262 how reduced image dimensions are calculated, any reduced image that ends up with a width or height of zero is called an empty pass.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
png-mng-implement mailing list
png-mng-implement-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/png-mng-implement