3D PDF to jpg

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
broberts
Posts: 12
Joined: 2016-04-21T06:52:09-07:00
Authentication code: 1151

3D PDF to jpg

Post by broberts » 2016-05-19T07:55:07-07:00

Hello... and thanks in advance for any assistance.

We're using Imagemagick 6.9.3 Q8. We're feeding it user uploaded files to generate thumbnails. Everything is working great with the exception of 3D PDFs which seem to work sporadically. May I ask for input or suggestions. Below is an example of a file that I can't to work...

https://dl.dropboxusercontent.com/u/25033319/3D.pdf

Thanks in advance.

snibgo
Posts: 12156
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: 3D PDF to jpg

Post by snibgo » 2016-05-19T08:31:11-07:00

3D.pdf seems to contain something horrible that prevents Ghostscript or pdfimages from reading it.
snibgo's IM pages: im.snibgo.com

broberts
Posts: 12
Joined: 2016-04-21T06:52:09-07:00
Authentication code: 1151

Re: 3D PDF to jpg

Post by broberts » 2016-05-19T12:33:45-07:00

Any suggestions on what I might try?

snibgo
Posts: 12156
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: 3D PDF to jpg

Post by snibgo » 2016-05-19T15:55:39-07:00

No, sorry. I don't know much about PDF format.
snibgo's IM pages: im.snibgo.com

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 3D PDF to jpg

Post by magick » 2016-05-19T17:18:22-07:00

This PDF can only be read by Acrobat 8.1 and above.

snibgo
Posts: 12156
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: 3D PDF to jpg

Post by snibgo » 2016-05-19T17:58:34-07:00

3D.pdf is a pretty cool file. Adobe Reader shows a box, like a breakfast cereal packet. But it is a 3D view so we can spin the object to view it from any angle, view the solid box or wireframe, etc.

I don't know if Adobe Reader or similar program can be driven in batch mode, and made to save one of the views as a 2D image.
snibgo's IM pages: im.snibgo.com

broberts
Posts: 12
Joined: 2016-04-21T06:52:09-07:00
Authentication code: 1151

Re: 3D PDF to jpg

Post by broberts » 2016-05-19T18:15:13-07:00

I appreciate the responses. We'll just have to modify the workflow to create an extra file for the 3Ds we create.

Thanks again.

Post Reply