• Re: Please explain what heic installers are doing on Windows with Irfan

    From david@3:633/280.2 to All on Tue Nov 26 17:06:37 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Can you please explain what is happening when I install HEIC?

    Background.
    1. I have been using Irfanview since forever.
    2. Apple owner gives me HEIC image files to view & batch edit.
    3. Irfanview 32 4.70 can't open them so I google & find this.
    https://www.irfanview.com/faq.htm#PAGE6

    That suggests a few methods, one of which is this. https://github.com/prsyahmi/wic_heic/releases/

    That has this zip file containing "x86" & "64-bit" zips. https://github.com/prsyahmi/wic_heic/releases/download/v1.0.3/wic_heic-v1.0.3.zip

    The x86 & x64 install batch files are named "_install.bat" containing this.
    echo Please run as admin
    @regsvr32 "%~dp0wic_heic.dll"
    pause

    The x86 & x64 uninstall batch files are named "_uninstall.bat" with this.
    echo Please run as admin
    @regsvr32 /u "%~dp0wic_heic.dll'
    pause

    There is a wic_heic.dll file in the x86 & the same name in the x64 folder.
    x86 folder
    Name: wic_heic.dll
    Size: 3945472 bytes (3853 KiB)
    SHA256: 702BA6AEADBD8D36473E4D9A9C129DDB19490EF7965B0B722794726E44C55A38

    x64 folder
    Name: wic_heic.dll
    Size: 17239552 bytes (16 MiB)
    SHA256: 2D1B1B9FA0653C8EEEDB6C86282D7EBA7D5B0A3632276189AD7029EAE83BE24D

    The first question is if I'm only using 32-bit Irfanview, do I need to run
    both the 32-bit & 64-bit install batch files and the second question is
    what happens in Windows & Irfanview when I run these batch file?

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    What's going on under the covers to make this heic magic mushroom work?

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: i2pn2 (i2pn.org) (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Tue Nov 26 18:08:51 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Tue, 11/26/2024 1:06 AM, david wrote:
    Can you please explain what is happening when I install HEIC?

    Background.
    1. I have been using Irfanview since forever.
    2. Apple owner gives me HEIC image files to view & batch edit.
    3. Irfanview 32 4.70 can't open them so I google & find this.
    ˙ https://www.irfanview.com/faq.htm#PAGE6

    That suggests a few methods, one of which is this. https://github.com/prsyahmi/wic_heic/releases/

    That has this zip file containing "x86" & "64-bit" zips. https://github.com/prsyahmi/wic_heic/releases/download/v1.0.3/wic_heic-v1.0.3.zip

    The x86 & x64 install batch files are named "_install.bat" containing this. echo Please run as admin
    @regsvr32 "%~dp0wic_heic.dll"
    pause

    The x86 & x64 uninstall batch files are named "_uninstall.bat" with this. echo Please run as admin
    @regsvr32 /u "%~dp0wic_heic.dll'
    pause

    There is a wic_heic.dll file in the x86 & the same name in the x64 folder. x86 folder
    Name: wic_heic.dll
    Size: 3945472 bytes (3853 KiB)
    SHA256: 702BA6AEADBD8D36473E4D9A9C129DDB19490EF7965B0B722794726E44C55A38

    x64 folder
    Name: wic_heic.dll
    Size: 17239552 bytes (16 MiB)
    SHA256: 2D1B1B9FA0653C8EEEDB6C86282D7EBA7D5B0A3632276189AD7029EAE83BE24D

    The first question is if I'm only using 32-bit Irfanview, do I need to run both the 32-bit & 64-bit install batch files and the second question is
    what happens in Windows & Irfanview when I run these batch file?

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    What's going on under the covers to make this heic magic mushroom work?

    Why would you do that, when the latest GIMP has proper support.
    For pictures, it shows you how many pictures are stored inside
    an Apple file, and you can choose one to edit if you want,
    then Export as JPG for example. Export the one you selected.

    According to this, GIMP is at version 2.10 right now.

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

    That is on a lot of Linux distros, but there is also a Windows version.

    Microsoft sells a codec for the file format (since there are royalties on it
    to be paid), but using FOSS you can have it "at lower cost" :-)

    The problem for Irfan to solve, is how to present a dialog to allow
    the user to select 1 of N pictures stored inside a single file.

    Just tossing a DLL into a folder is not sufficient as a solution,
    since it might select only the picture at Index 1. That's why I would
    not take a chance on some "random" DLL.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Tue Nov 26 22:30:32 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Paul <nospam@needed.invalid> wrote:
    On Tue, 11/26/2024 1:06 AM, david wrote:
    [...]

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    What's going on under the covers to make this heic magic mushroom work?

    Why would you do that, when the latest GIMP has proper support.
    For pictures, it shows you how many pictures are stored inside
    an Apple file, and you can choose one to edit if you want,
    then Export as JPG for example. Export the one you selected.

    According to this, GIMP is at version 2.10 right now.

    Not to mention that 'david' crossposted this to alt.comp.os.windows-11
    and Windows 11 has built-in support for HEIC (and support can be added
    to (7,) 8.1 [1] and 10).

    I have a rather old version of IrfanView - 4.60 of 2022 (32-bit) - on
    my Windows 11 (23H2) system and that can open HEIC pictures just fine.

    [1] At the time on Windows 8.1, I used 'CopyTrans HEIC for Windows' (<https://www.copytrans.net/copytransheic/>) as advised in the IrfanView
    FAQ.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From Carlos E.R.@3:633/280.2 to All on Tue Nov 26 22:36:09 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 2024-11-26 07:06, david wrote:
    Can you please explain what is happening when I install HEIC?

    You posted the question twice.

    ....

    The first question is if I'm only using 32-bit Irfanview, do I need to run both the 32-bit & 64-bit install batch files and the second question is
    what happens in Windows & Irfanview when I run these batch file?

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    A dll can only be used by a program that is designed to use it.


    What's going on under the covers to make this heic magic mushroom work?


    --
    Cheers, Carlos.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 00:04:26 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/26/2024 1:06 AM, david wrote:


    The x86 & x64 install batch files are named "_install.bat" containing this. echo Please run as admin
    @regsvr32 "%~dp0wic_heic.dll"
    pause

    The x86 & x64 uninstall batch files are named "_uninstall.bat" with this. echo Please run as admin
    @regsvr32 /u "%~dp0wic_heic.dll'
    pause

    That's a COM DLL. You only need the one for the bitness. But
    a big reason for COM was discoverability. Any software that wants
    to use the DLL can discover it through the Registry. So yes, it's
    only for Irfan View. But if you happen to get another program that
    uses the same library then that program can use the one that's
    in the system folder. If you want to register the 64-bit DLL as well
    that's not a problem.

    The BAT file is simply registering and unregistering the DLL by
    recording its class names, typelib, etc in the Registry. Software
    that wants to use it can then find it. But such software would
    have to be written to use it.



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 00:15:07 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/26/2024 6:36 AM, Carlos E.R. wrote:

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    A dll can only be used by a program that is designed to use it.


    Yes, but in most cases anyone who knows about the DLL
    can use it. So it's not just for IrfanView. In this case it's
    presumably just wrapping Apple's code in a Windows-accessible
    form.

    It's presented as a COM DLL, with a COM interface, but I tried
    registering the DLL and there seems to be no typelib, while there
    are dozens of named functions available, so I'm not sure that
    registering is actually necessary. One such function is
    heif_decode_image. The trick, of course, is that the calling
    process needs to know how to call that function. With OSS that's
    often the sticking point. The authors, more often
    than not, can't be bothered to fully document their work.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From R.Wieser@3:633/280.2 to All on Wed Nov 27 00:44:00 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Newyana2,

    So yes, it's only for Irfan View.

    Damn... There I was, hoping it added an image format handler to the ones exposed by GDI+.

    (never been able to find info on how its supposed to be done - assuming its even possible)

    Regards,
    Rudy Wieser



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 02:15:15 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/26/2024 8:44 AM, R.Wieser wrote:
    Newyana2,

    So yes, it's only for Irfan View.

    Damn... There I was, hoping it added an image format handler to the ones exposed by GDI+.

    (never been able to find info on how its supposed to be done - assuming its even possible)

    GDI+ can handle JPG. Windows Image Acquisition (WIA) API can
    do quite a bit. I think it also handles PNG. I'm not sure offhand.
    WIA can be used late-bound in script. GDI+ is monstrously designed.
    You'll want source code to tackle that. WOIA can be figured out with
    the help file. Although MS have made that difficult. You can't just
    go and download wia.chm anymore. You can't even download the
    help2 format. You have to download the whole developer package
    and then pick it apart to get the help.

    I looked into HEIF awhile back for my own webpage editor. I decided
    to skip it. I found a small Google converter for webp. But HEIF is Apple,
    it's not really used except by iPhone dimwits who don't know any
    better. So now if I get one I just write back and ask them to please
    send in JPG format... "And give my best to Timmy Cook next time
    he stops by to vacuum out your wallet." :)


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From R.Wieser@3:633/280.2 to All on Wed Nov 27 02:54:20 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Newyana2,

    GDI+ can handle JPG.

    JPG, PNG, GIF, BMP are the ones that I've worked with.

    GDI+ is monstrously designed.

    :-) Tell me about it. I hade a case where I wanted to load a BMP image, adding properties to it and than save it as JPG. I couldn't get it to work (JPG supports properties, BMP however doesn't). I first had to convert the
    BMP to JPG, save it, re-load the saved JPG and only than add the properties. :-|

    Oh, and it also adds the already existing "old style" JPG comments to the (EXIF) properties *using the same property-ID*. Ofcourse without any way to access the anything beyond the first occurence of such a duplicated property-ID.

    I found a small Google converter for webp

    I found a DLL for that, and wanted to wrap it into whatever is needed to add it to GDI+ - hoping that Windows "thumbnail" view in exporer would be able
    to show those images too (currently I'm using a seperate viewer for that).

    Alas, I could not find any information about how to do that.

    Regards,
    Rudy Wieser



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From david@3:633/280.2 to All on Wed Nov 27 03:48:17 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Using <news:vi4f11.b70.1@ID-201911.user.individual.net>, Frank Slootweg
    wrote:

    Not to mention that 'david' crossposted this to alt.comp.os.windows-11
    and Windows 11 has built-in support for HEIC (and support can be added
    to (7,) 8.1 [1] and 10).

    Thanks for that Windows-11-specific data, as I wasn't aware that Irfanview
    on Windows 11 can handle HEIC (as I hadn't tested it on the Windows 11
    laptop - only on the Windows 10 desktop) so thanks for pointing that out.

    But the question isn't at all about HEIC - the question is what it going on when someone on Windows runs a batch file that does what these files do.

    echo Please run as admin
    @regsvr32 "%~dp0wic_heic.dll"
    pause

    That does "something" to the dll, doesn't it?
    And Irfanview then does "something" with that dll, doesn't it?

    But what?

    The fundamental Windows questions are what does that batch file accomplish?
    And how then does Irfanview access whatever it is that the batch file did?

    Newyana seems to have the best observations so far as to what it's doing.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: i2pn2 (i2pn.org) (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 04:48:46 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/26/2024 10:54 AM, R.Wieser wrote:

    I found a small Google converter for webp

    I found a DLL for that, and wanted to wrap it into whatever is needed to add it to GDI+ - hoping that Windows "thumbnail" view in exporer would be able
    to show those images too (currently I'm using a seperate viewer for that).

    Alas, I could not find any information about how to do that.

    I'm not aware of any way to add functionality to GDI+. It's
    coming from a system DLL. You can't just go adding extensions or
    functions. You can write an Explorer Bar that uses your own code,
    but you can't just rewrite Windows.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From R.Wieser@3:633/280.2 to All on Wed Nov 27 05:55:39 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Newyana2,

    I'm not aware of any way to add functionality to GDI+. It's
    coming from a system DLL. You can't just go adding extensions or
    functions.

    The thing is that in GDI+ the image formats are referenced by their GUIDs, which you can iterate.

    Which made me think that perhaps other image formats could be adde, just
    like you can extend VBScript and JS by adding a GUID and DLL into the CLSID tree of the registry.

    So yes, I *can* "just go adding extensions". :-) At least, that is how it works for scripting engines. Perhaps GDI+ has a similar mechanism, and both of us are unaware of how to use it.

    Wishfull thinking ? Perhaps. But AFAICS well within the realm of possibilities.

    Regards,
    Rudy Wieser




    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From R.Wieser@3:633/280.2 to All on Wed Nov 27 06:28:40 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Newyana2,

    You can't just go adding extensions

    https://stackoverflow.com/questions/455018/extending-the-list-of-supported-image-formats-in-gdi

    That thread, from long ago, seems to have found that it /should/ be possible to extend the image-codecs GDI+ uses, but had the same kind of trouble
    finding documentation about how to do it.

    Isn't it fantastic how people sometimes think they know absolutily certain
    how something can't be done ? :-)

    Its also why I stopped believing people on their word (no offence intended
    or implied).

    Regards,
    Rudy Wieser




    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From david@3:633/280.2 to All on Wed Nov 27 09:43:39 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Using <news:vi57hl$3j4bs$1@dont-email.me>, R.Wieser wrote:

    it /should/ be possible
    to extend the image-codecs GDI+ uses, but had the same kind of trouble finding documentation about how to do it.

    You two talk about "GDI+" as if the rest of us know what it is! :)

    I had no clue - so I googled - and this is what came up first: https://learn.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-gdi-start

    Windows GDI+ is a class-based API for C/C++ programmers. It enables applications to use graphics and formatted text on both the video display
    and the printer. Applications based on the Microsoft Win32 API do not
    access graphics hardware directly. Instead, GDI+ interacts with device
    drivers on behalf of applications. GDI+ is also supported by Microsoft
    Win64.

    And this. https://learn.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-about-gdi--about
    Windows GDI+ is the portion of the Windows XP operating system or Windows Server 2003 operating system that provides two-dimensional vector graphics, imaging, and typography. GDI+ improves on Windows Graphics Device Interface (GDI) (the graphics device interface included with earlier versions of
    Windows) by adding new features and by optimizing existing features.

    So is this GDI+ stuff what Windows uses to draw on the screen?

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: i2pn2 (i2pn.org) (3:633/280.2@fidonet)
  • From Carlos E.R.@3:633/280.2 to All on Wed Nov 27 12:41:36 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 2024-11-26 23:43, david wrote:
    So is this GDI+ stuff what Windows uses to draw on the screen?

    Yes.

    --
    Cheers, Carlos.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Wed Nov 27 14:21:42 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Tue, 11/26/2024 8:41 PM, Carlos E.R. wrote:
    On 2024-11-26 23:43, david wrote:
    So is this GDI+ stuff what Windows uses to draw on the screen?

    Yes.


    https://learn.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-about-gdi--about

    "Lines, Curves, and Shapes

    Images, Bitmaps, and Metafiles
    "

    Seems to be mostly 2D constructs, done with the CPU.

    The methodology would have been invented a long long time ago.

    While you can find threads like this, this isn't the best way to
    get the architecture picture. Direct2D is presumably hardware
    accelerated operation on the video card. It would include
    Bresenhams Algorithm for line draw, and BitBLT (XOR two pixmaps).

    https://stackoverflow.com/questions/13281964/gdi-versus-direct2d

    I would think you could draw a long line at a weird angle faster
    on the CPU, than on the video card. It's textures where the video
    card can be a champ. Direct2D, they've stopped trying to make
    the video card go faster when doing stuff like that. The GPU we
    designed at work, yonks ago, the one that could knock out
    an eyeball, that thing does 2D just as fast as a modern video card.
    Which tells you the modern stuff hasn't seen any improvements to
    speak of. 3D has seen a lot of improvements over the years.

    And when an article makes certain claims about Chrome or Firefox,
    it's really hard to tell exactly what browsers are using. They both
    have access to Google ANGLE, which is a way of getting OpenGL
    out of Direct3D on Windows only, rather than calling OpenGL itself
    (which is also available everywhere). Google has added WebGL to ANGLE,
    which you might not get from OpenGL access itself.

    There are now, too many graphics standards for comfort, and
    it makes tracing what is going on with your screen, pretty
    difficult today. Hard to blame a specific thing.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 15:04:09 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/26/2024 5:43 PM, david wrote:

    So is this GDI+ stuff what Windows uses to draw on the screen?

    Gdi.dll is the basic graphics library, going back to Win95. It deals
    with working on bitmap images especially. Gdiplus.dll was added
    much later, adding additional functionality.

    This is what's called the API -- application programming interface.
    The basic role of an OS is to be a platform for software. It deals with
    the low level functioning of the hardware, making various operations
    available to programmers. There's a library for Registry read/write, file
    I/O functions, networking, and so on. Graphics is one of those
    categories.

    Over the years, Microsoft add various new libraries for new
    functionality.

    At some level, all software is using those libraries that make up
    Windows, and they may also use 3rd-party libraries. If someone writes
    code to use gdiplus.dll functions then they can depend on those
    functions working on all Windows computers back to at least Vista.
    Other functions, such as getting the path to the Temp folder, or the
    GDI functions, work all the way back to Win95. Other 3rd-party libraries,
    like the heic DLL, have to be installed and then one needs to know
    how to use them.

    Things like .Net, Java, windows scripting, and so on are simply
    wrappers around the Windows API, making it easier to access. But
    the highest efficiency is attained by calling into the API libraries
    directly.

    You could think of it like a diner. The customer asks for a steak. The waiter knows how to take the order and bring it to the cook's window.
    The cook knows how to cook a steak. Somewhere there's a rancher
    who raised the cattle. The cook is like the Win32 API, making food
    resources useful. You call into the kitchen and say, "I need a steak,
    medium rare" and the cook passes it out to the order window. You
    call into the Windows API and say, "I need a 24-bit bitmap 600x600
    pixels to draw on." The API handles that.

    At the most basic level this is about manipulating binary data with
    math. We store, retrieve, read data at memory addresses in RAM.
    We call functions to have the CPU perform operations on numeric
    values represented by bits. At the most basic level, that's all computing.
    The OS provides a higher level abstraction in order to make those
    operations more useful.



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Wed Nov 27 16:42:47 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Tue, 11/26/2024 11:04 PM, Newyana2 wrote:
    On 11/26/2024 5:43 PM, david wrote:

    So is this GDI+ stuff what Windows uses to draw on the screen?

    ˙ Gdi.dll is the basic graphics library, going back to Win95. It deals
    with working on bitmap images especially. Gdiplus.dll was added
    much later, adding additional functionality.

    ˙˙ This is what's called the API -- application programming interface.
    The basic role of an OS is to be a platform for software. It deals with
    the low level functioning of the hardware, making various operations available to programmers. There's a library for Registry read/write, file
    I/O functions, networking, and so on. Graphics is one of those
    categories.

    ˙˙˙ Over the years, Microsoft add various new libraries for new functionality.

    ˙ At some level, all software is using those libraries that make up
    Windows, and they may also use 3rd-party libraries. If someone writes
    code to use gdiplus.dll functions then they can depend on those
    functions working on all Windows computers back to at least Vista.
    Other functions, such as getting the path to the Temp folder, or the
    GDI functions, work all the way back to Win95. Other 3rd-party libraries, like the heic DLL, have to be installed and then one needs to know
    how to use them.

    ˙ Things like .Net, Java, windows scripting, and so on are simply
    wrappers around the Windows API, making it easier to access. But
    the highest efficiency is attained by calling into the API libraries directly.

    ˙ You could think of it like a diner. The customer asks for a steak. The waiter knows how to take the order and bring it to the cook's window.
    The cook knows how to cook a steak. Somewhere there's a rancher
    who raised the cattle. The cook is like the Win32 API, making food
    resources useful. You call into the kitchen and say, "I need a steak,
    medium rare" and the cook passes it out to the order window. You
    call into the Windows API and say, "I need a 24-bit bitmap 600x600
    pixels to draw on." The API handles that.

    ˙ At the most basic level this is about manipulating binary data with
    math. We store, retrieve, read data at memory addresses in RAM.
    We call functions to have the CPU perform operations on numeric
    values represented by bits. At the most basic level, that's all computing. The OS provides a higher level abstraction in order to make those
    operations more useful.

    As an attack surface, the things that kept getting patched
    on windows included: kernel, gdiplus, atmfm (something to do with kernel
    level font generation?). Practically every Patch Tuesday corrected
    some exploit related to those.

    This information comes from the wsusoffline effort. The people on that
    team, they would examine the various KB that Microsoft offered for
    an OS. They would identify the packages that had those three
    items being patched in them. If one of those packages was installed
    early in an attempt to patch up the OS, it meant Windows Update
    could truncate some supersedence trees faster. And then the
    OS would appear responsive while patching. Versus how it
    responded if you just used Microsoft tools for the job.
    (On Vista SP2, updates would never finish there, unless you
    used WsusOffline instead.)

    While gdiplus may appear to be a lowly library, the Black Hats
    love fuzzing it and breaking into it.

    A windows user doesn't need to know this stuff, except when they do.
    Any time that Windows Update gets "slow", that's when the acid flashbacks
    come back. The Windows Update problem was never fixed, so it can come
    back whenever it feels like it. It has been doing this, since WinXP.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From R.Wieser@3:633/280.2 to All on Wed Nov 27 18:05:30 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    David,

    You two talk about "GDI+" as if the rest of us know what it is! :)

    Apologies. :-)

    So is this GDI+ stuff what Windows uses to draw on the screen?

    GDI+ is for the more complex drawing stuff, and extends GDI. Basic drawing stuff (drawing windows and controls on them) can also be found in User32.

    Windows GDI+ is a class-based API for C/C++ programmers.

    Not quite. Although at that time Windows tried to push the object model
    with its methods, its API also exposed functions to do the same things.
    IOW, you could do stuff either way.

    Regards,
    Rudy Wieser



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 23:29:49 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/27/2024 12:42 AM, Paul wrote:

    As an attack surface, the things that kept getting patched
    on windows included: kernel, gdiplus, atmfm (something to do with kernel level font generation?). Practically every Patch Tuesday corrected
    some exploit related to those.

    This information comes from the wsusoffline effort. The people on that
    team, they would examine the various KB that Microsoft offered for
    an OS. They would identify the packages that had those three
    items being patched in them. If one of those packages was installed
    early in an attempt to patch up the OS, it meant Windows Update
    could truncate some supersedence trees faster. And then the
    OS would appear responsive while patching. Versus how it
    responded if you just used Microsoft tools for the job.
    (On Vista SP2, updates would never finish there, unless you
    used WsusOffline instead.)

    While gdiplus may appear to be a lowly library, the Black Hats
    love fuzzing it and breaking into it.

    A windows user doesn't need to know this stuff, except when they do.
    Any time that Windows Update gets "slow", that's when the acid flashbacks come back. The Windows Update problem was never fixed, so it can come
    back whenever it feels like it. It has been doing this, since WinXP.


    I remember the problem of Windows being attacked by JPG files.
    Just when you think it's safe to go in the water. :)

    Though I think the major issue has always been script in browsers,
    along with Flash when that was around, and remote execution software
    and services. Somehow people haven't learned that. But I guess no
    one wants to give up Remote Desktop, file sharing, online banking,
    and now online services.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Wed Nov 27 23:43:06 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/27/2024 2:05 AM, R.Wieser wrote:

    Windows GDI+ is a class-based API for C/C++ programmers.

    Not quite. Although at that time Windows tried to push the object model
    with its methods, its API also exposed functions to do the same things.
    IOW, you could do stuff either way.


    I thought that sounded odd, too. But the C++ people love classes.
    Maybe what the sentence meant was, "as contrasted to the .Net
    object model". In other words, what GDI+ is from the point of
    view of a DotNetter.


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Carlos E.R.@3:633/280.2 to All on Wed Nov 27 23:51:34 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 2024-11-27 05:04, Newyana2 wrote:
    On 11/26/2024 5:43 PM, david wrote:

    So is this GDI+ stuff what Windows uses to draw on the screen?

    ˙ Gdi.dll is the basic graphics library, going back to Win95.

    I think it goes back to version 3 at least. It is their basic design. If
    the dll wasn't there, the GDI concept was.

    It deals
    with working on bitmap images especially. Gdiplus.dll was added
    much later, adding additional functionality.

    --
    Cheers, Carlos.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Thu Nov 28 00:00:28 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Wed, 11/27/2024 7:29 AM, Newyana2 wrote:

    But I guess no one wants to give up Remote Desktop, file sharing, online banking,
    and now online services.

    Would you like to know what the three digit password is on my bank account ?
    So would I :-)

    My jaw dropped, when I'm at the bank and the teller starts
    doing a pitch for online banking. She says "lets set it up".
    She asks me "think of a three digit number that is easy
    to remember". And me, not really understanding what this
    cunning plan was, give her a three digit number. Then she
    tells me that's my password. Talk about a "luggage combo
    in Space Balls". I'm thinking of all the hackerz out there,
    waiting the retry period and typing "123" again. And after about
    999 tries, they're in. You hear a little "click" as the luggage opens.

    I sure hope they closed that luggage interface. I received
    no further communications from the bank.

    "1 2 3 - Like taking candy from a baby"

    https://www.youtube.com/watch?v=vTfNK4rN-dg

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Newyana2@3:633/280.2 to All on Thu Nov 28 01:49:06 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 11/27/2024 8:00 AM, Paul wrote:
    On Wed, 11/27/2024 7:29 AM, Newyana2 wrote:

    But I guess no one wants to give up Remote Desktop, file sharing, online banking,
    and now online services.

    Would you like to know what the three digit password is on my bank account ? So would I :-)

    My jaw dropped, when I'm at the bank and the teller starts
    doing a pitch for online banking. She says "lets set it up".
    She asks me "think of a three digit number that is easy
    to remember". And me, not really understanding what this
    cunning plan was, give her a three digit number. Then she
    tells me that's my password. Talk about a "luggage combo
    in Space Balls". I'm thinking of all the hackerz out there,
    waiting the retry period and typing "123" again. And after about
    999 tries, they're in. You hear a little "click" as the luggage opens.

    I sure hope they closed that luggage interface. I received
    no further communications from the bank.

    I actually went to my bank to block the possibility of online
    banking. They first said it was impossible. On another visit
    they said I could call the big wheels at the corporate office.
    I called and was able to block online banking.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Chris@3:633/280.2 to All on Thu Nov 28 02:30:10 2024
    Subject: Re: Please explain what heic installers are doing on Windows
    with Irfanview

    Paul <nospam@needed.invalid> wrote:
    On Tue, 11/26/2024 1:06 AM, david wrote:
    Can you please explain what is happening when I install HEIC?

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    What's going on under the covers to make this heic magic mushroom work?

    Why would you do that, when the latest GIMP has proper support.
    For pictures, it shows you how many pictures are stored inside
    an Apple file, and you can choose one to edit if you want,
    then Export as JPG for example. Export the one you selected.

    According to this, GIMP is at version 2.10 right now.

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

    That is on a lot of Linux distros, but there is also a Windows version.

    Microsoft sells a codec for the file format (since there are royalties on it to be paid),

    That's only the video codec HVEC. The image format is open and royalty
    free.



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Thu Nov 28 03:43:32 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Chris <ithinkiam@gmail.com> wrote:
    Paul <nospam@needed.invalid> wrote:
    On Tue, 11/26/2024 1:06 AM, david wrote:
    Can you please explain what is happening when I install HEIC?

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    What's going on under the covers to make this heic magic mushroom work?

    Why would you do that, when the latest GIMP has proper support.
    For pictures, it shows you how many pictures are stored inside
    an Apple file, and you can choose one to edit if you want,
    then Export as JPG for example. Export the one you selected.

    According to this, GIMP is at version 2.10 right now.

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

    That is on a lot of Linux distros, but there is also a Windows version.

    Microsoft sells a codec for the file format (since there are royalties on it
    to be paid),

    That's only the video codec HVEC. The image format is open and royalty
    free.

    Today, I happened to stumble on a reference from Synology (the
    manufacturer of my NAS), which indicates that there also is a HEVC codec
    from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer' <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    BTW, the same reference is in the IrfanView FAQ (at least in that of
    the 4.60 version).

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From =?UTF-8?B?Li4ud8Khw7HCp8KxwqTDsSA=?@3:633/280.2 to All on Thu Nov 28 05:10:05 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    Paul wrote on 11/27/24 6:00 AM:
    On Wed, 11/27/2024 7:29 AM, Newyana2 wrote:

    But I guess no one wants to give up Remote Desktop, file sharing, online banking,
    and now online services.

    Would you like to know what the three digit password is on my bank account ? So would I :-)

    My jaw dropped, when I'm at the bank and the teller starts
    doing a pitch for online banking. She says "lets set it up".
    She asks me "think of a three digit number that is easy
    to remember". And me, not really understanding what this
    cunning plan was, give her a three digit number. Then she
    tells me that's my password. Talk about a "luggage combo
    in Space Balls". I'm thinking of all the hackerz out there,
    waiting the retry period and typing "123" again. And after about
    999 tries, they're in. You hear a little "click" as the luggage opens.

    I sure hope they closed that luggage interface. I received
    no further communications from the bank.

    "1 2 3 - Like taking candy from a baby"

    https://www.youtube.com/watch?v=vTfNK4rN-dg

    Paul

    Time to change banks. My online bank requires a username, 12 digit password(UC, LC, digits, special characters) and a 7 digit code sent via
    SMS for browser access. The app can also be setup on iOS(Phone) with username/pw/SMS code for fingerprint only access.

    --
    ....wˇń§±¤ń

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: windowsunplugged.com (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Thu Nov 28 09:53:14 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Wed, 11/27/2024 1:10 PM, ...wˇń§±¤ń wrote:
    Paul wrote on 11/27/24 6:00 AM:
    On Wed, 11/27/2024 7:29 AM, Newyana2 wrote:

    But I guess no one wants to give up Remote Desktop, file sharing, online banking,
    and now online services.

    Would you like to know what the three digit password is on my bank account ? >> So would I :-)

    My jaw dropped, when I'm at the bank and the teller starts
    doing a pitch for online banking. She says "lets set it up".
    She asks me "think of a three digit number that is easy
    to remember". And me, not really understanding what this
    cunning plan was, give her a three digit number. Then she
    tells me that's my password. Talk about a "luggage combo
    in Space Balls". I'm thinking of all the hackerz out there,
    waiting the retry period and typing "123" again. And after about
    999 tries, they're in. You hear a little "click" as the luggage opens.

    I sure hope they closed that luggage interface. I received
    no further communications from the bank.

    "1 2 3 - Like taking candy from a baby"

    https://www.youtube.com/watch?v=vTfNK4rN-dg

    ˙˙˙ Paul

    Time to change banks. My online bank requires a username, 12 digit password(UC, LC, digits, special characters) and a 7 digit code sent via SMS for browser access. The app can also be setup on iOS(Phone) with username/pw/SMS code for fingerprint only access.


    This was some time ago. Maybe 1997-2000 timeframe.
    My bank was doing some catching up, because a couple
    other banks were doing online banking at the time.

    Paul



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From =?UTF-8?B?Li4ud8Khw7HCp8KxwqTDsSA=?@3:633/280.2 to All on Fri Nov 29 05:32:29 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    Paul wrote on 11/27/24 3:53 PM:
    On Wed, 11/27/2024 1:10 PM, ...wˇń§±¤ń wrote:
    Paul wrote on 11/27/24 6:00 AM:
    On Wed, 11/27/2024 7:29 AM, Newyana2 wrote:

    But I guess no one wants to give up Remote Desktop, file sharing, online banking,
    and now online services.

    Would you like to know what the three digit password is on my bank account ?
    So would I :-)

    My jaw dropped, when I'm at the bank and the teller starts
    doing a pitch for online banking. She says "lets set it up".
    She asks me "think of a three digit number that is easy
    to remember". And me, not really understanding what this
    cunning plan was, give her a three digit number. Then she
    tells me that's my password. Talk about a "luggage combo
    in Space Balls". I'm thinking of all the hackerz out there,
    waiting the retry period and typing "123" again. And after about
    999 tries, they're in. You hear a little "click" as the luggage opens.

    I sure hope they closed that luggage interface. I received
    no further communications from the bank.

    "1 2 3 - Like taking candy from a baby"

    https://www.youtube.com/watch?v=vTfNK4rN-dg

    ˙˙˙ Paul

    Time to change banks. My online bank requires a username, 12 digit password(UC, LC, digits, special characters) and a 7 digit code sent via SMS for browser access. The app can also be setup on iOS(Phone) with username/pw/SMS code for fingerprint only access.


    This was some time ago. Maybe 1997-2000 timeframe.
    My bank was doing some catching up, because a couple
    other banks were doing online banking at the time.

    Paul


    Blast from the past. At that time, the security protective measures were
    not at the forefront of implementation while malware/phishing purveyors
    were still working on Word macros and embedding tracking in html and or graphics files.
    Though not to understate the concern, even in 1997 breaches ranged from financial fraud, theft of proprietary information, and sabotage on the
    high end to computer viruses and theft of laptop computers on the low end.

    - <g>...you might even have another 47 yr old reference on those
    security concerns.

    --
    ....wˇń§±¤ń

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: windowsunplugged.com (3:633/280.2@fidonet)
  • From Brian Gregory@3:633/280.2 to All on Fri Dec 20 03:55:23 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 27/11/2024 16:43, Frank Slootweg wrote:
    Today, I happened to stumble on a reference from Synology (the manufacturer of my NAS), which indicates that there also is a HEVC codec
    from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer' <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    As I understand it that is only for systems where the device
    manufacturer already included HEVC support.

    --
    Brian Gregory (in England).

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: https://www.Brian-Gregory.me.uk/ (3:633/280.2@fidonet)
  • From =?UTF-8?B?Li4ud8Khw7HCp8KxwqTDsSA=?@3:633/280.2 to All on Fri Dec 20 08:17:06 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    Frank Slootweg wrote on 11/27/24 9:43 AM:
    Chris <ithinkiam@gmail.com> wrote:
    Paul <nospam@needed.invalid> wrote:
    On Tue, 11/26/2024 1:06 AM, david wrote:
    Can you please explain what is happening when I install HEIC?

    Is the HEIC magic only for Irfanview after that?
    Or do all image editors get to eat this heic magic muchroom dll?

    What's going on under the covers to make this heic magic mushroom work? >>>
    Why would you do that, when the latest GIMP has proper support.
    For pictures, it shows you how many pictures are stored inside
    an Apple file, and you can choose one to edit if you want,
    then Export as JPG for example. Export the one you selected.

    According to this, GIMP is at version 2.10 right now.

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

    That is on a lot of Linux distros, but there is also a Windows version.

    Microsoft sells a codec for the file format (since there are royalties on it
    to be paid),

    That's only the video codec HVEC. The image format is open and royalty
    free.

    Today, I happened to stumble on a reference from Synology (the manufacturer of my NAS), which indicates that there also is a HEVC codec
    from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer' <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    BTW, the same reference is in the IrfanView FAQ (at least in that of
    the 4.60 version).


    Two versions available.
    Free and Fee($0.99)

    Free version (released in 2017, no change since release) <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    Fee version (released in 2018, updated with additional hardware support
    and improved UWP and API compatibility for Win10 version later than 1709/16299.x(i.e. 1803/17134.x and later) <https://apps.microsoft.com/detail/9NMZLZ57R3T7>
    - iirc the updated version is the original plus licensed(to MSFT) 3rd
    party code. A percentage of the fee to the 3rd party developer for a
    limited number of years - thereafter(usually after 5 yrs) MSFT
    owns/inherits the license/code(i.e. like a short term lease/acquisition
    at lease end)


    --
    ....w¡ñ§±¤ñ

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: windowsunplugged.com (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Sat Dec 21 00:23:57 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:
    On 27/11/2024 16:43, Frank Slootweg wrote:
    Today, I happened to stumble on a reference from Synology (the manufacturer of my NAS), which indicates that there also is a HEVC codec from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer' <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    As I understand it that is only for systems where the device
    manufacturer already included HEVC support.

    I don't think so. If that was the case, I don't think it would be
    mentioned in the IrfanView FAQ, but it is, like I mentioned in the part
    you snipped:

    <unsnip>
    BTW, the same reference is in the IrfanView FAQ (at least in that of
    the 4.60 version).
    </unsnip>

    Here is the full information from the web-version of the IrfanView FAQ:

    'Frequently Asked Questions about IrfanView'
    'Section 3. Working with formats, file conversions, batch mode,
    browsing'
    <https://www.irfanview.com/faq.htm#PAGE6>

    <quote>
    Q: How to load HEIC files in IrfanView?
    A: You must install the HEVC extension/codec.
    1) If you have Windows 10/11, you can install it from Microsoft Store:
    You need to install 2 (!!) extensions from Microsoft Store: HEVC
    Video Extensions from Device Manufacturer AND HEIF Image Extensions.
    or
    2) Download and install the HEIC Codec, version 1.0.1 and later
    (Freeware, for Win7/Win8/Win10/Win11).
    HEIC Codec
    or
    3) Search on internet for the "CopyTrans HEIC" Windows codec and
    install it (Free for personal use, for Win7/Win8/Win10/Win11).
    CopyTrans HEIC Codec
    </quote>

    N.B. All mentioned components have links to where you can get them.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From knuttle@3:633/280.2 to All on Sat Dec 21 08:59:32 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 12/20/2024 8:23 AM, Frank Slootweg wrote:
    Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:
    On 27/11/2024 16:43, Frank Slootweg wrote:
    Today, I happened to stumble on a reference from Synology (the
    manufacturer of my NAS), which indicates that there also is a HEVC codec >>> from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer'
    <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    As I understand it that is only for systems where the device
    manufacturer already included HEVC support.

    I don't think so. If that was the case, I don't think it would be mentioned in the IrfanView FAQ, but it is, like I mentioned in the part
    you snipped:

    <unsnip>
    BTW, the same reference is in the IrfanView FAQ (at least in that of
    the 4.60 version).
    </unsnip>

    Here is the full information from the web-version of the IrfanView FAQ:

    'Frequently Asked Questions about IrfanView'
    'Section 3. Working with formats, file conversions, batch mode,
    browsing'
    <https://www.irfanview.com/faq.htm#PAGE6>

    <quote>
    Q: How to load HEIC files in IrfanView?
    A: You must install the HEVC extension/codec.
    1) If you have Windows 10/11, you can install it from Microsoft Store:
    You need to install 2 (!!) extensions from Microsoft Store: HEVC
    Video Extensions from Device Manufacturer AND HEIF Image Extensions.
    or
    2) Download and install the HEIC Codec, version 1.0.1 and later
    (Freeware, for Win7/Win8/Win10/Win11).
    HEIC Codec
    or
    3) Search on internet for the "CopyTrans HEIC" Windows codec and
    install it (Free for personal use, for Win7/Win8/Win10/Win11).
    CopyTrans HEIC Codec
    </quote>

    N.B. All mentioned components have links to where you can get them.
    I found something that I needed and when downloading they came down as
    HEIC images. I don't remember doing anything special and openned them
    in Irfanview. I then saved the back as jpgs

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Sat Dec 21 13:06:26 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Fri, 12/20/2024 4:59 PM, knuttle wrote:
    On 12/20/2024 8:23 AM, Frank Slootweg wrote:
    Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:
    On 27/11/2024 16:43, Frank Slootweg wrote:
    ˙˙˙ Today, I happened to stumble on a reference from Synology (the
    manufacturer of my NAS), which indicates that there also is a HEVC codec >>>> from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer'
    <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    As I understand it that is only for systems where the device
    manufacturer already included HEVC support.

    ˙˙ I don't think so. If that was the case, I don't think it would be
    mentioned in the IrfanView FAQ, but it is, like I mentioned in the part
    you snipped:

    <unsnip>
    ˙˙ BTW, the same reference is in the IrfanView FAQ (at least in that of
    the 4.60 version).
    </unsnip>

    ˙˙ Here is the full information from the web-version of the IrfanView FAQ: >>
    'Frequently Asked Questions about IrfanView'
    'Section 3. Working with formats, file conversions, batch mode,
    browsing'
    <https://www.irfanview.com/faq.htm#PAGE6>

    <quote>
    Q: How to load˙ HEIC files in IrfanView?
    A: You must install the HEVC extension/codec.
    ˙˙˙ 1) If you have Windows 10/11, you can install it from Microsoft Store: >> ˙˙˙ You need to install 2 (!!) extensions from Microsoft Store: HEVC
    ˙˙˙ Video Extensions from Device Manufacturer˙ AND˙ HEIF Image Extensions. >> ˙˙˙ or
    ˙˙˙ 2) Download and install the HEIC Codec, version 1.0.1 and later
    ˙˙˙ (Freeware, for Win7/Win8/Win10/Win11).
    ˙˙˙ HEIC Codec
    ˙˙˙ or
    ˙˙˙ 3) Search on internet for the "CopyTrans HEIC" Windows codec and
    ˙˙˙ install it (Free for personal use, for Win7/Win8/Win10/Win11).
    ˙˙˙ CopyTrans HEIC Codec
    </quote>

    ˙˙ N.B. All mentioned components have links to where you can get them.
    I found something that I needed and when downloading they came down as HEIC images.˙ I don't remember doing anything special and openned them in Irfanview.˙˙ I then saved the back as jpgs

    The HEIC is not an image format.

    It is a video format. The file can have a single video frame
    in it, or, it can have ten frames. Maybe we could think of
    it as a film strip.

    Not all image editors are architected to be video editors,
    and offer an interface to pick one of the frames for editing.
    As a result, many people only get to see the first frame, and
    are unaware exactly how many frames are in a file. Pornographic
    images could be in frame 2, frame 3 and so on. Nobody should
    have invented an image format, in the year 2024, with this capability.

    I have shown this before, in a picture of the GIMP when it
    edits a HEIC. It shows all the frames, and you click the
    one you wish to edit. In this example, the file opened is
    "example.heic" and it has two frames. GIMP is depicted showing
    thumbnails for the two frames. The user clicks one, then
    starts editing the materials.

    [Picture]

    https://i.postimg.cc/ZRWpTL1q/GIMP-opens-Apple-formats.gif

    Paul



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From David@3:633/280.2 to All on Sat Dec 21 20:37:48 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 21/12/2024 02:06, Paul wrote:
    On Fri, 12/20/2024 4:59 PM, knuttle wrote:
    On 12/20/2024 8:23 AM, Frank Slootweg wrote:
    Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:
    On 27/11/2024 16:43, Frank Slootweg wrote:
    ˙˙˙ Today, I happened to stumble on a reference from Synology (the
    manufacturer of my NAS), which indicates that there also is a HEVC codec >>>>> from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer'
    <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    As I understand it that is only for systems where the device
    manufacturer already included HEVC support.

    ˙˙ I don't think so. If that was the case, I don't think it would be
    mentioned in the IrfanView FAQ, but it is, like I mentioned in the part
    you snipped:

    <unsnip>
    ˙˙ BTW, the same reference is in the IrfanView FAQ (at least in that of >>> the 4.60 version).
    </unsnip>

    ˙˙ Here is the full information from the web-version of the IrfanView FAQ: >>>
    'Frequently Asked Questions about IrfanView'
    'Section 3. Working with formats, file conversions, batch mode,
    browsing'
    <https://www.irfanview.com/faq.htm#PAGE6>

    <quote>
    Q: How to load˙ HEIC files in IrfanView?
    A: You must install the HEVC extension/codec.
    ˙˙˙ 1) If you have Windows 10/11, you can install it from Microsoft Store: >>> ˙˙˙ You need to install 2 (!!) extensions from Microsoft Store: HEVC
    ˙˙˙ Video Extensions from Device Manufacturer˙ AND˙ HEIF Image Extensions. >>> ˙˙˙ or
    ˙˙˙ 2) Download and install the HEIC Codec, version 1.0.1 and later
    ˙˙˙ (Freeware, for Win7/Win8/Win10/Win11).
    ˙˙˙ HEIC Codec
    ˙˙˙ or
    ˙˙˙ 3) Search on internet for the "CopyTrans HEIC" Windows codec and
    ˙˙˙ install it (Free for personal use, for Win7/Win8/Win10/Win11).
    ˙˙˙ CopyTrans HEIC Codec
    </quote>

    ˙˙ N.B. All mentioned components have links to where you can get them.
    I found something that I needed and when downloading they came down as HEIC images.˙ I don't remember doing anything special and openned them in Irfanview.˙˙ I then saved the back as jpgs

    The HEIC is not an image format.

    It is a video format. The file can have a single video frame
    in it, or, it can have ten frames. Maybe we could think of
    it as a film strip.

    Not all image editors are architected to be video editors,
    and offer an interface to pick one of the frames for editing.
    As a result, many people only get to see the first frame, and
    are unaware exactly how many frames are in a file. Pornographic
    images could be in frame 2, frame 3 and so on. Nobody should
    have invented an image format, in the year 2024, with this capability.

    I have shown this before, in a picture of the GIMP when it
    edits a HEIC. It shows all the frames, and you click the
    one you wish to edit. In this example, the file opened is
    "example.heic" and it has two frames. GIMP is depicted showing
    thumbnails for the two frames. The user clicks one, then
    starts editing the materials.

    [Picture]

    https://i.postimg.cc/ZRWpTL1q/GIMP-opens-Apple-formats.gif

    Paul

    FWIW, Paul, all of my *photos* in Apple Photos are HEIC

    HTH

    --
    David

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From David@3:633/280.2 to All on Sat Dec 21 20:40:26 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On 21/12/2024 09:37, David wrote:
    On 21/12/2024 02:06, Paul wrote:
    On Fri, 12/20/2024 4:59 PM, knuttle wrote:
    On 12/20/2024 8:23 AM, Frank Slootweg wrote:
    Brian Gregory <void-invalid-dead-dontuse@email.invalid> wrote:
    On 27/11/2024 16:43, Frank Slootweg wrote:
    ˙˙˙˙ Today, I happened to stumble on a reference from Synology (the >>>>>> manufacturer of my NAS), which indicates that there also is a HEVC >>>>>> codec
    from Microsoft that is free (of charge):

    'HEVC Video Extensions from Device Manufacturer'
    <https://apps.microsoft.com/detail/9n4wgh0z6vhq>

    As I understand it that is only for systems where the device
    manufacturer already included HEVC support.

    ˙˙˙ I don't think so. If that was the case, I don't think it would be
    mentioned in the IrfanView FAQ, but it is, like I mentioned in the part >>>> you snipped:

    <unsnip>
    ˙˙˙ BTW, the same reference is in the IrfanView FAQ (at least in
    that of
    the 4.60 version).
    </unsnip>

    ˙˙˙ Here is the full information from the web-version of the
    IrfanView FAQ:

    'Frequently Asked Questions about IrfanView'
    'Section 3. Working with formats, file conversions, batch mode,
    browsing'
    <https://www.irfanview.com/faq.htm#PAGE6>

    <quote>
    Q: How to load˙ HEIC files in IrfanView?
    A: You must install the HEVC extension/codec.
    ˙˙˙˙ 1) If you have Windows 10/11, you can install it from Microsoft
    Store:
    ˙˙˙˙ You need to install 2 (!!) extensions from Microsoft Store: HEVC
    ˙˙˙˙ Video Extensions from Device Manufacturer˙ AND˙ HEIF Image
    Extensions.
    ˙˙˙˙ or
    ˙˙˙˙ 2) Download and install the HEIC Codec, version 1.0.1 and later
    ˙˙˙˙ (Freeware, for Win7/Win8/Win10/Win11).
    ˙˙˙˙ HEIC Codec
    ˙˙˙˙ or
    ˙˙˙˙ 3) Search on internet for the "CopyTrans HEIC" Windows codec and
    ˙˙˙˙ install it (Free for personal use, for Win7/Win8/Win10/Win11).
    ˙˙˙˙ CopyTrans HEIC Codec
    </quote>

    ˙˙˙ N.B. All mentioned components have links to where you can get them. >>> I found something that I needed and when downloading they came down
    as HEIC images.˙ I don't remember doing anything special and openned
    them in Irfanview.˙˙ I then saved the back as jpgs

    The HEIC is not an image format.

    It is a video format. The file can have a single video frame
    in it, or, it can have ten frames. Maybe we could think of
    it as a film strip.

    Not all image editors are architected to be video editors,
    and offer an interface to pick one of the frames for editing.
    As a result, many people only get to see the first frame, and
    are unaware exactly how many frames are in a file. Pornographic
    images could be in frame 2, frame 3 and so on. Nobody should
    have invented an image format, in the year 2024, with this capability.

    I have shown this before, in a picture of the GIMP when it
    edits a HEIC. It shows all the frames, and you click the
    one you wish to edit. In this example, the file opened is
    "example.heic" and it has two frames. GIMP is depicted showing
    thumbnails for the two frames. The user clicks one, then
    starts editing the materials.

    ˙˙˙ [Picture]

    ˙˙˙ https://i.postimg.cc/ZRWpTL1q/GIMP-opens-Apple-formats.gif

    ˙˙ Paul

    FWIW, Paul, all of my *photos* in Apple Photos are HEIC

    HTH

    How To Convert HEIC To JPG or PNG on Mac in Seconds

    https://www.youtube.com/watch?v=VAqVKwba6wU



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Sat Dec 21 22:15:07 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    knuttle <keith_nuttle@yahoo.com> wrote:
    [...]

    I found something that I needed and when downloading they came down as
    HEIC images. I don't remember doing anything special and openned them
    in Irfanview. I then saved the back as jpgs

    That was probably on Windows *11* (note the crosspost to alt.comp.os.windows-10).

    As has been mentioned before, Windows 11 has built-in HEIC support.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Sat Dec 21 23:12:54 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Paul <nospam@needed.invalid> wrote:
    [...]

    The HEIC is not an image format.

    It is a video format. The file can have a single video frame
    in it, or, it can have ten frames. Maybe we could think of
    it as a film strip.

    Indeed HEIC (uppercase) is not an image *format*, it's an image
    *codec* (High-Efficiency Image Codec, note *Image*). But it's not a
    video format, it uses a video *encoding* format.

    It's "HEIC: HEVC in HEIF", High Efficiency Video Coding in High
    Efficiency Image File Format (note *Image*).

    HEIC is a codec, HEVC is an encoding format and HEIF is a container
    format.

    So while the encoding format is (also) for video, a .heic file
    contains an image or a series of images. MIME subtypes image/heic and image/heic-sequence.

    So HEIC is not "a video format". The 'I' stands for 'Image', not the
    V' of 'Video'.

    'HEIC: HEVC in HEIF' <https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format#HEIC:_HEVC_in_HEIF>

    [...]

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Sat Dec 21 23:14:18 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Sat, 12/21/2024 6:15 AM, Frank Slootweg wrote:
    knuttle <keith_nuttle@yahoo.com> wrote:
    [...]

    I found something that I needed and when downloading they came down as
    HEIC images. I don't remember doing anything special and openned them
    in Irfanview. I then saved the back as jpgs

    That was probably on Windows *11* (note the crosspost to alt.comp.os.windows-10).

    As has been mentioned before, Windows 11 has built-in HEIC support.


    My Win11 *Home* menu, offers to "Edit in Notepad", which is surely
    an interesting option for an image format.

    Inside, I see my example.heic is full of metadata goodness.

    "x265 (build 79) - 1.9:[Linux][GCC 5.3.1][64 bit] 8bit+10bit+12bit - H.265/HEVC codec
    - Copyright 2013-2015 (c) Multicoreware Inc - http://x265.org - options: 1280x856
    fps=25/1
    bitdepth=8 wpp ctu=64 min-cu-size=8 max-tu-size=32 tu-intra-depth=2 tu-inter-depth=2
    me=3 subme=3 merange=57 rect amp max-merge=3 temporal-mvp no-early-skip rdpenalty=0
    no-tskip no-tskip-fast strong-intra-smoothing no-lossless no-cu-lossless
    no-constrained-intra no-fast-intra open-gop no-temporal-layers interlace=0 keyint=250
    min-keyint=25 scenecut=40 rc-lookahead=30 lookahead-slices=4 bframes=8 bframe-bias=0
    b-adapt=2 ref=4 limit-refs=2 limit-modes weightp weightb aq-mode=1 qg-size=32
    aq-strength=1.00 cbqpoffs=0 crqpoffs=0 rd=6 psy-rd=2.00 rdoq-level=2 psy-rdoq=1.00
    signhide deblock sao no-sao-non-deblock b-pyramid cutree no-intra-refresh rc=crf
    crf=12.0 qcomp=0.60 qpmin=0 qpmax=51 qpstep=4 ipratio=1.40 pbratio=1.30
    "

    It didn't open in my Irfanview, but the information pane says "HEVC"
    for the type. The program figured that much out.

    Clipchamp thinks the sample is a video which is four seconds long
    and consists of repeating the first image. The second image is not presented. But Clipchamp does present the image at least, so it has some amount of decoding.

    Paint did not work. Not a surprise.

    Photos App presets a completely black rectangle. a very good quality black.
    I must compliment Microsoft on their ability to get such a good looking black. The program has no controls showing. The "X" works to exit the program. OK.

    *******

    On the Win11 *Pro* setup across from me:

    Paint - opens the first frame only, not showing the second
    Photos App - opens the first frame only, not showing the second (hey, no black rectangle)
    Clipchamp - shows me an advert for signing in with an MSA
    - it won't open the content or run the program, without seeing some ID

    I would guess some fancy codec is present on the Windows 11 Pro setup,
    but not the licensed, activated, and MSA-ed Windows 11 Home machine.
    But at least Clipchamp on the Home setup (because it snarfed my MSA
    for itself), it decodes the first frame and pretends it is a
    four second long video.

    Conclusion: Alien technology from Roswell.
    Probably taken off a dead alien by the X-Files stars.

    I must toddle off to Youtube now, and make a video about
    "how I can convert an HEIC into a JPEG in seconds". With
    the FOSS GIMP of course, which would have worked on either
    machine.

    Using the Windows 11 Home setup, I can use bash shell, which
    has GIMP 2.10 in it, and it opens immediately to show the
    two frames in the example file. I can edit either picture in the
    example. The FOSS bypass works a treat.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Sun Dec 22 02:33:24 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Paul <nospam@needed.invalid> wrote:
    On Sat, 12/21/2024 6:15 AM, Frank Slootweg wrote:
    knuttle <keith_nuttle@yahoo.com> wrote:
    [...]

    I found something that I needed and when downloading they came down as
    HEIC images. I don't remember doing anything special and openned them
    in Irfanview. I then saved the back as jpgs

    That was probably on Windows *11* (note the crosspost to alt.comp.os.windows-10).

    As has been mentioned before, Windows 11 has built-in HEIC support.

    My Win11 *Home* menu, offers to "Edit in Notepad", which is surely
    an interesting option for an image format.

    Inside, I see my example.heic is full of metadata goodness.

    I don't know where you got that example.heic file from, but it
    probably isn't a simple image/picture/photo/<whatever> file.

    Below, I use a *real* .heic image file, a photo made with an iPhone:

    It didn't open in my Irfanview, but the information pane says "HEVC"
    for the type. The program figured that much out.

    IrfanView (4.60) opens and displays the .heic photo just fine.

    Clipchamp thinks the sample is a video which is four seconds long and consists of repeating the first image. The second image is not
    presented. But Clipchamp does present the image at least, so it has
    some amount of decoding.

    Clipchamp requires a Microsoft Account or other sign-in. No can do.

    Paint did not work. Not a surprise.

    Paint opens and displays the .heic photo just fine.

    Photos App presets a completely black rectangle. a very good quality black.
    I must compliment Microsoft on their ability to get such a good looking black.
    The program has no controls showing. The "X" works to exit the program. OK.

    The Photos app opens and displays the .heic photo just fine. It's the
    default for this type of file.

    *******

    On the Win11 *Pro* setup across from me:

    Paint - opens the first frame only, not showing the second
    Photos App - opens the first frame only, not showing the second (hey, no black rectangle)
    Clipchamp - shows me an advert for signing in with an MSA
    - it won't open the content or run the program, without seeing some ID

    I would guess some fancy codec is present on the Windows 11 Pro setup,
    but not the licensed, activated, and MSA-ed Windows 11 Home machine.
    But at least Clipchamp on the Home setup (because it snarfed my MSA
    for itself), it decodes the first frame and pretends it is a
    four second long video.

    Conclusion: Alien technology from Roswell.
    Probably taken off a dead alien by the X-Files stars.

    Conclusion: It seems your (Home versus) setups are mixed up. My
    Windows 11 Home works just fine.
    Your concusion seems to be quite off the mark.

    I must toddle off to Youtube now, and make a video about
    "how I can convert an HEIC into a JPEG in seconds". With
    the FOSS GIMP of course, which would have worked on either
    machine.

    Did you try IrfanView on your Windows 11 Pro machine? As Paint and
    Photos seem to work on that machine (for a single image), IrfanView will probably as well and can do the conversion to JPEG.

    [...]

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Sun Dec 22 03:22:38 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Sat, 12/21/2024 10:33 AM, Frank Slootweg wrote:


    Did you try IrfanView on your Windows 11 Pro machine? As Paint and
    Photos seem to work on that machine (for a single image), IrfanView will probably as well and can do the conversion to JPEG.

    [...]


    It's possible my sample is from here.

    https://github.com/strukturag/libheif/tree/master/examples

    example.heic

    With any luck, when you open it with your tool flow,
    you will see the two images inside the single file.
    A tool is not good enough, unless it can open every
    contorted output of an Apple device -- properly.

    [Picture]

    https://i.postimg.cc/RFGmQnP9/gimp-deb-ubuntu2404-HEIC.gif

    The scroll bar on the right of the GIMP interface (an interface
    produced custom just for .heic), allows a multitude of Apple
    frames to be displayed, and the operator can pick the one
    they want to edit.

    *******

    Using your Apple-generated HEIC and your copy of Windows Notepad,
    please open your sample.heic in Notepad and copy out the metadata section
    with the details of the CODEC used for its packing.

    You've seen my example with the "FPS 25/1" which is the
    standard method of presenting two integer numbers, which
    when divided, allows fractional frame rates. It's the
    method they use, to encode 29.97FPS in a video file, they
    use two integer numbers that when divided, equal 29.97. The
    one in the example then, is 25/1 = 25.000 FPS . The FPS is
    irrelevant, but it's part of the provided metadata.

    I believe the github project I selected, might have been
    an effort to write a driver for the file format. And maybe some
    other formats.

    I don't have an iPhone, and I can't improve on the situation
    by generating a photo locally.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Frank Slootweg@3:633/280.2 to All on Sun Dec 22 05:44:51 2024
    Subject: Re: Please explain what heic installers are doing on Windows with Irfanview

    Paul <nospam@needed.invalid> wrote:
    On Sat, 12/21/2024 10:33 AM, Frank Slootweg wrote:


    Did you try IrfanView on your Windows 11 Pro machine? As Paint and
    Photos seem to work on that machine (for a single image), IrfanView will probably as well and can do the conversion to JPEG.

    [...]


    It's possible my sample is from here.

    https://github.com/strukturag/libheif/tree/master/examples

    example.heic

    With any luck, when you open it with your tool flow,
    you will see the two images inside the single file.
    A tool is not good enough, unless it can open every
    contorted output of an Apple device -- properly.

    [Picture]

    https://i.postimg.cc/RFGmQnP9/gimp-deb-ubuntu2404-HEIC.gif

    I downloaded it and can indeed view the first image in Irfanview,
    Photos and Paint. I can not see the second image, or at least I don't
    know how I could do that with these tools, i.e. which commands to use.

    The scroll bar on the right of the GIMP interface (an interface
    produced custom just for .heic), allows a multitude of Apple
    frames to be displayed, and the operator can pick the one
    they want to edit.

    *******

    Using your Apple-generated HEIC and your copy of Windows Notepad,
    please open your sample.heic in Notepad and copy out the metadata section with the details of the CODEC used for its packing.

    For my iPhone .heic file, the metadata is completely different than
    for the example.heic file. It's difficult to copy, but for my file it
    mainly contains meta, hdlr, pict, dinf, dref,url, pitm, =iinf, many,
    many repetitions of infe and hvc1 and finally Exif, iref and ldimg.

    The 'hvc1' is probably the most relevant, because, as I mentioned, a
    HEIC image uses HEVC (High Efficiency Video Coding) as its encoding
    format.

    You've seen my example with the "FPS 25/1" which is the
    standard method of presenting two integer numbers, which
    when divided, allows fractional frame rates. It's the
    method they use, to encode 29.97FPS in a video file, they
    use two integer numbers that when divided, equal 29.97. The
    one in the example then, is 25/1 = 25.000 FPS . The FPS is
    irrelevant, but it's part of the provided metadata.

    I think the example.heic file *is* a *video*. Many of the metadata
    attributes you posted point to *video*, not image. For example not only fps=25/1, but also skip, interlace, scenecut, lookahead, bframes, etc..
    However the biggest giveaways are 'x265' and 'H.265/HEVC codec'.

    "In most ways, HEVC is an extension of the concepts in H.264/MPEG-4 AVC." (<https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding#Concept>) H.264/MPEG-4 and AVC are used in *videos*, not images.

    As you said, Clipchamp thinks it's 4 seconds long. On my system,
    Windows Media Player Legacy indeed plays the first picture for 4
    seconds. I have no other video player. The Media Player app doesn't grok
    the file, probably because the incorrect extension. And I can't use
    the Clipchamp app (no MSA). I renamed the file to .mp4 and .m4v, because
    that should be the extension, but that did not help either. (See <https://en.wikipedia.org/wiki/High_Efficiency_Video_Coding#Operating_system_support>)

    All in all, I think example.heic is a video, not an image, and hence
    should not have a .heic extension. Why the originator of that file used 'High-Efficiency *Image* Codec' as the extension of a *video* file, is
    beyond me.

    I believe the github project I selected, might have been
    an effort to write a driver for the file format. And maybe some
    other formats.

    I don't have an iPhone, and I can't improve on the situation
    by generating a photo locally.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: NOYB (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Sun Dec 22 07:30:08 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Sat, 12/21/2024 1:44 PM, Frank Slootweg wrote:
    Paul <nospam@needed.invalid> wrote:

    Using your Apple-generated HEIC and your copy of Windows Notepad,
    please open your sample.heic in Notepad and copy out the metadata section
    with the details of the CODEC used for its packing.

    For my iPhone .heic file, the metadata is completely different than
    for the example.heic file. It's difficult to copy, but for my file it
    mainly contains meta, hdlr, pict, dinf, dref,url, pitm, =iinf, many,
    many repetitions of infe and hvc1 and finally Exif, iref and ldimg.

    The 'hvc1' is probably the most relevant, because, as I mentioned, a
    HEIC image uses HEVC (High Efficiency Video Coding) as its encoding
    format.

    I tried a Google on the first identifier I saw in Notepad.
    You can see this is an Apple inspired sewer, complete with
    a dev comment that "Some parts of the spec seem to be much
    more complicated than necessary to me". Well, yes, it's an
    attempt to "shadow" what has come before. They couldn't
    just make one simple format, now could they. It has to be
    a book the size of War and Peace.

    ftypmif1

    https://github.com/strukturag/libheif/issues/83

    Generally speaking, four character ASCII sequences without
    null termination are "4CC" codes. These are common in the
    definition of a number of multimedia formats, and go back
    quite a ways historically. The format consists of packets.
    Traditionally...

    4CC Length DataDataData 4CC Length DataDataData
    <------- Packet --------> <------- Packet -------->

    Formats can support variants, and a 4CC that is not recognized
    by a parser is ignored. This allows, for example, the injection
    of "EXIF" packets, and nobody notices and nothing crashes.
    Since the packet has a Length field, the parser can
    simply step-along to the next 4CC value and try again.

    In mine, the "mdat" could be an indication of a MetaData Comment
    kind of packet. That's why your Notepad check of a legitimate
    Apple file, may have skipped putting as many "mdat" packets
    into the file.

    My file, after about 0x770 hex or so, looks more like a binary file
    and less of a packet thing. It seems to be only partially packet based.
    And that does not make a lot of sense.

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

    It's a "frand" format ("fair and reasonable"),

    "the holders of these patent rights have assured the ISO and IEC
    that they are willing to negotiate licenses under reasonable
    and non-discriminatory terms."

    so the "who is making a payment to MPEGLA" side of this format,
    seems of no concern to thinking people. However, patented formats
    normally have ripple effects on how "competitor" ecosystems
    can safely support them, without being sued and billed for
    the "reasonable" patent fee. The stink over GIF, lasted a long
    time, and its patent structure is tiny by comparison to the
    submerged iceberg that is MPEGLA.

    *******

    If I were to try to make sense of this, I would need sufficient
    sample files, to cause /etc/magic to disgorge every file type
    detection it has stored inside it. That might be one way of seeing
    what an Apple is, and whether even /etc/magic has sufficient
    logic for the "complex" spec.

    For text files, /etc/magic has *at least 100* text file types
    it can declare. If you run all the files in the Firefox source
    tarball through it, use the file command on all four hundred
    thousand source files, about 100 text file formats emerge. That's
    an example of an "interesting exercise" in just how complicated
    life is. Once I got this information, I stopped trying to convert
    the line endings to something more sane ;-/

    That's the value of these exercises, realizing you've met your match,
    and throwing in the towel.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Paul@3:633/280.2 to All on Sun Dec 22 08:27:58 2024
    Subject: Re: Please explain what heic installers are doing on Windows with
    Irfanview

    On Sat, 12/21/2024 1:44 PM, Frank Slootweg wrote:

    All in all, I think example.heic is a video, not an image, and hence
    should not have a .heic extension. Why the originator of that file used 'High-Efficiency *Image* Codec' as the extension of a *video* file, is
    beyond me.

    I got some more samples. This is the output of the Linux "file" command.

    file *.heic

    chef-with-trumpet.heic: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile
    classic-car.heic: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile
    example.heic: ISO Media, HEIF Image greyhounds-looking-for-a-table.heic: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile
    soundboard.heic: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile

    The stills are from an Android, an iPhone, from the iPad, and at
    the type resolution that Linux provides (sufficient to vector
    to a picture application), they all have the "same" format.
    They did not have the same color profile, and each one resulted
    in a notification on the screen regarding what the
    recipient wanted to do with the color profile (keep or convert).

    The example.heic is definitely different, but the Linux typing is non-committal.

    Paul

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)