Improve export as JPEG

Hi

I’m aware about “Application X has this, so Krita must have it, too” chapter in Developing features so Ok, I won’t just ask for same feature.
I’ll try to explain why the GIMP feature I’m asking for can be useful in Krita too :slight_smile:

One very useful thing in GIMP that really miss me in Krita (and I still use GIMP for this) is the preview JPEG export.

Basically, it’s the checkbox “Show preview in image window” in GIMP Jpeg export dialog box:

When checked:

  • The final JPEG file size is known before export
    – If file is too big, it’s possible to play with quality and advanced option to affine export configuration
  • Final exported JPEG image is displayed in window (in other terms, you can see JPEG compression artifacts before export)
    – Very useful to be able to affine export option to get the best compression result/image quality with acceptable JPEG compression artifacts and to see what different advanced options really does

In few words, this option just allows you to tune JPEG export options without having to save export, open exported file, check files size/quality, close it, change configuration export,and repeat this again and again and again until the right configuration hs been found

Also for example, krita-artist.org doesn’t accept files for which size is larger than 3.00MB (but also some other websites), this feature could be time saving when exporting as JPEG.

Grum999

Being able to add a comment in the JPG while exporting is also a big plus in GIMP as we can add keywords to help our images’ browser (like digikam or XnView) to “categorize” our jpg, or just add a copyleft/right, or any comment if we want

To see the exports stats on any file format too would make sense also I imagine.

Krita 5.1 will likely have this. And not just for JPEG but all web formats.

:thinking:
On my side I manage this in dedicated software (Darktable, I left Digikam some years ago because it became a all-in-one-super-buggy-gas-plant… maybe it’s better and more stable now but…)

Currently, from Krita you can export some EXIF/IPTC information in JPEG but for what I saw, right fields are not properly feed during export…

For me it doesn’t matter because if I have to put keywords and other EXIF/IPTC/XMP things in a JPEG file, I do it in a third party software dedicated to classification and for which where I can do mass actions.

Are you talking about metadata? Or live preview impact of export options? :slight_smile:

Grum999

Live preview for exporting for JPEG, PNG, GIF, WEBP and APNG

:star_struck:

I’ve finally made a python plugin for this on my side and didn’t published it for some reason, but if Krita will support it natively, there’s no reason to finalize it for public usage so :sweat_smile:

Grum999

There is nothing wrong with releasing a python plugin if it is pretty much ready. Python plugins allow old versions to use features and they can also be helpful as a guide for those developing other python plugins or native krita development.

For example, I plan to also release a python plugin maybe today or tomorrow(not for this), and it is a total rushed mess and is mostly a prototype but some might find it useful so…

You’re right…

I’ll try to finalize it this week so…

Grum999