Reputation: 21726
I know that libJPEG
can read not the whole image, using jpeg_read_scanlines
.
Does libPNG
have such opportunity? I see only png_read_png
method.
Upvotes: 1
Views: 263
Reputation: 75906
Did you look at png_read_row()
and png_read_rows()
?
Bear in mind that this could have complications if the PNG is interlaced.
Upvotes: 2