On Wed, 14 Oct 2026 17:27:37 GMT, Sergey Bylokhov <[email protected]> wrote:

> > The plugin is baseline only.
> 
> Sorry I missed a reason for this, I have pointed that just support of 
> progressive encoding make this plugin non-baseline. The initial reason you 
> posted "ImageIO's native JPEG library is compiled to support baseline JPEG 
> only." is wrong, is there any other reason?
> 
> > Any processing of 16 bit quantization tables can legitimately be disabled
> 
> This can be attempted to be disabled, but it also means that the current 
> version of the plugin is non-baseline, and the patch drops that functionality 
> which is currently supported by the plugin and even mentioned in the spec.
> 
> > There is no need to edit the libjpeg.
> 
> I'll post a test to show that the current clamping does not affect the table 
> saved in the image metadata, so even after that patch the plugin will be 
> non-baseline.

That does not make the plugin non-baseline.
It definitively cannot support anything other than 8 bit samples and was never 
intended to. I know this for a fact.
The public API is not the same thing as the plugin. Everything in com.sun and 
all the native code is the plugin.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/33217#discussion_r4274229815

Reply via email to