Search found 37 matches

by davidb2002
2016-03-07T08:51:46-07:00
Forum: IMagick
Topic: Insufficient memory (case 4) @ error/jpeg.c/JPEGErrorHandler/297
Replies: 2
Views: 4087

Insufficient memory (case 4) @ error/jpeg.c/JPEGErrorHandler/297

My server was recently updated to ImageMagick 6.7.2-7 2015-07-23 Q16. After this, I have noticed a few large files have trouble running some resizing commands which worked fine previously. Upon catching the errors, I get this: Insufficient memory (case 4) /my/image/file/big-photo.jpg @ error/jpeg.c/...
by davidb2002
2016-03-03T06:23:50-07:00
Forum: IMagick
Topic: IMagick PHP version of Label - Simple Text Label
Replies: 1
Views: 3859

IMagick PHP version of Label - Simple Text Label

I want to create a simple image which only contains text. Similar to this: http://www.imagemagick.org/Usage/text/#label However, I'd like to keep it within php's Imagick. I know the font size, and I want the canvas size to fit to the font size, like it does in the xample. Unfortunalty, I don't see a...
by davidb2002
2016-02-24T04:56:21-07:00
Forum: IMagick
Topic: Translate IM's unsharpMaskImage() to VIPS's vips_sharpen()
Replies: 0
Views: 5896

Translate IM's unsharpMaskImage() to VIPS's vips_sharpen()

I'm currently using ImageMagick to resize and sharpen images. I'm now moving to VIPS due to performance reasons and the need for a quick, on the fly resizer. I use imageMagick's unsharpMask (http://php.net/manual/en/imagick.unsharpmaskimage.php) feature to sharpen a photo after resizing it. I'm curr...
by davidb2002
2015-03-13T06:47:40-07:00
Forum: MagickWand for PHP
Topic: Best Practices for Reducing JPEG File Size
Replies: 2
Views: 17898

Re: Best Practices for Reducing JPEG File Size

I have noticed that reducing it down to 95 almost halves the file size. Which is great.

seeing that my project is for professional photographers, the quality of the photo is extremely important.
by davidb2002
2015-03-13T06:17:51-07:00
Forum: MagickWand for PHP
Topic: Best Practices for Reducing JPEG File Size
Replies: 2
Views: 17898

Best Practices for Reducing JPEG File Size

I'm looking for the best practices for reducing jpeg file size for photos. A couple of things to consider: 1) I need to keep EXIF information in-tact. I know this can shave a bit off the filesize, but I need to keep it in this case. 2) Image quality has to be practically perfect to the original I've...
by davidb2002
2014-09-23T11:35:35-07:00
Forum: IMagick
Topic: [notice] Parent: child process exited with status 255 -- Res
Replies: 0
Views: 3888

[notice] Parent: child process exited with status 255 -- Res

I'm having a problem trying to load a local image into Image Magick and thus troubleshooting a timeout (no returned error) issue and have found that it occurs when I run the following: <?php $image = new Imagick('C:/wamp/www/mysite/files/1411326295.jpg'); ?> Here are some details regarding my setup:...
by davidb2002
2013-03-19T09:08:03-07:00
Forum: Users
Topic: Best Unsharp Mask settings after resizing photos
Replies: 17
Views: 24917

Re: Best Unsharp Mask settings after resizing photos

Understood. But what are the BEST settings to use when applying an unsharp mask to photos that have been resized?
by davidb2002
2013-03-19T02:36:40-07:00
Forum: Users
Topic: Best Unsharp Mask settings after resizing photos
Replies: 17
Views: 24917

Best Unsharp Mask settings after resizing photos

Hi guys, I'm resizing photos uploaded to a photography gallery and have thus applied an unsharp mask to attempt to perserve the photos original sharpness. The settings I use are: radius: 0 sigma: 0.5 amount: 1 threshold: 0.05 I have noticed in some cases that photos are appearing over sharpened. Par...
by davidb2002
2012-05-22T13:00:41-07:00
Forum: Users
Topic: Upgrade DCRaw
Replies: 1
Views: 3731

Upgrade DCRaw

From what I understand, imagemagick uses dcraw to convert raw files. Is there a way to upgrade the version of dcraw imagemagick uses so it's up-to-date?
by davidb2002
2012-05-11T13:56:47-07:00
Forum: Users
Topic: raw to JPEG conversion
Replies: 3
Views: 9032

raw to JPEG conversion

I am working on a PHP application which will allow users to upload raw camera files and I would like to convert them to jpeg. Is there a way to do this with ImageMagick (or perhaps something else?).
by davidb2002
2012-05-03T02:16:53-07:00
Forum: IMagick
Topic: General Web Optimisation
Replies: 2
Views: 8050

General Web Optimisation

I manage a photography website which has a user gallery. When someone uploads a photo we check if it is the correct size. If it isn't we resize it down using the following code: //don't touch density $set_density = 0; $image = new Imagick($temp); if($square == 0) { $image->scaleImage($width,$height,...
by davidb2002
2012-03-26T07:17:55-07:00
Forum: IMagick
Topic: identifyImage() and connection reset
Replies: 0
Views: 4123

identifyImage() and connection reset

Using ImageMagick 6.2.8 I've come across an odd problem with the following code: $image = new Imagick($real_location); $ident = $image->identifyImage(); $format = $ident['colorSpace']; In most cases, this is fine. But on some photos it resets the connection and basically makes it look like the page ...
by davidb2002
2012-02-17T03:30:04-07:00
Forum: Users
Topic: Best ImagMagick resize settings for resizing photos
Replies: 2
Views: 10017

Best ImagMagick resize settings for resizing photos

I have been using the following imagmagick command for quite sometime. However, we have noticed there is some blur from it and would like to sharpen the result. -resize "1000x1000>" -quality 100 So, we would like to know what is the best way to resize photos that may be quite large down to 1000pixel...
by davidb2002
2010-03-31T09:08:53-07:00
Forum: Users
Topic: Best command for resizing large pics for highest quality.
Replies: 16
Views: 34958

Re: Best command for resizing large pics for highest quality

The trouble is that I need to not only replicate as close as I can to photoshop, but also keep filesize as small as possible too. So therefore we have added -strip for that reason. However, it's still much much bigger than a photoshoped version. Any recommendatiosn on reducing filesize without reduc...
by davidb2002
2010-03-22T04:30:26-07:00
Forum: Users
Topic: Best command for resizing large pics for highest quality.
Replies: 16
Views: 34958

Re: Best command for resizing large pics for highest quality

Here are some examples. Photoshop resize and save @ 100% http://www.supadupawebdesign.co.uk/images/original_testshot.jpg IM: origina.jpg -strip -resize 600x600 -quality 100 new.jpg http://www.supadupawebdesign.co.uk/images/52194_1269256674.jpg Notice the differences in the Reds (particuarly, the red...