Jump to content

Blurring a GIF


wctltya

Recommended Posts

If your display supports pixel read back it should be possible to write a routine that cycles through the pixels of the display and averages them using the gdisp api. Averaging in a 2x2 square or a 3x3 square should look reasonable. It would probably not be fast.

Without pixel read back it is not possible to do it generically. It would be possible but complex for images but it would require altering the image decoder itself which would in turn require modification of the ugfx library itself. 

Link to comment
Share on other sites

4 hours ago, inmarket said:

Without pixel read back it is not possible to do it generically.

One solution is to render the image into a pixmap and then access and modify the pixel data through high-level API that is actually available for that. But that would obviously require you to have enough memory to create a pixmap of the required size.

Link to comment
Share on other sites

Just now, wctltya said:

BTW how is going the pallete implementation for GIF, is it will be available soon?

We implemented the palette support for BMP as part of a commercial product development (paid support). Initially the project called for both BMP and GIF support but at the end everything was realized with just BMP images so there's nothing done on GIF so far and there's nothing on the schedule / ToDo list for that.

As we're currently building a huge pile of things we have to do here on the forum I wouldn't expect anything like that to happen any time soon. But please don't hesitate to contact us if you want us to get it done ASAP as part of paid support.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...