Page 2 of 2
Posted: Mon Jan 14, 2008 10:25 am
by srod
Yes, I do apologise.
Having now tracked down the original article which led to my confusion; I was mistaking NPFS (non-paged file system) for NTFS !!!
Doh!
@Trond : sorry lad!

Posted: Mon Jan 14, 2008 4:35 pm
by Psychophanta
Anyway, it is hard to believe that headers or chunks info have nothing to say about the data length of the picture.

Posted: Mon Jan 14, 2008 4:50 pm
by superadnim
They do, you just misread the whole thing... He doesn't want to encode the images just to grab the size from the header or file itself, he wants to pre-calculate this information and the suggested method would be to use a pipe as a bridge to speed up the process, however you guys overlooked that most of the encoding time is lost on the processing of the raw data into the new format rather than in i/o operations.
You can't really estimate sizes for JPEG to any usable extent because of the nature of this lossy format. Same would go for any compression-enabled encoder, because you must analyze the data before you can perform assumptions with it.