Jump to content

How do I include a photoshop droplet in my php code?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
noel

noel

    Newbie

  • Members
  • PipPip
  • 11 posts
Hi I would like to include a photoshop droplet into my php script so it will convert all jpegs back into a basic jpeg format. But I am having trouble working out the right question to search with :) this is the basic idea
1. user uploads photo
2. photo goes to temp folder
3. droplet takes photo runs droplet script sends converted image/s to temp folder and overwriting old image
4. photo is taken from this folder and is resized and saved to image another folder for that sized image
5. temp folder image/s deleted
thank you

#2
Arctic Fire

Arctic Fire

    Learning Programmer

  • Members
  • PipPipPip
  • 48 posts
I don't think I understand what you're after. You want to convert jpegs to jpegs?

Take a look at the GD or ImageMagick functions in php.

#3
noel

noel

    Newbie

  • Members
  • PipPip
  • 11 posts
Yes and no lol i want to convert jpegs that have been enhanced with extra feachures with a photo editor back to standard jepg format. i.e you can make a jpeg load in 3 stages with photoshop the first is really just out of focus color, the second is grainy and third is full high qualty photo. these are still just a jpeg file but they cause quit a lot of drama in my php image resizing script when trying to upload as the script believes it a error or empty file, so by using the droplet it takes these say 3 stage images and coverts them back to a 1 stage basic image which is uploaded without any issues. You can also make drolets to convert a rgb formated jpeg into a cmyk formated jpeg or visa-versa.