resources, also clone the underlying stream, since it needs to stay
around for the life of the image (gdi doesn't clone the underlying
stream when cloning images, so when the gc disposes the original, it
will also dispose the stream, which invalidates the clone).
* System.Drawing/Bitmap.cs: Save the underlying stream when creating bitmaps from a
clone under win32
* System.Drawing.Imaging/Metafile.cs: Save the underlying stream when creating from a
clone under win32
[fixes#438886]
2008-11-21 Andreia Gaita <[email protected]>
svn path=/trunk/mcs/; revision=119580
to tabs, and removed extra tabs.
* EncoderParameter.cs: Changed argument names to match MS. Changed
spaces to tabs, and removed extra tabs.
* ImageAttributes.cs: Changed argument names to match MS. Changed
spaces to tabs, and removed extra tabs.
* Metafile.cs: Changed argument names to match MS. Changes spaces to
tabs, and removed extra tabs. Fixed typo in MonoLimitation text.
svn path=/trunk/mcs/; revision=104031
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
* Metafile.cs: Reduce size by reusing more complex ctors. Add Linux
support to metafile recoding with the new delegate-based functions.
svn path=/trunk/mcs/; revision=76344
* ImageAttributes.cs: Better MonoTODO description.
* ImageCodecInfo.cs: Add MonoTODO description.
* Metafile.cs: Use a single MonoTODO on the class itself. MoMA will
detect and report that every ctors/methods/properties are throwing
NotImplementedException.
* MetafileHeader.cs: Use a single MonoTODO on the class itself. MoMA
will detect and report that every ctors/methods/properties are
throwing NotImplementedException.
svn path=/trunk/mcs/; revision=68365
* PropertyItem.cs t
* MetaHeader.cs t
* MetafileHeader.cs t
* Metafile.cs t
* ImageFormat.cs t
* ImageCodecInfo.cs t
* ColorMatrix.cs t
* ColorMap.cs t
* WmfPlaceableFileHeader.cs t
* Added todos back
svn path=/trunk/mcs/; revision=7435