Please add an overload to CreateGdPictureImageFromStream to allow the api to utilize an existing Stream without making a copy of it, such as when using a pre-existing MemoryStream, or FileStream. Currently GdPicture will always make a copy of the stream, and is a problem when working with large files (300 DPI / hundred pages or so).
This parameter would behave like the one in CreateGdPictureImageFromFile
Add loadIntoMemory parameter to CreateGdPictureImageFromStream
Re: Add loadIntoMemory parameter to CreateGdPictureImageFromStream
Hi,
In my opinion there is no sense to do that. A steam is an abstraction of a data flow, if you need to copy data into memory before loading, just create a memorystream and pass such stream to the mentioned method.
With best regards,
Loïc
In my opinion there is no sense to do that. A steam is an abstraction of a data flow, if you need to copy data into memory before loading, just create a memorystream and pass such stream to the mentioned method.
With best regards,
Loïc
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest