Skip to main content
Known Participant
Jul 11, 2024 8:11 AM UTC
Question

html5 publish settings - cannot export .jpg images, only .png

Hello guys! I am studying animate and today I came across this issue.

I can import an illustrator file (very simple, 2 layers: the first consisting of a square shape and the second with a .jpg image) but when I publish the html5 banner and choose image assets as export I only get .png image and not .jpg.

This only happens if I import an artwork from an .ai file.

If I manually import in the stage/library a .jpg image and then I puhlish the banner with "image assets" I get .jpg image in the folder.

 

Is there a way I can choose to publish .jpg images (as image assets, not texture/spritesheet) since the original image is a .jpg? what am I missing?  is there an option to force this kind of behaviour?

 

thank you very much Mario

This topic is closed to new replies. Start a new post to keep the conversation going.

12 replies

kglad
Community Expert
Community Expert
Jul 11, 2024 1:33 PM UTC

are you importing that ai asset as a bitmap

 

 

Translate
zorzi_clxAuthor
Known Participant
Jul 11, 2024 1:48 PM UTC

well no, I do not import it as a bitmap because I need to have different layers and the text has to be editable.

I've just triet to import the entire .ai as single bitmap image and, even in this case, when i publish it as Image Assets I get a single .png file.

 

I add to this thread 2 screenshots, illustrator and the import to stage box in animate.

 

I really do not get why this is happening. I do not think that relinking every image of the .ai file is a practical solution

I switched from .psd to .ai file because every time I've tried to import a .psd and keep editable text option animate crashes.

Translate
kglad
Community Expert
Community Expert
Jul 11, 2024 2:04 PM UTC

it's that bitmap in your ai that causing the issue.  (and maybe all bitmaps in ai cause the issue).

 

can you upload your ai file to a file server and post a link here?

Translate