2007-11-05 Sebastien Pouliot <[email protected]>
* Image.cs: Add test cases for the stream position when loading and
saving bitmaps and metafiles. Some of them are based on Gert Driesen
samples in #338779
In System.Drawing.Imaging:
2007-11-05 Sebastien Pouliot <[email protected]>
* Metafile.cs: Stream position is not moved for metafiles.
In System.Drawing:
2007-11-05 Sebastien Pouliot <[email protected]>
* gdipFunctions.cs: Add a bool parameter to GdiPlusStreamHelper ctor
to move, or not, the stream position to load/save images.
* Image.cs: Stream position is moved to 0 when loading images from
stream but isn't moved for saving an image to a stream. Fix part of
#338779 (except that Image.FromFile behave differently for metafiles)
svn path=/trunk/mcs/; revision=88916