The edge noise appears to me to be standard JPEG artifacting. If your
original PDF stored the image using DCT encoding within the PDF, then
the conversion process from PDF to bitmap back to JPEG is unavoidably
going to add more artifacting, because of JPEG being a lossy format.
It seems likely that this doesn't happen when you use Photoshop as the
intermediary because Photoshop might be pulling the actual DCT encoded
data from the PDF and wrapping it in the JPEG file format -- rather
than rasterizing and re-encoding, as ImageMagick must do, since it
doesn't itself know about the PDF file format but relies on a
delegate.

I don't see any way to completely eliminate this and still have a JPEG
final output.

The PNG you posted doesn't show edge artifacts that I can see. It has
markedly different colors but that is because it started from the CMYK
pdf.  Are the colors right if you start from the RGB pdf? If they are
not, then the solution would be to have Ghostscript (the PDF delegate)
use the right ICC profile that matches what is in the PDF.

On 4/9/08, Avi Kouzi <[EMAIL PROTECTED]> wrote:
> I already tried the first one, it gives out pretty much the same results
> as converted.jpg, the second one wouldn't run since I don't have those
> ICM/ICC files (nowhere to be found on my filesystem).
>
> Also, now that I have the RGB PDF, it is still not helping much (as
> there is still a slight color diffrence and the edges issue).
>
> [EMAIL PROTECTED] wrote:
> >> It seems that the PDF was in CMYK
> >>
> >
> > Did you try
> >
> >   convert -colorspace rgb image.pdf image.jpg
> >
> > or
> >
> >   convert image.pdf -profile USWebCoatedSWOP.icc -profile sRGB.icm
> image.jpg
> >
> > Both methods are the suitable for properly converting a CMYK PDF to RGB
> JPEG.
> >
>
> _______________________________________________
> Magick-users mailing list
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to