Thumbnails for Adobe Illustrator .ai files?

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
ghost zero
Posts: 358
Joined: Mon Feb 05, 2007 8:26 pm

Thumbnails for Adobe Illustrator .ai files?

Post by ghost zero »

How about show thumbnails for Adobe Illustrator .ai files?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Thumbnails for Adobe Illustrator .ai files?

Post by xnview »

ghost zero wrote:How about show thumbnails for Adobe Illustrator .ai files?
Do you have AFPL ghostscript?
Pierre.
ghost zero
Posts: 358
Joined: Mon Feb 05, 2007 8:26 pm

Post by ghost zero »

what is that?
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

ghost zero
Posts: 358
Joined: Mon Feb 05, 2007 8:26 pm

Post by ghost zero »

I believe Adobe Illustrator .ai files have embedded thumbnails. Can those be read?
User avatar
asibug
Posts: 3
Joined: Fri Nov 28, 2008 3:11 am
Contact:

Post by asibug »

this one would be cool and if ever add coreldraw files as well if possible. :)
"The Difference Between Impossibilities and Possibilities is Creativity."
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

ghost zero wrote:I believe Adobe Illustrator .ai files have embedded thumbnails. Can those be read?
Yes, XnView can read these thumbnails. But remember: Not all AI, EPS or CDR files have previews embedded in them. It depends on the program they were saved with/exported from and on the settings made by the file's author.

Forum references:Off-site resources:
Adobe Illustrator File Format Specification wrote:%AI3_DocumentPreview: keyword
  • [ 3.0/3.2 ] [ 5.0/5.5 ] [ 6.0 ] The %AI3_DocumentPreview comment describes the type of preview image contained in the file. If no preview is included, keyword is None.
Last edited by XnTriq on Fri Dec 26, 2008 10:45 pm, edited 1 time in total.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

FAIK XnView reads .ai files using Ghostscript and builds the thumbnail based on the vector image. I doubt that XnView reads the embedded thumbnail. @Pierre: Please shed some light on this.

For Corel files (.cdr, .cps, ...) the answer is clear: Image is not read, only embededded "thumbnails" are displayed, XnView cannot read the Corel format because it's a proprietary and closed format. See topic Handling limited Corel format support.
ghost zero
Posts: 358
Joined: Mon Feb 05, 2007 8:26 pm

Post by ghost zero »

thumbnails for .ai files are displayable in Adobe Bridge file browser, so i was wondering if that was possible in xnview
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

I don't have GhostScript installed on my Windows 2000 PC. XnView behaves exactly as I want it to:
  • For AI files without an embedded document preview, XnView displayes the system's file type icon.
  • If an AI file contains an embedded document preview, XnView extracts it and uses it as thumbnail in the browser and for the preview pane (even if %AI3_DocumentPreview: None).
Other than with EXIF thumbnails in JPEGs, embedded previews in AIs are located at the end (after %%EOF) of the file and are either in TIFF (PC) or PICT (Mac) format.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

XnTriq wrote:... [*]If an AI file contains an embedded document preview, XnView extracts it and uses it as thumbnail in the browser and for the preview pane (even if %AI3_DocumentPreview: None). ...
Ah, o.k.. This prooves that XnView does read the embedded thumbnail in ai files.
Post Reply