> My intention is that nano-X is doing anywhere twice a malloc > to reserve > memory for the picture. I don't know where.
You do, of course, realise that issues with nano-X are outside the remit of this forum. At this point, it is now "traditional" for me to pitch in a recount some tale of woe about my experiences using nano-X. Suffice to say, I did not find it very effective. If your hardware can support it, I'd strongly advocate looking closely at a kdrive/tiny-X solution instead... > I think a solution for the > problem is to load the picture in many tiles. I searched > therefore in the > docs and I found Fl_Tile_Image. Is this suitable or do I have > to write my No, that does the wrong thing for you - it tiles the entire window with one small image, e.g. for filing in a textured background or etc. > derived class "picturebox" which draws the picture in tiles? This might work, or you might be able to draw the image data into the Fl_Box yourself in a way that is more efficient than what is currently happening. > And is there any hint to do so? Not as such. This how-to touches on some of the issues, so there might be something there that helps, but it does not address the issue of "tiling" your data. I'm not sure that tiling will necessarily help, either, unless you can ensure that each small tile is released before the next one is allocated, or something... http://www.fltk.org/articles.php?L468 SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

