Results 1 to 3 of 3

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

  1. #1
    Member
    Join Date
    Nov 2020
    Location
    Romania
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Transparent jpeg animation (not spam/joke!)

    Hi.

    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: https://www.dropbox.com/s/cjyggplb1l...setup.zip?dl=0


    Maker source code: https://www.dropbox.com/s/aof5kuv6u0...0code.zip?dl=0


    Viewer source code: https://www.dropbox.com/s/ff736p69gv...rCode.zip?dl=0


    Some cool ajpegs: https://drive.google.com/drive/folde...Jd?usp=sharing
    Last edited by CosminC3; 10th November 2020 at 14:33.

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

    https://en.wikipedia.org/wiki/JPEG_Network_Graphics

  3. #3
    Member
    Join Date
    Jun 2015
    Location
    Switzerland
    Posts
    924
    Thanks
    255
    Thanked 331 Times in 203 Posts
    Quote Originally Posted by maadjordan View Post
    JNG (related to PNG) done this before but never got chance

    https://en.wikipedia.org/wiki/JPEG_Network_Graphics
    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 suryakandau@yahoo.co.id 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 encode.su ?
    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
  •