Skip to main content
Known Participant
July 11, 2024
Question

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

  • July 11, 2024
  • 1 reply
  • 1204 views

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 has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 11, 2024

are you importing that ai asset as a bitmap

 

 

zorzi_clxAuthor
Known Participant
July 11, 2024

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.

kglad
Community Expert
Community Expert
July 11, 2024

I mean, I do not have much experience with animate so maybe in production (of html5 banner) there is a specific reason to have png instead of jpg


actually your issue would be better posed as a suggestion to adobe using the links i already posted.