Results 1 to 3 of 3

Thread: Transparent jpeg animation (not spam/joke!)

  1. #1
    Join Date
    Nov 2020
    Thanked 0 Times in 0 Posts

    Cool Transparent jpeg animation (not spam/joke!)


    Well, I just created this account (just like a spammer/joker would do) so it definitely seems like a scam/joke...
    Except it's not...

    Basically it's just a container for the jpeg frames and their transparency (8 bit jpegs).
    It uses a circular buffer to decompress just the frames about to be displayed.
    This way it uses a lot less memory than, for example, a png animation.
    Therefore it starts a lot faster.

    The decompression of jpeg frames/transparency and the image resize functions are extremely fast (using MMX/SSE/AVX and multiple cores).
    On my ancient computer (Intel CPU Pentium(R) dual core E6600 3.06 GHz, 4 GB DDR2 RAM) I can play a 720p animation with 50+ fps.

    Some of you will say: it needs a lot of specialized code and therefore it cannot be used directly in browsers.
    Well, if you need speed and quality when decompressing the jpeg frames and/or resizing them
    ofcourse you'll need some specialized code for this...
    Fortunately this code works superfast on a lot of currently used CPUs.

    Most of the Delphi code is written by me.
    I used some code from other programmers to enhance the speed.
    Some of them are mentioned directly in text, some in About section.

    Why I worked for about 2 years on this: just for fun.

    So, if anybody wants to use this (or a part of it) in some projects/apps and/or wants to
    improve it or just wanna play with it, feel free to do so.

    Maker + Viewer binaries as installer:

    Maker source code:

    Viewer source code:

    Some cool ajpegs:
    Last edited by CosminC3; 10th November 2020 at 14:33.

  2. #2
    Join Date
    May 2008
    Thanked 39 Times in 24 Posts
    JNG (related to PNG) done this before but never got chance

  3. #3
    Join Date
    Jun 2015
    Thanked 350 Times in 221 Posts
    Quote Originally Posted by maadjordan View Post
    JNG (related to PNG) done this before but never got chance
    If it is for internet use, you can currently do this with WebP. You may be able to do this with AVIF and JPEG XL soon.
    Last edited by Jyrki Alakuijala; 13th November 2020 at 23:33.

Similar Threads

  1. compgt spam
    By compgt in forum Data Compression
    Replies: 6
    Last Post: 11th April 2020, 15:27
  2. suryakandau's youtube spam
    By in forum The Off-Topic Lounge
    Replies: 9
    Last Post: 17th November 2019, 16:01
  3. compressing animation frames
    By Cosmin3 in forum Data Compression
    Replies: 24
    Last Post: 15th June 2016, 20:27
  4. Transparent Compression on File Systems
    By Gonzalo in forum The Off-Topic Lounge
    Replies: 7
    Last Post: 21st March 2016, 13:15
  5. Spam on ?
    By Fairy in forum The Off-Topic Lounge
    Replies: 5
    Last Post: 19th November 2008, 22:58

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts