Results 1 to 10 of 10

Thread: Animated JPEGs?

  1. #1
    IV Newbie rookey's Avatar
    Join Date
    Jan 2019
    Posts
    2
    Version
    IrfanView 4.50
    OS
    64-bit Win 10
    CPU Cores
    4

    Default Animated JPEGs?

    Hi,

    the camera in my Huawei Mate 10 Pro creates what they call 'moving pictures', which seem to be 'animated JPEGs'.
    I've never encountered this image format before, actually didn't even know JPEGs can contain animations, but then I put this rather on my ignorance ;-)
    However, I noticed that IView doesn't display these animations.

    Is this feature not supported or would I have to use a certain plugin or setting?

    Any help appreciated.

    Thanks!

    ps. I hope my question was placed in the correct section of the board, if not, feel free to move of course
    Last edited by rookey; 01.01.2019 at 06:07 AM. Reason: corrected smartphone model

  2. #2
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    Location
    East London
    Posts
    6,141
    OS
    64-bit Win 10
    CPU Cores
    1

    Default

    I never heard anything about animated JPEG. I could not find any recent information either.

  3. #3
    Multiple User Kuki Dent's Avatar
    Join Date
    Jun 2010
    Location
    Germany, Lower Saxony
    Posts
    215
    Version
    IrfanView 4.51
    OS
    64-bit Win 10
    CPU Cores
    4

    Default

    Hi rookey,

    each image or video has a small code at the beginning, eg 'GIF89a' for GIF-images of 'JFIF' for JPG/JPEG-images. With an image open in IrfanView
    press F3 to show this information.
    Since Irfanview will not load your image/video, try Notepad or another text editor to get the information (drag the image/video on an open Notepad window)
    and post the code or the first 20 bytes here. May be then someone knows how this files can be viewed.
    When the power of love overcomes the love of power, the world will know peace - Jimi Hendrix

  4. #4
    IV Newbie rookey's Avatar
    Join Date
    Jan 2019
    Posts
    2
    Version
    IrfanView 4.50
    OS
    64-bit Win 10
    CPU Cores
    4

    Default

    Hi,

    I've uploaded it here: https://www.inner-smile.com/20190101000431.jpg

    Interestingly, on the image viewer of the Huawei smartphone, it shows an animation of about 1-2 seconds duration, but I couldn't find any image viewer for desktop which supports this format.

    cheers,
    r.

  5. #5
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    Location
    East London
    Posts
    6,141
    OS
    64-bit Win 10
    CPU Cores
    1

    Default

    Clearly, IrfanView does not support this format; so moved to feature requests.

    Unless it becomes popular no one is likely to write a plugin for IrfanView. If they do, Irfan Skiljan might add support in a future version.

    If you want 24-bit animation to use on a web site, try Animated PNG. There are free tools like APNG Assembler that can build animations from multiple still PNG frames. I often use them to display Tabbed Dialogues on my website. GIF is an easier alternative but only supported 256 colours. You still need a program to build animated GIF images. IrfanView can view them, and extract frames, but cannot build them.

  6. #6
    Multiple User Kuki Dent's Avatar
    Join Date
    Jun 2010
    Location
    Germany, Lower Saxony
    Posts
    215
    Version
    IrfanView 4.51
    OS
    64-bit Win 10
    CPU Cores
    4

    Default

    Hi,
    this is a technically interesting picture. Though it has a .JPG suffix and IrfanView does not complain about a wrong picture type, this picture
    has not the awaited JFIF mark at the the beginning (open the picture and press F3 to see the HEX view). Instead it has an EXIF mark there.
    When you open the image information (i) and then open the EXIF information (e), it says in line 5 'ImageDescription - dav', not 'jpeg'.
    Interestingly the EXIF information contains GPS data, which makes it easily possible to locate where exactly the pictur was taken and show
    the position in e.g OpenStreet Maps or Google Maps.
    Maybe this is a screenshot from the first picture of a small video taken with this smartphone.
    When the power of love overcomes the love of power, the world will know peace - Jimi Hendrix

  7. #7
    Power User j7n's Avatar
    Join Date
    Jun 2006
    Location
    Cyberspace
    Posts
    542
    Version
    IrfanView 4.51
    OS
    32-bit Win Server 2003 SP1
    CPU Cores
    1

    Default

    The image has a standard MP4/h.264/AAC video appended to it at offset 00174AA9 after an unknown table. It plays in common desktop players. Many images, especially from cameras, these days don't contain the JFIF marker, which is only needed to save the DPI.

  8. #8
    Multiple User Jacal's Avatar
    Join Date
    Jun 2013
    Location
    Europe
    Posts
    330
    OS
    64-bit Win 10
    CPU Cores
    4

    Default

    (OT: Image taken in Irfan's Vienna.)

  9. #9
    IV Beginner Jaff's Avatar
    Join Date
    Nov 2007
    Location
    România
    Posts
    50
    Version
    IrfanView 4.51
    OS
    32-bit Win 7 Ultimate/Enterprise SP1
    CPU Cores
    1

    Default

    Quote Originally Posted by Kuki Dent View Post
    this picture has not the awaited JFIF mark at the the beginning
    Quote Originally Posted by j7n View Post
    Many images, especially from cameras, these days don't contain the JFIF marker, which is only needed to save the DPI.
    Try again... offset 0x022A8
    Last edited by Jaff; 30.05.2019 at 11:05 PM.
    Imi este indiferent ce cred ceilalti despre mine, caci oricum fiecare crede ce-i convine lui si nu ceea ce e real,
    doar ca mi-ar fi placut sa ma vada asa cum sint de fapt, nu asa cum poate le-ar placea lor sa creada. Ei au ales deja...

    ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··
    ·· · ·M· · ·I· · ·D· · ·I· · ·· ·· ·M· · ·A· · ·N· · ·I· · ·A· · ·C· · ·S· · ··
    ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷·· ·· · · · ·· ··÷¦÷··

  10. #10
    Power User j7n's Avatar
    Join Date
    Jun 2006
    Location
    Cyberspace
    Posts
    542
    Version
    IrfanView 4.51
    OS
    32-bit Win Server 2003 SP1
    CPU Cores
    1

    Default

    What I meant to say is that one can't rely on a JFIF marker or text string to detect the start of a JPEG file, as it is optional and could occur later in the data or not at all. The IV optimization tool, for example, has an option not to write the marker. There is in fact a JFIF marker at 0x624B. The earlier one belongs to an embeded 528x256 preview picture.

    The MP4 is outside the JPEG format structure.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •