Do we really have to magnify all of the image if afterwards only a small portion of the magnified image fits on the screen? For me that feels like an use of something similar to wxScrolled: wxScrolled tells you what part of the image to render, you render that part and the rest happens by some magic the operating system offers.
Unfortunately wxScroleld itself chokes on too big virtual areas to scroll in as GTK3 does do so when volunteering the magic that on scrolling moves all parts of the displayed area that can be re-used after scrolling, then requests the areas that aren't cached, currently (only the pixels that are visible on the screen are cached). Afterwards that magic copies the resulting bitmap to the screen; if the wxScrolled is only updated when wxWidgets issues an idle event that feels both speedy and allows real work to be done in the background. Am 23. Januar 2022 13:51:05 MEZ schrieb "[email protected]" <[email protected]>: >I had misunderstood some memory use info, to conclude the images there were >using 16 bytes per pixel. Actually it is only 3 bytes. >The actual measure of the limit past which it fails is 2**27 pixels in the >magnified image. I was incorrect thinking that was 2GB. >So it makes even less sense than when I first looked for it. I can't see >anything either in hugin or in wxImage that should be bothered by having >over 2**27 pixels. But as soon as the magnified image is larger than that, >it doesn't get displayed at all (wxImage correctly creates the large image >in memory, but it doesn't display). > >-- >A list of frequently asked questions is available at: >http://wiki.panotools.org/Hugin_FAQ >--- >You received this message because you are subscribed to the Google Groups >"hugin and other free panoramic software" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >To view this discussion on the web visit >https://groups.google.com/d/msgid/hugin-ptx/4c71e3c2-4ea4-4d6b-8b8e-e6d61bc159a9n%40googlegroups.com. -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/BADF64A5-A45A-41D0-8EA6-08BA08A79F70%40gmail.com.
