Announcement

Collapse
No announcement yet.

JXL Modular Mode is missing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    JXL Modular Mode is missing

    I think earlier versions of Irfanview had support for saving JXL files using Modular Mode, but it seems that this feature has disappeared in the newest release?

    edit: The check box does still exist, but is hidden for some reason... I can use Resource Hacker to make the check boxes visible again.

    Is "Modular Mode" too confusing for users? It's the alternative mode to the JPEG-like DCT mode, which has very different kinds of compression artifacts. It's good for non-photographic images.
    Last edited by Dwedit; 05.09.2023, 05:46 PM.

    #2
    How to add the check boxes back in:

    Get Resource Hacker
    Using Resource Hacker, open "C:\Program Files\IrfanView\Plugins\Jpeg_XL.dll"
    Double click on "Dialog", click on "⭐1223:3079"
    Look for the line "CONTROL "Force modular mode (for quality < 100)", after it says "WS_CHILD", type in " | WS_VISIBLE" (don't type any quotes)
    You can also do the same for the line "CONTROL "Keep original &EXIF data (if JPG to JXL)" if you want to.
    Press "F5" (or click the green play button thing) to compile the dialog again
    File -> Save As, and save it somewhere else (because you don't have write permissions to C:\program files)
    Open "C:\Program Files\IrfanView\Plugins" in windows explorer
    Copy-Paste your modified DLL in there

    If it is okay to post it, I've also created a modified DLL already using the above steps. But if the moderators aren't okay with posting DLL files here (due to security concerns), that's alright too. Link to pre-modified DLL. Just extract it somewhere, then copy-paste it into "C:\Program Files\IrfanView\Plugins".

    Comment


      #3
      The dialog would be less confusing if the "modular mode" was one of the choices in the radio button group. Named "hybrid" or something that we can relate to from other codecs. It is not at all clear what modular means in this context.

      Comment


        #4
        The modular mode is the lossless compression mode of JXL. Please keep in mind that JXL is still under development and it's not finalized yet.

        Comment


          #5
          The usual mode (VARDCT) is JPEG-like, and divides the image into blocks, then discrete cosine transform is used to compress them. It's just like JPEG and many other video codecs. It will have similar compression artifacts to JPEG. For example, if a block contains strong edges, there will be noise elsewhere inside the block, especially visible at the boundary between two blocks.

          The "Modular" mode is not JPEG-like at all. It is based on the "FLIF" (Free Lossless Image Format) compression format. It has different kinds of compression artifacts than VARDCT, and is better for non-photo images, such as line drawings or computer generated images.

          While "Modular" mode is used when you ask for lossless compression, it supports lossy compression as well.
          Last edited by Dwedit; 11.09.2023, 11:07 AM.

          Comment


            #6
            Wouldn't it be better to wait for the final version of JXL?
            Last edited by Winnie2; 11.09.2023, 03:28 PM.

            Comment


              #7
              I've been following the JXL library project, and it hasn't changed all that much since June 2022. You could make "Modular mode" images in that version of the library just fine.

              Comment


                #8
                Dwedit
                Ok, but this is a user support forum. For any change to the program you have to send a e-mail to the developer.

                Comment

                Working...
                X