How do I make C2 export my background image as JPEG?

Get help using Construct 2

Post » Wed Mar 18, 2015 3:21 pm

My background image is a JPEG file of 800 Kb. When exported, project converts it to PNG and it has 4 Mb size! How do I avoid this?
B
8
S
2
Posts: 110
Reputation: 923

Post » Wed Mar 18, 2015 3:34 pm

Edit your image to be a png in your editor of choice before you import it to construct 2. (save as png)

Construct 2 only works with PNG files, there is no avoiding this.
- edit: apologies, I was mistaken.

It can import other formats, but will convert it to PNG.
Last edited by lennaert on Wed Mar 18, 2015 3:48 pm, edited 1 time in total.
Who dares wins
B
56
S
15
G
16
Posts: 1,837
Reputation: 16,775

Post » Wed Mar 18, 2015 3:43 pm

That's not true. In the Sprite editor, the fourth icon from the left at the top of the window is "Set export image format". You can choose export options there. Anything that doesn't use transparency can benefit from using JPG.
ImageImageImage
B
71
S
20
G
190
Posts: 3,535
Reputation: 108,344

Post » Wed Mar 18, 2015 3:46 pm

blackhornet wrote:That's not true. In the Sprite editor, the fourth icon from the left at the top of the window is "Set export image format". You can choose export options there. Anything that doesn't use transparency can benefit from using JPG.



I stand corrected ^_^

I never clicked that button before lol
Who dares wins
B
56
S
15
G
16
Posts: 1,837
Reputation: 16,775

Post » Thu Mar 19, 2015 8:26 am

excellent!
my full project weights 10 Mb. I reduced the size of the background and saved 3,5 Mb. That is 35% less. Isn't that important? How do you think :)
I knew about this button, but it is called Export, so my first thought was Exporting out of the project, not converting for the project :) Rather than export, it might be better Called - Convert, no?
Thank you, blackhornet!
B
8
S
2
Posts: 110
Reputation: 923


Return to How do I....?

Who is online

Users browsing this forum: Masked Misery and 9 guests