-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I am testing converting images to GIF. I have 50 images (5 seconds with 10 fps) and every image size is 1000x750. Adding all images to encoder takes me about two minutes. This is my code:
var gifEncoder = new GifEncoder(outputStream, (int) width, (int) height, 0);
var imageOption = new ImageOptions();
imageOption.setDelay(delay, TimeUnit.MILLISECONDS);
for (var image : images) {
var rgb = ....
gifEncoder.addImage(rgb, imageOption);//this line code is very slow
}
Could anyone say how to fix this problem?
Metadata
Metadata
Assignees
Labels
No labels