Forum > Other
Fast image manipulation
(1/1)
wildhemp:
Hi all!
I'm porting a project form delphi and I used TBitmap.Scanline in that, but Lazarus doesn't support it. Could somebody tell me another way for fast image manipulation?
Wildhemp
fatg:
Hi, Scanline is not supported, you have to use Pixels to access the image data.
See http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=84 for more details.
Vincent Snijders:
TBitmap.ScanLine has been discussed on the mailing list too:
http://www.lazarus.freepascal.org/list_archives/lazarus/msg01661.html
Lightning:
We should implement some fast method of accesing whole images and i have an ideea on how to do that, i also wanted to copy whole pixels not just lines even in Delphi and there are some units on the web that do this, an ideea would be to look at the .tga 2 loader from delphi3d.net, i also made something similar for a game specific raw bitmap.
Navigation
[0] Message Index