Re: using imlib2 to display images doesn't seem to work correctly
Mathias Gumz <[email protected]>
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <[email protected]> |
hello, > I've found an odd issue where some images don't display using imlib_render_image_on_drawable() on fluxbox, but work fine elsewhere. it is a bit unclear to me, what problem you are describing: a) you feed pictures into fluxbox (eg. to render buttons on the windows) and fluxbox is not able to draw them correctly. b) you feed pictures into your own program and your own program is not able to render these pictures onto a canvas (drawable). amd, as a conicidence, you happen to experience this when you run your program inside fluxbox. > Many larger images (like from my camera) work fine, but the problem can be recreated with these: > http://fluxbox.org/screenshots/screenshots_full/screenshot_bobbens.png > http://fluxbox.org/screenshots/screenshots_full/screenshot_zan.png what are these pictures showing? or do you feed these pictures into your program, guessing that you really mean b) and not a)? > Using imlib_render_image_on_drawable_at_size() using the size of the image does always display the image correctly, it's in the test case after the failing call. I tried turning off the cache, both in the small test application and in fluxbox (src/FbTk/ImageImlib2.cc), but that doesn't make any difference. I'm typically doing this under VNC, it works fine on mwm and the Fedora-standard gnome/metacity desktop - I only see this problem using the testcase on fluxbox. you disabled the imlib2-cache in fluxbox to achieve what effect in your app (again guessing, that you want to solve b))? maybe you can clarify your problem a little bit better. best regards, mathias -- [uid] mathias gumz [mail] akira at fluxbox dot org [pgp] 1024D/F6F6B18C [www] http://www.darkshed.net/ [irc] ak|ra (#fluxbox at freenode.org) ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Fluxbox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fluxbox-users