hello,
in these days build a php server for image manipulation. All ok but final jpg result have some problem
Using imagemagick with exec command, but jpg can't pass over my web service upload (no error returned,
but image not show on web tool)
If i convert image with irfranview image is ok and pass service gate.
post here 2 different image:
http://static.repubblica.it/laprovincia ... t/GOOD.jpg
http://static.repubblica.it/laprovincia ... st/bad.jpg
good.jpg is irfranview result and pass
bad.jpg is IM result and doesn't pass
I want to use IM for my php server for many reason, is there anyone that can tell me where is difference ?
thank you for any info,
m.
jpg - imagemagick vs irfranview
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: jpg - imagemagick vs irfranview
please supply your exact command line use in PHP exec(). does it work if you use some other image format such as gif or png or tiff? perhaps you do not have the jpeg delegate library installed.
What version of IM and on what platform are you running your command.
We need more information to be able to help properly.
What version of IM and on what platform are you running your command.
We need more information to be able to help properly.
Re: jpg - imagemagick vs irfranview
thank you for help,
i'm on IIS windows 2003 srv, PHP+pear, last IM, and simple syntax (convert input.jpg output.jpg)
Server allow my intranet users to convert every image (and pdf, office doc) to .jpg , single format
used by our production system.
in last hours i resolve problem given by .jpg files; stripping IPTC field entirely (-strip), solve my problem,
i think that my web service check some fields or standard, and allow or not upload ...
Not post yet, and waiting for a reply about finding differences for 2 posted images.
thank you again for help and support,
m.
i'm on IIS windows 2003 srv, PHP+pear, last IM, and simple syntax (convert input.jpg output.jpg)
Server allow my intranet users to convert every image (and pdf, office doc) to .jpg , single format
used by our production system.
in last hours i resolve problem given by .jpg files; stripping IPTC field entirely (-strip), solve my problem,
i think that my web service check some fields or standard, and allow or not upload ...
Not post yet, and waiting for a reply about finding differences for 2 posted images.
thank you again for help and support,
m.
Re: jpg - imagemagick vs irfranview
Hello again,
i need some information about trim process.
some 'smart' user save bad images with Windows mspaint; the result is same image, *with IPTC fileds*, but pass web service gate.
My questions are:
- what exactly does -trim option ?
- what have in common mspaint and IM in save process ?
I remember that IM can create a new brand image output from input (-clone?), but can't remember switch.
first solution was convert input image in .bmp, then again in .jpg. this create a new image without any other info.
How i create a new file with only 'image info' and cut all other properties ( no exif, no IPTC, no preview, nothing) ?
thank you again for any info,
m.
i need some information about trim process.
some 'smart' user save bad images with Windows mspaint; the result is same image, *with IPTC fileds*, but pass web service gate.
My questions are:
- what exactly does -trim option ?
- what have in common mspaint and IM in save process ?
I remember that IM can create a new brand image output from input (-clone?), but can't remember switch.
first solution was convert input image in .bmp, then again in .jpg. this create a new image without any other info.
How i create a new file with only 'image info' and cut all other properties ( no exif, no IPTC, no preview, nothing) ?
thank you again for any info,
m.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: jpg - imagemagick vs irfranview
-trim removes any border around an image.
see
http://www.imagemagick.org/Usage/crop/#trim
To remove text information meta data use -strip
see
http://www.imagemagick.org/script/comma ... b164#strip
see
http://www.imagemagick.org/Usage/crop/#trim
To remove text information meta data use -strip
see
http://www.imagemagick.org/script/comma ... b164#strip
Re: jpg - imagemagick vs irfranview
Mt mystake,
I refer to -strip, not trim.
When i can correct main post.
Thank you to see error and post link,
M.
I refer to -strip, not trim.
When i can correct main post.
Thank you to see error and post link,
M.