[Lazarus] TPicture.LoadFromStream error

Leonardo M. Ramé l.rame at griensu.com
Fri Nov 5 15:46:01 CET 2010


Hi, I'm loading PGM files to an TImage.Picture using its LoadFromFile or LoadFromStream methods.

This works well on small to medium sized images, but I'm getting an
"EReadErrorEReadError" exception if I try to load images of 16mb or more.

Does anyone knows how can I workaround this?.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list