convert from jpg to pdf clipping path present in pdf

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
smileychez
Posts: 4
Joined: 2012-07-18T09:43:49-07:00
Authentication code: 15

convert from jpg to pdf clipping path present in pdf

Post by smileychez »

Hi everyone,

I have been searching for 4 days now for the answer to this question. Looked through many Google pages and forum entries.

I have been assigned to the task of generating stock photos of various sizes from a jpeg that has been created in PhotoShop. Not too tricky, except that I have been instructed to convert to pdf and that the created pdf must KEEP THE CLIPPING PATH. Is this possible in any way through any version of ImageMagick?

Chez
pipitas
Posts: 168
Joined: 2012-07-15T14:06:46-07:00
Authentication code: 15

Re: convert from jpg to pdf clipping path present in pdf

Post by pipitas »

Since not everyone here may have Photoshop (nor the time to 'shop a sample image containing a clipping path) -- could you please provide a link to a sample file?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert from jpg to pdf clipping path present in pdf

Post by fmw42 »

Also please report your IM version and platform.
smileychez
Posts: 4
Joined: 2012-07-18T09:43:49-07:00
Authentication code: 15

Re: convert from jpg to pdf clipping path present in pdf

Post by smileychez »

Version: ImageMagick 6.6.9-7 2012-04-30 Q16 on Ubuntu 12.04
smileychez
Posts: 4
Joined: 2012-07-18T09:43:49-07:00
Authentication code: 15

Re: convert from jpg to pdf clipping path present in pdf

Post by smileychez »

Where can I put as image to share for this question? It's just a simple question, starter for ten, does IM in any way support taking path info from a jpeg and adding it into a pdf that it is making?

Using identify verbose IM can show me the path info from 8BIM 2000 as SVG, is there any command to put the path data it can see into a pdf it is making?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert from jpg to pdf clipping path present in pdf

Post by fmw42 »

to post an image or any file, you have to host it on some free image hosting service, then put a link to it here.

identify -verbose image.pdf

should tell you if the path is there.

The real question is does pdf support clipping paths? I am no expert on this, so will defer anything further to those experts on pdf and when IM transfers the clipping path.
Post Reply