Re: Reading only RGB portion of an image, file_get_conents minus file headers etc

From: Date: Tue, 24 Jan 2012 02:29:40 +0000
Subject: Re: Reading only RGB portion of an image, file_get_conents minus file headers etc
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-316384@lists.php.net to get a copy of this message
Have you done image processing? In my experience, with image generation, photography and processing, typically you are bound by resources when processing large amount of files than your connection, or sometimes even disk io. -- The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.  ~Seymour Cray On Mon, Jan 23, 2012 at 7:51 PM, Robert Cummings <robert@interjinn.com> wrote: > On 12-01-23 01:32 PM, Alex Nikitin wrote: >> >> If you don't mind me asking, if you want performance, which is kind of >> essential if you are processing a large number of files, why are you >> doing it in PHP? >> >> -- >> The trouble with programmers is that you can never tell what a >> programmer is doing until it’s too late.  ~Seymour Cray > > > Hi Alex, > > If you're processing a large number of files, the bottleneck could just as > likely be the hard drive read/write and not so much PHP. And what's a large > number of files? 50? 100? 1000? 1000000? Remember, PHP internal functions > are usually wrappers around compiled C code... the shuffling around in the > PHP engine itself can be quite tiny. > > Cheers, > Rob. > -- > E-Mail Disclaimer: Information contained in this message and any > attached documents is considered confidential and legally protected. > This message is intended solely for the addressee(s). Disclosure, > copying, and distribution are prohibited unless authorized.

« previous php.general (#316384) next »