b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 7649576 (Thread)

# I mean in general
not in this case specifically

combined frames can be useful if you have modifications in consecutive frames in different parts of the image, say:


frame 1 frame 2
[.x...x.] [xx...xx]
[..x.x..] [..x.x..]
[...x...] [...x...]
[..x.x..] [..x.x..]
[.x...x.] [xx...xx]


if you're not using '.' as a transparent color frame to can be optimized as



frame 1 frame 2
[.x...x.] [xooooox]
[..x.x..] [ooooooo]
[...x...] [ooooooo]
[..x.x..] [ooooooo]
[.x...x.] [xooooox]


where o is transparent.

but if . is the transparent colour you need to store the whole of frame 2, and that's less efficient since a 3 1-colour blocks can be compressed a lot better than a whole frame.

(, Tue 25 Sep 2007, 22:01, archived)