Image Compression

Discussion and feedback on Construct 2

Post » Mon Dec 17, 2012 8:05 am

Hi,

using a background image of 650kb (jpg). When the project is exported, the image is 2,97 MB.

Is there any way to change compression settings for a c2 project, as to use the original image?

Many thanks :)
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Dec 17, 2012 12:40 pm

Use the Image Format dialog from the image editor.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Mon Dec 17, 2012 7:44 pm

Many thanks :)

Another similar question; how can i set a sprite to not change the size of the content image when changing its size in the layout, but use the image as texture (as in the tiled background object)?

If both do the same, i guess one of these objects is not needed anymore.
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Dec 17, 2012 7:59 pm

Sprite stretches its texture by design, and that's why they are two different objects.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Mon Dec 17, 2012 8:07 pm

so the only difference between these 2 is the image handeling, and i can tread a tiled background just as a usual sprite during runtime, and vice versa?xeed2012-12-17 20:08:11
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Mon Dec 17, 2012 8:15 pm

Manual entry: tiled background
Manual entry: sprite

A sprite can contain a set of animations which gather several animation frames, whereas tiledbackground only contains/display one single texture.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Mon Dec 17, 2012 8:35 pm

any way to get a tiled sprite / animated background?
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Fri Dec 21, 2012 9:11 pm

somehow i can't get the result as small as before.

since the original file is a png already, can c2 leave the image format as it is?
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Fri Apr 26, 2013 5:22 am

that is easy to do image compression if an imaging sdk which contains such function is employed to do so. there are many such sdks on the internet and i think you can download one and have a try, good luck.
http://www.rasteredge.com/dotnet-imaging/image-compression/
B
2
Posts: 1
Reputation: 156


Return to Construct 2 General

Who is online

Users browsing this forum: austinblackbelt, Televangelist, TRMG and 4 guests