Lines Matching refs:memory
117 … is usually faster than GD functions; if false only use ImageMagick if PHP memory limit is too low.
134 // source images (>2Mpx) and low PHP memory limits. If PHP runs out of memory the script will usual…
135 …, multiply the dimensions of the largest image you can process with your memory limitation (e.g. 1…
136 // As a general guideline, this number will be about 20% of your PHP memory configuration, so 8M = …
138 …// memory_get_usage() will only be defined if your PHP is compiled with the --enable-memory-limit …
139 $PHPTHUMB_CONFIG['max_source_pixels'] = 0; // no memory limit
141 // calculate default max_source_pixels as 1/6 of memory limit configuration
143 //$PHPTHUMB_CONFIG['max_source_pixels'] = 0; // no memory limit
144 …source_pixels'] = 1920000; // allow 1600x1200 images (2Mpx), no larger (about 12MB memory required)
145 //$PHPTHUMB_CONFIG['max_source_pixels'] = 2795000; // 16MB memory limit
146 …source_pixels'] = 3871488; // allow 2272x1704 images (4Mpx), no larger (about 24MB memory required)