[Libpgf-devel] Progressive transmission
libPGF is an implementation of the Progressive Graphics File (PGF)
Brought to you by:
c_stamm
From: Thomas S. <th...@so...> - 2006-05-29 07:45:30
|
I notice that PGFImage::Read allows progressive loading in terms of levels. I'd like to know whether it would be possible, with the PGF format, to support spatially progressive loading as well. As I understand it, with JPEG 2000, it is merely a difference of reordering the encoded data. For instance, I might have an image with dimensions 4096x5120, but initially I'd like to just load a small rectangular region of the image, say the rectangular region {(0,0), (800, 600)}. In terms of API, I could imagine something like this: class PGFImage { public: void Read(int level = 0, const Region ®ion, CallbackPtr cb = NULL) THROW_; }; Would that be possible? Thomas |