News for hackers. Stuff that matters.
Re:Introducing the ‘mozjpeg’ Project by TheZenPsycho on Wednesday March 05, 2014 @05:25PM (#7350371)
I have heard similar things about GIF (that there are optimisations that most encoding software does not properly take advantage of). But I haven't seen any efforts, or cutting edge software that actually follows through on that promise. The closest I've seen is gifscicle, which is a bit disappointing.

What would be great if there was some way for an animated gif's frame delays to opt-in to being interpreted correctly by browser- That is, a 0-delay really would display with no delay, and so optimisation strategies involving the splitting of image data across multiple frames could be done- and when read in by a browser, all frames would be overlaid instantly, module loading time.

What other things can be done to further optimise animated gif encoding?

Re:Introducing the ‘mozjpeg’ Project by Grue3 on Thursday March 06, 2014 @05:29AM (#7352931)
GIF should be killed. Animated PNG is where it's at.
Re:Introducing the ‘mozjpeg’ Project by iopq on Thursday March 06, 2014 @06:09AM (#7353034)
Animated PNGs should be killed. Just embed a video with an alpha channel. It compresses way better.

http://simpl.info/videoalpha/

Re:Introducing the ‘mozjpeg’ Project by Grue3 on Thursday March 06, 2014 @06:59AM (#7353163)
Wrong use-case. Animated GIFs and animated PNGs were never intended for video. The analogy to still image formats is video:JPEG = web-animation:PNG. You don't save screenshots as JPGs and you don't save photos as PNGs. Same with video and web-animation, two different use-cases require two different formats.
Re:Introducing the ‘mozjpeg’ Project by iopq on Friday March 07, 2014 @12:34AM (#7358673)
except that's a false dichotomy

one format can support both lossy and lossless images and use better compression between frames to achieve 10x better results for animations than animated pngs without visible loss of quality

Re:Introducing the ‘mozjpeg’ Project by Grue3 on Friday March 07, 2014 @03:09AM (#7359033)
Which format can support both lossy and lossless images?

I spent 2 seconds in GIMP to make the following GIF: http://i.cubeupload.com/kbrcfQ.gif Please show me the video format that can replace it.

Re:Introducing the ‘mozjpeg’ Project by iopq on Friday March 07, 2014 @03:29AM (#7359088)
webp supports animations, lossless and lossy images, etc. I already linked to a video with an alpha channel that can match your gif
Re:Introducing the ‘mozjpeg’ Project by maxst on Friday March 07, 2014 @01:56AM (#7358896)
When you can only post/upload content that end up inside img tag, it's not a false dichotomy.
Re:Introducing the ‘mozjpeg’ Project by TheZenPsycho on Thursday March 06, 2014 @04:29PM (#7356745)
meanwhile, back in the real world, gifs and apngs are staying exactly where they are.