Feature Requests item #1210126, was opened at 2005-05-27 19:45
Message generated for change (Comment added) made by lsolesen
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Martin Geisler (mgeisler)
Summary: parsing method

Initial Comment:
Why does the current implementation require reading the
entire image file into memory? Surely it'd be a lot
less memory intensive if it could read and parse the
tag bit by bit.


>Comment By: Lars Olesen (lsolesen)
Date: 2010-12-06 12:36

Reopen at https://github.com/lsolesen/pel/issues if it is still an issue?


Comment By: Martin Geisler (mgeisler)
Date: 2005-05-27 21:20

Logged In: YES 

Both the PelJpeg and PelTiff loadFile() methods use the
file_get_contents() function in PHP, which is supposed to
use memory mapping to read the file into memory --- or
rather avoid doing so unless needed.

But writing a small test program shows that this doesn't
work the way I thought: PHP seems to load the entire file at
once instead of waiting until needed.  Too bad, but then I
guess I'll have to change the PelDataWindow so that it can
load just the bytes it need.

Thanks for reporting this.


You can respond by visiting: 

What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
PEL-devel mailing list

Reply via email to