java - APNG support for javaFX -
after searching found 2 interesting answers:
but see javafx doesn't support apng images.how solve problem external library or write code.i need solution on that...
thanks help.
there no apng support in javafx 8.
use 3rd party library decode apng, extract frames , metadata it, convert javafx images , play them using javafx's animation support:
- google apng decoder java.
- choose java library decodes apng format.
- apply same solution roland demonstrates in: how can stop animated gif in javafx?
or pre-convert apng files gifs:
- google apng gif converter.
- choose utility converts apngs gifs.
- convert apngs used application gifs.
- in javafx application use converted gifs rather apngs.
Comments
Post a Comment