Graeme Geldenhuys wrote:

Can't you use one of the Interpolation classes defined in FPCanvas?
There are already something like 7-10 different ones to choose from.
Maybe create a new Interpolation class that simulates non-antialiasing
if one doesn't already exist?

Units in fcl-image:
  fpcanvas.pp
  extinterpolation.pp


Just a thought.

And a very interesting thought :-) Do you have (a reference to) any examples?

The really important thing in the current case is sharpness: I'm enlarging a bitmap that might contain two hex characters fitted into 8x14 to make them bigger rather than prettier, so residual blockiness isn't too much of a problem.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to