Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

PHP Upload and Image Processing

What library do you prefer for image upload and processing/resize?  GD? ImageMagick? in the browser via a Javascript library? something else?
0
Scott Fell,  EE MVE
Asked:
Scott Fell,  EE MVE
  • 2
  • 2
1 Solution
 
Julian HansenCommented:
Currently looking hard at JQuery Upload (blueimp.github.io/jQuery-File-Upload/¿) for doing the actual uploading.

Processing IM is pretty much what I use when I can't convince the client that recreating Photoshop in a web interface is not a great idea and rather to do image editing local before upload.
Not much between IM and GD performance / functionality wise - but I prefer the IM coding - less cluttered.

If I do have to do it then I use a JQuery crop tool to collect cropping data in browser and AJAX it back to server for processing.
0
 
Scott Fell, EE MVEDeveloper & EE ModeratorAuthor Commented:
I have been using IM in classic asp for years and converting to php.   Just came across this http://camanjs.com and I am sure there are others.   I have seen blueimp but have not tried it.  

I like the demo http://camanjs.com/examples/, then just add the ability to crop and size and bring the quality down a bit for file size.  Then just use serverside for the upload.  

I am having an issue with IM on Windows2012 at the moment.
0
 
Julian HansenCommented:
From what I have read - using GD is not really much of a step back. Might be worth testing it and if it works on Win2012 then go with that.

If I could have back all the hours Microsoft has taken from me with its nonesense I could take a couple years vacation.
0
 
Scott Fell, EE MVEDeveloper & EE ModeratorAuthor Commented:
The good news with MS this week is no worries about the heartbleed bug http://heartbleed.com/.  So there is that...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now