Well, the task wil not work with any future Java releases since the internal APIs are not comming back.
Meanwhile, a quick search shows that while there is quite a lot activity with image io, there is no equivalent of JAI.create() for image transformations (on which the image task is based). Maybe something to pitch to Sanselan/Commons Imaging? Gintas 2018-01-29 10:28 GMT+01:00 Stefan Bodewig <bode...@apache.org>: > On 2018-01-29, Gintautas Grigelionis wrote: > > > So, what can we do about com.sun.image.codec.jpeg that is finally gone in > > Java 9? > > BTW, I looked into the package dependencies in Java 8, and > > com.sun.image.codec.jpeg needs sun.awt.image.codec which in turn has JNI > to > > native libraries. > > The possible alternatives seem to be using ImageIO/Java 2D or dropping > the > > task completely. > > Note the tasks don't work with Java9? > > Rewriting the tasks is certainly an option (but unlikely that we'll make > it for the coming release), but IMHO there is no reason to remove the > tasks altogether if they work for Java8. > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > >