newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
895 stars 143 forks source link

Handle :jpg image fmt for separate img layers #172

Open agness opened 2 weeks ago

agness commented 2 weeks ago

Currently, the only way to create a separate image file is by naming the layer myLayerName:png; this works beautifully except in cases of large raster images that really should be encoded as smaller jpg files.

This handles layers tagged :jpg with otherwise identical logic for processing layers tagged :png.