Find Jobs
Hire Freelancers

ImageMagick Internal Server Error help needed

$5-10 USD

Cancelled
Posted about 13 years ago

$5-10 USD

Paid on delivery
I have the following code in my script: **$x11 = $image->Resize(width=>$MIwidth, height=>$MIheight);** it works fine. However, from time to time (on the same image) it returns 500 iternal server error. The image is big (JPG, over 3Mb, over 3000px in width). I have tried to catch an excpetion with next line: **warn "$x11" if "$x11";** But the script never comes to that line, always fails before, on resize command. Server error log shows Permature end of script headers. I have tried to put resize command inside **eval {};** block, but no luck - 500 error anyway! I have tried to **Minify** an image before Resize, but it fails on Minify command. However, minifying image before resizing will reduce the number of error occurencies! But, anyway, error comes up on minify sometimes! NOTE: my script working fine. One image can be processed succesfully few times and few times with error, the same image, the same script. Whats the problem? PLEASE HELP!
Project ID: 3321742

About the project

1 proposal
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $9 USD for this job
User Avatar
See private message.
$8.50 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of EGYPT
Egypt
4.9
22
Member since Nov 20, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.