Einzelnen Beitrag anzeigen

Smaraner
(Gast)

n/a Beiträge
 
#1

Antialiasing Schriftart lesbar machen

  Alt 17. Nov 2014, 19:06
Hallo,

ich passe per Image.Proportional PNG Dateien in eine feste Image größe ein. Dadurch leidet ja auch die Schrift.

Deshalb wollte ich das Bild Antialiasen:

Delphi-Quellcode:
procedure TFormViewer.lbl1Click(Sender: TObject);
var
  oPNG :TPNGImage;
begin
  try
  oPNG := TPNGImage.Create;

    oPNG.LoadFromFile(imggrosspfad);
    imggross.Picture.Bitmap.Assign(oPNG);
    Antialiasing(imggross.Picture.Bitmap, Rect(0, 0, imggross.Width, imggross.Height), 2);

  finally
    oPNG.Free;
  end;
end;
und http://www.delphipraxis.net/8954-antialiasing.html

Wie bekomme ich es jetzt hin das eine Schriftart wie z.B. Times New Roman noch lesbar ist?

unbenannt.png
  Mit Zitat antworten Zitat