From: Lluís Batlle i Rossell <viriketo@gm...> - 2010-10-30 22:40:37
I'm trying to make a program that will not decode full pictures into a single
big JSAMPARRAY. So if the user wants to see only 10% of the lines, then I want
to be able to decode 10% of the lines.
I've tried to set output_scanline to something bigger than zero, but that looks
like making zero effect - the lines I get with jpeg_read_scanline start from 0
regardless of the initial output_scanline value.
What can I do to get only some specific scanlines decoded?
I'm using libjpeg-8.