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
70
S
21
G
7
Posts: 827
Reputation: 10,052

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
170
S
50
G
178
Posts: 8,378
Reputation: 112,925

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
70
S
21
G
7
Posts: 827
Reputation: 10,052

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
94
S
33
G
113
Posts: 5,353
Reputation: 73,267

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
170
S
50
G
178
Posts: 8,378
Reputation: 112,925

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
70
S
21
G
7
Posts: 827
Reputation: 10,052

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
70
S
21
G
7
Posts: 827
Reputation: 10,052


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests

cron