Add before LoadFromFile:
    myPict.GetDescriptionFromDevice(0);

Reason:
TLazIntfImage needs the image format (bit depth, colors, ...) of the
target (your screen).

This works well, thanx!

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to