AI to JPG - how to capture contents outside the Artboard

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
kumbhi

AI to JPG - how to capture contents outside the Artboard

Post by kumbhi »

Hi,
I am converting from AI to JPG using the convert command. However, the JPG contains only the contents inside the artboard of the AI file. The contents outside the artboard area is missing. How do I capture the contents in the AI artboard into the JPG?

Thanks
Kumbhi
kumbhi

Re: AI to JPG - how to capture contents outside the Artboard

Post by kumbhi »

Hi,
Can IM do this OR should I take a look at other converters?

Thanks
Kumbhi
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: AI to JPG - how to capture contents outside the Artboard

Post by anthony »

You could post a link to the problem image in the Bugs forum.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
kumbhi

Re: AI to JPG - how to capture contents outside the Artboard

Post by kumbhi »

Hi Anthony,
Thanks for you reply.
The AI file I am using is available at http://www.e-spec.net/downloads/samples ... rtboard.ai

There are images of 4 shirts inside the artboard and there is a red shirt outside the artboard. When I convert to JPG, only the 4 shirts with in the artboard shows up. The red shirt outside the artboard does not show.

Thanks
Kumbhi
kumbhi

Re: AI to JPG - how to capture contents outside the Artboard

Post by kumbhi »

Can someone tell me if this is possible with IM and if not point me to any other tool/utility which can do this?
Thanks
Kumbhi
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: AI to JPG - how to capture contents outside the Artboard

Post by anthony »

The art board image given is a special type of PDF file, and as such is handled by IM using a the ghostscript, external delegate program. As ghotscript would rely on the files 'canvas definations' and only draw on the canvas, then the red shirt is presumably lost by ghostscript before IM even sees it.

Looking further, it does not appear that the red shirt drawn to the left, or above the other shirts, as I can not see it when I expand the 'canvas' using a -page attribute.

Code: Select all

   convert -page 900x900 artboard.ai x:
As page offsets do NOT currently work for PDF and postscript images. I don't think there is a way from IM to see 'negative canvas space' from a PDF file.

I have not tried acroread, which may be able to do so, as my recently upgraded system doesn't have it installed yet (again).


Simply put. IM's current usage of ghsotscript does not let you see the red shirt, prehaps direct use of ghostscript can. I do not know. If it can, maybe a 'page offset' for postscript and PDF handling could be added to the IM use of ghostscript.

As a start to your own tests with ghostscript see...
The end of the 'postscript' section in "text to image handling"
http://www.imagemagick.org/Usage/text/#postscript
Delegate Format Conversions
http://www.imagemagick.org/Usage/files/#delegate
and look at the system 'delegate.xml' file to see how IM calls ghostscript

And please let us know what you discover, success and failures, here, whether it is a Im solution or not. Other users can benifit and IM any be able to use it too.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply