wctltya Posted February 19, 2017 Report Share Posted February 19, 2017 Is there a way to blur a gif image? Or is it possible to blur an area/ or window, no matter what is the actually displayed? Link to comment Share on other sites More sharing options...
inmarket Posted February 20, 2017 Report Share Posted February 20, 2017 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 More sharing options...
Joel Bodenmann Posted February 20, 2017 Report Share Posted February 20, 2017 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 More sharing options...
wctltya Posted February 20, 2017 Author Report Share Posted February 20, 2017 (edited) Thank you inmarket and Joel. BTW how is going the palette implementation for GIF, is it will be available soon? Edited February 20, 2017 by wctltya Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted February 20, 2017 Report Share Posted February 20, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now