Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-07

Question about fcl-image package

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

James Buren

I've looked through the source of this thing and the means it has for scaling an image does not appear to be anti-aliased as I would require for my usage which is for icon scaling to a consistent dimension. From what I can tell, a C library called Imlib2 appears to provide what I need, but fcl-image appears to be preferred over this, but it does not appear to have everything I need. Am I overlooking a feature in fcl-image that would give me the scaling quality that I need?

Reply by email

Michael Van Canneyt
to James Buren
James Buren wrote 7 lines
I've looked through the source of this thing and the means it has for scaling an image does not appear to be anti-aliased as I would require for my usage which is for icon scaling to a consistent dimension. From what I can tell, a C library called Imlib2 appears to provide what I need, but fcl-image appears to be preferred over this, but it does not appear to have everything I need. Am I overlooking a feature in fcl-image that would give me the scaling quality that I need?

Well, no doubt you saw that there are various scaling algorithms. You can select the one you need, and if none of the available mechanisms suits you, you could write your own ?

Michael.

Reply by email