jpg animation sheet

Discussion and feedback on Construct 2

Post » Tue Jan 26, 2016 7:31 pm

im trying exporting to jpg format , its an animation that would be used as background so i figured i could use jpg compression

but after exporting, every frame is a seperate file, why is it not on an image sheet ? The same file gets sheeted with png setting..
ImageImage
B
65
S
19
G
7
Posts: 814
Reputation: 9,691

Post » Tue Jan 26, 2016 7:40 pm

The tool they use for that is called pngout.
I suspect it's only for pngs.
Image ImageImage
B
164
S
49
G
137
Posts: 7,945
Reputation: 91,356

Post » Tue Jan 26, 2016 7:51 pm

@newt i think the extra compression is pngout , like optimizing 8bit png color, but sprite sheeting is done by the engine (i think) ... if you can set your animation to jpg, it should sheet it.. why not?
ImageImage
B
65
S
19
G
7
Posts: 814
Reputation: 9,691

Post » Tue Jan 26, 2016 8:01 pm

This is probably deliberate, since jpg compression can create artifacts that would effect the other images in the sprite sheet.
B
85
S
27
G
84
Posts: 5,059
Reputation: 57,352

Post » Tue Jan 26, 2016 8:15 pm

I always assumed pngout was spritesheets, and pngcrush compression.
Anyway what R0j0 said makes sense. Everytime you edit a jpg you have a chance of getting artifacts.
That and the no alpha thing.
Image ImageImage
B
164
S
49
G
137
Posts: 7,945
Reputation: 91,356

Post » Tue Jan 26, 2016 9:00 pm

Would have liked to see the result, its maybe an edge case but i have a spacescene looping background, pretty fast, so compressing might have not been such an issue, also alpha is not needed, its probably best scenario for using jpg

the seperate jpg frames at 80% quality are smaller then 8bit png sheeted ones, and look pretty good, so i thought jpg sheeting might squeeze the filesize even more.

my results are for 24 frames using 510*510 texture
png lossless 10mb sheeted
8bit png 3,5mb sheeted
jpg 80% 1,4mb at 48 kb per image

I try an online test too see how it looks with the jpg
ImageImage
B
65
S
19
G
7
Posts: 814
Reputation: 9,691

Post » Tue Jan 26, 2016 9:25 pm

Well i got it to 1mb at 80 jpg, but the images are not sheeted
it still looks pretty good and close to source

the idea was to use this as a background an build some cockpit graphics ontop, maybe like intbetween levels, so alpha is actually not needed
http://www.vtrixdev.com/scirra/intospace/
ImageImage
B
65
S
19
G
7
Posts: 814
Reputation: 9,691


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests