...everything else (layers, paint stages, zooming) remains, but instead of image just W and H.
Usable for tile editors, gigapixel photos. It would be extremely cool if the dimensions can exceed limitations on TBitmap32.
TImgView32, with scrollbars, zooming, layers and coordinate conversion, is a cool base for these applications. But the background is not just a TBitmap32, but is painted programmatically. In these four applications the background is:
1. Transparency pattern.
2. Tiled background.
3. Pieces of photo that are actually loaded.
4. Solid background.
Here TBitmap32 is just a waste of memory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In 2005 we used TImgView32 for an in-house tile editor. We mechanically copied TImgView32 to TImgView0 and disposed of TBitmap32, having added ImageWidth and ImageHeight instead. But this is not an option for an open-source product; the simplest solution is a flag somewhere in TCustomImage32. More complex is rethinking object structure, but I don’t know how.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you please provide further examples/specifications/patches?
1. Photoshop (with checquered transparency pattern).
2. Tile editor for computer games.
3. Gigapixel photo viewer.
4. CAD-like software.
TImgView32, with scrollbars, zooming, layers and coordinate conversion, is a cool base for these applications. But the background is not just a TBitmap32, but is painted programmatically. In these four applications the background is:
1. Transparency pattern.
2. Tiled background.
3. Pieces of photo that are actually loaded.
4. Solid background.
Here TBitmap32 is just a waste of memory.
In 2005 we used TImgView32 for an in-house tile editor. We mechanically copied TImgView32 to TImgView0 and disposed of TBitmap32, having added ImageWidth and ImageHeight instead. But this is not an option for an open-source product; the simplest solution is a flag somewhere in TCustomImage32. More complex is rethinking object structure, but I don’t know how.