#Has anyone here ideas how to make good looking Gif's?

1 messages ยท Page 1 of 1 (latest)

restive rampartBOT
#

<@&987246399047479336> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#
TJ-Bot
I have a list of BufferedImages and want to merge them into a gif (animated)... But somehow it adds some aliasing while doing it...

One way to create high-quality GIFs from BufferedImages in Java is by using the ImageIO class to write the images to an output stream, such as ByteArrayOutputStream. You can then use a library like GifSequenceWriter (available on GitHub) to combine the images into an animated GIF.

To avoid aliasing issues, make sure you are using a high enough resolution for your BufferedImages and consider using anti-aliasing techniques when creating or scaling the images. You may also want to experiment with different compression settings when writing the GIF file to balance file size and image quality.

Another option is to use a library like JCodec, which provides more control over encoding parameters and may give you better results for creating animated GIFs from BufferedImages.

Overall, it's important to experiment with different approaches and settings to find the best combination for creating high-quality GIFs without aliasing issues in Java.

ruby venture
#

I think you'll always get that edge effect because there's no alpha channel on gifs. The advice for that is choose a back ground color closer to the edge color. As for the flicker in your main image, seems like that is something you're doing before saving the images.

weary citrus
#

Indeed, gif only has a single bit of alpha

#

If you want to do this I suggest looking at apng

restive rampartBOT
#

@weak sail

Your question has been closed due to inactivity.

If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.

Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.

When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.

Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.

With enough info, someone knows the answer for sure ๐Ÿ‘

weary citrus
#

You're probably going to need a third party library

restive rampartBOT
#

Closed the thread.