Recent

Author Topic: Taking BGRABitmap to the next level  (Read 3310 times)

PeteS

  • New Member
  • *
  • Posts: 14
Taking BGRABitmap to the next level
« on: October 27, 2011, 08:33:02 pm »
The more I use it the more I find BGRABitmap to be a superb addition to Lazarus.  Well done again to all concerned, especially Circular.  :D

For myself, trying to write a photo editing tool, two things would really help:

1.  Much faster jpeg loading than using BM.LoadFromFile(fn).  Maybe there is already another way that I don't know about?

2.  Multi-threaded resampling, especially for downsizing.  Many screens are not much more than 1.3 MP, while many of the newer digicams are 18 and 24 MP.

I have no idea where to start with the first, but if someone can point me in the right direction I might have a bash at the second.

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: Taking BGRABitmap to the next level
« Reply #1 on: October 27, 2011, 09:18:39 pm »
Thanks.

Well for jpeg, you may use another algorithm from another library.

For 2, I think that you would need clipped resample functions.
« Last Edit: October 27, 2011, 09:53:12 pm by circular »
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018