we have problems using "stream methods" like GdPictureImaging.SaveAsStream
In Delphi the signature looks like this:
Code: Select all
function SaveAsStream(ImageID: Integer; const Stream: _Stream; ImageFormat: DocumentFormat; EncoderParameter: Integer): GdPictureStatus; safecall;
Does anybody know how to use or create a "_Stream" object in Delphi?
For images (GdPictureImaging) there is a SaveAsString method instead, why there is no SaveAsSting in GdPicturePDF (and LoadFromString)?
Thanks!