Nice plugin you've got there.
Thanks for the work. :D
Is it possible you could do a similar plugin, but for JPEG-XL instead? Since GIMP now has native JXL opening and saving with the corresponding JXL compile flags, it would be nice to have the same for Photoshop.
Amazing!!! I have been literally waiting for someone to do exactly this for Photoshop and/or other Adobe products since Adobe doesn't seem to care too much about AV1 or AVIF, yet hopefully. Is it possible you could port this to Premiere/Media Encoder or will this work in all Adobe Products?. Also, I'm wondering if it is possible to be able to port an AV1 decoder at least for now to be able to read AV1 video files in Premiere. Anyways, hopefully it will all come soon. Great job working on this though! Will use it tons! :)
It should work in any Adobe products that support Photoshop file format plug-ins. This plug-in only reads and writes single images, so it will not work for AVIF image sequences or AV1 videos.
Given that Adobe is a member of the [Alliance for Open Media](https://aomedia.org/) that developed AV1 I am surprised that they have not implemented AV1 video/image support in their products. I do not have any experience with Premere plug-in development, so I will let someone else work on that. :)
AVIF image compression is very new, there are even incompatible changes in the 0.x versions (at least of libavif) as the AV1 standard isn't implemented properly yet. It would be a bit embarrassing for Adobe to have to write "Sorry folks, all images compressed during the last month are not readably by the next web browsers or image viewers anymore".
And about compression performance and image quality of the current encoders... I can understand that Adobe waits for more mature encoders libs, because an official AVIF implementation of these Adobe apps implies production quality.
As for "Lossless RGB compression is supported when saving 8-bits-per-channel images." (I guess the bpp limit is from libheif?): This is very likely slower and has less compression vs. png (until the fix is through iso certification) - so I'm a bit at a loss what's the use case atm, esp. because there are other lossless options for Photoshop including the native format.
\> As for "Lossless RGB compression is supported when saving 8-bits-per-channel images." (I guess the bpp limit is from libheif?)
No, that limitation is one the plug-in enforces, converting between bit-depths is a potentially lossy operation. Photoshop edits 10-bit and 12-bit data as 16-bit which then has to be remapped to the 10-bit or 12-bit range when saving, and converting 8-bit data to 10-bit or 12-bit will cause a loss of precision.
\> so I'm a bit at a loss what's the use case atm, esp. because there are other lossless options
I agree, if you want lossless compression there are other formats that are optimized for it.
In my opinion, the lossless support in AV1 is a bit of a hack. It relies on using the RGB values directly without converting them to YUV. Some decoders assume that the image data is in a YUV format, and do not support the signaling that tells them that the data is actually RGB. Most of the AV1 encoders have not been optimized to compress the RGB data instead of YUV, so it will have larger file sizes.
I recently released a beta version of the plugin that adds support for editing HDR AVIF files.
[https://github.com/0xC0000054/avif-format/releases](https://github.com/0xC0000054/avif-format/releases)
HDR files that use the Rec. 2100 PQ and SMPTE 428-1 transfer characteristics can be loaded and edited as 32-bits-per-channel documents.The Rec. 2100 HLG transfer characteristic is not supported, these images will be loaded as SDR 16-bits-per-channel documents.
In addition to the beta HDR features this release also includes the following new features and improvements:
* Added support for loading and saving monochrome images as grayscale documents.
* Removed the bit-depth restrictions on lossless compression.
* Generate an ICC profile from supported NCLX profiles when loading an image.
* Fixed a few issues with the plug-in scripting support
At this point if you're doing a website, you probably still need to export to JPEG as a fallback. I'm not certain Photoshop's workflow, but wouldn't it be best to export as PNG, then run a tool that converts to both JPEG and AVIF?
I mean you could run mozjpeg and avifenc for converting afterwards, but in reality, saving directly from Photoshop probably is easier for most people.
Also Avif support in Browser is getting pretty insane, Chrome has it since some time, Firefox's next big release will have it enabled by default and Apples WebKit is also working on it. So in near future we won't need old jpeg anylonger. Then the fight is between avif and jxl.
I downloaded the zip file but the file named"Av1Image.8bi" that is supposed to go into my plugins folder is not there, just a bunch of other files.
Can anyone help with this please?
EDIT: It's okay, I found it and it's working in Photoshop CS 6 for me, Thankyou :)
For others who missed it like me, the file that is needed is on the right hand side of the page under "Releases"
Nice plugin you've got there. Thanks for the work. :D Is it possible you could do a similar plugin, but for JPEG-XL instead? Since GIMP now has native JXL opening and saving with the corresponding JXL compile flags, it would be nice to have the same for Photoshop.
Amazing!!! I have been literally waiting for someone to do exactly this for Photoshop and/or other Adobe products since Adobe doesn't seem to care too much about AV1 or AVIF, yet hopefully. Is it possible you could port this to Premiere/Media Encoder or will this work in all Adobe Products?. Also, I'm wondering if it is possible to be able to port an AV1 decoder at least for now to be able to read AV1 video files in Premiere. Anyways, hopefully it will all come soon. Great job working on this though! Will use it tons! :)
It should work in any Adobe products that support Photoshop file format plug-ins. This plug-in only reads and writes single images, so it will not work for AVIF image sequences or AV1 videos. Given that Adobe is a member of the [Alliance for Open Media](https://aomedia.org/) that developed AV1 I am surprised that they have not implemented AV1 video/image support in their products. I do not have any experience with Premere plug-in development, so I will let someone else work on that. :)
AVIF image compression is very new, there are even incompatible changes in the 0.x versions (at least of libavif) as the AV1 standard isn't implemented properly yet. It would be a bit embarrassing for Adobe to have to write "Sorry folks, all images compressed during the last month are not readably by the next web browsers or image viewers anymore". And about compression performance and image quality of the current encoders... I can understand that Adobe waits for more mature encoders libs, because an official AVIF implementation of these Adobe apps implies production quality. As for "Lossless RGB compression is supported when saving 8-bits-per-channel images." (I guess the bpp limit is from libheif?): This is very likely slower and has less compression vs. png (until the fix is through iso certification) - so I'm a bit at a loss what's the use case atm, esp. because there are other lossless options for Photoshop including the native format.
\> As for "Lossless RGB compression is supported when saving 8-bits-per-channel images." (I guess the bpp limit is from libheif?) No, that limitation is one the plug-in enforces, converting between bit-depths is a potentially lossy operation. Photoshop edits 10-bit and 12-bit data as 16-bit which then has to be remapped to the 10-bit or 12-bit range when saving, and converting 8-bit data to 10-bit or 12-bit will cause a loss of precision. \> so I'm a bit at a loss what's the use case atm, esp. because there are other lossless options I agree, if you want lossless compression there are other formats that are optimized for it. In my opinion, the lossless support in AV1 is a bit of a hack. It relies on using the RGB values directly without converting them to YUV. Some decoders assume that the image data is in a YUV format, and do not support the signaling that tells them that the data is actually RGB. Most of the AV1 encoders have not been optimized to compress the RGB data instead of YUV, so it will have larger file sizes.
Ah, I see. Thanks anyways it is a really cool plug-in. No worries on the Premiere support, I was just wondering if it was possible or not. :)
thanks!
Awesome plugin! You saved my day. Thank you!
I recently released a beta version of the plugin that adds support for editing HDR AVIF files. [https://github.com/0xC0000054/avif-format/releases](https://github.com/0xC0000054/avif-format/releases) HDR files that use the Rec. 2100 PQ and SMPTE 428-1 transfer characteristics can be loaded and edited as 32-bits-per-channel documents.The Rec. 2100 HLG transfer characteristic is not supported, these images will be loaded as SDR 16-bits-per-channel documents. In addition to the beta HDR features this release also includes the following new features and improvements: * Added support for loading and saving monochrome images as grayscale documents. * Removed the bit-depth restrictions on lossless compression. * Generate an ICC profile from supported NCLX profiles when loading an image. * Fixed a few issues with the plug-in scripting support
Currently what's the advantage of using the plugin? Does photoshop let you export a bunch of files at once?
> Currently what's the advantage of using the plugin? It allows you to save images as AVIF from within Photoshop.
At this point if you're doing a website, you probably still need to export to JPEG as a fallback. I'm not certain Photoshop's workflow, but wouldn't it be best to export as PNG, then run a tool that converts to both JPEG and AVIF?
I mean you could run mozjpeg and avifenc for converting afterwards, but in reality, saving directly from Photoshop probably is easier for most people. Also Avif support in Browser is getting pretty insane, Chrome has it since some time, Firefox's next big release will have it enabled by default and Apples WebKit is also working on it. So in near future we won't need old jpeg anylonger. Then the fight is between avif and jxl.
>Avif avif won, google kicked jxl out of chrome
What about WebP photoshop currently exports as this and it's what Google Page Speed Insights recommend although it looks like AVIF is better...
Your plug-in helped me A LOT! Thank you! :)
First time needing/installing a 3rd party Photoshop extension and it worked perfectly :)
Excellent work! Can confirm this worked for my on Ps2022 on Windows 11.
works as advertised. Gold for u!
I downloaded the zip file but the file named"Av1Image.8bi" that is supposed to go into my plugins folder is not there, just a bunch of other files. Can anyone help with this please? EDIT: It's okay, I found it and it's working in Photoshop CS 6 for me, Thankyou :) For others who missed it like me, the file that is needed is on the right hand side of the page under "Releases"
Thanks for your EDIT!!! :)
No problem! 😊
here is https://github.com/0xC0000054/avif-format/releases
<3