Commit Graph
19 Commits
Author SHA1 Message Date
Sebastien Pouliot 1d9fe5bef1 ImageCodecInfo.cs: Remove MonoTODO on SignaturePatterns.
svn path=/trunk/mcs/; revision=70674
2007-01-08 20:54:56 +00:00
Sebastien Pouliot e214dca885 2006-11-22 Sebastien Pouliot <[email protected]>
* 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
2006-11-22 19:43:27 +00:00
Sebastien Pouliot 9ee85364cf 2006-05-21 Sebastien Pouliot <[email protected]>
* ColorAdjustType.cs: Removed [Serializable] from 2.0 profile.
	* ColorChannelFlag.cs: Removed [Serializable] from 2.0 profile.
	* ColorMapType.cs: Removed [Serializable] from 2.0 profile.
	* ColorMatrixFlag.cs: Removed [Serializable] from 2.0 profile.
	* ColorMode.cs: Removed [Serializable] from 2.0 profile.
	* EmfPlusRecordType.cs: Removed [Serializable] from 2.0 profile.
	* EmfType.cs: Removed [Serializable] from 2.0 profile.
	* EncoderParameterValueType.cs: Removed [Serializable] from 2.0 
	profile.
	* EncoderValue.cs: Removed [Serializable] from 2.0 profile.
	* ImageCodecFlags.cs: Removed [Serializable] from 2.0 profile.
	* ImageCodecInfo.cs: Removed [Serializable] from 2.0 profile.
	* ImageFlags.cs: Removed [Serializable] from 2.0 profile.
	* ImageLockMode.cs: Removed [Serializable] from 2.0 profile.
	* Metafile.cs: Removed [Serializable] from 2.0 profile.
	* MetafileFrameUnit.cs: Removed [Serializable] from 2.0 profile.
	* MetafileType.cs: Removed [Serializable] from 2.0 profile.
	* PixelFormat.cs: Removed [Serializable] from 2.0 profile.
	* PlayRecordCallback.cs: Removed [Serializable] from 2.0 profile.


svn path=/trunk/mcs/; revision=60925
2006-05-21 14:34:22 +00:00
Sebastien Pouliot a501449550 2006-01-27 Sebastien Pouliot <[email protected]>
* ImageAttributes.cs: Ensure Marshal.FreeHGlobal is called for all 
	unmanaged memory allocated with AllocHGlobal.
	* ImageCodecInfo.cs: Ensure Marshal.FreeHGlobal is called for all 
	unmanaged memory allocated with AllocHGlobal.


svn path=/trunk/mcs/; revision=56183
2006-01-27 19:29:31 +00:00
Jordi Mas i Hernandez 8f9c22ce10 Zoltan's fixes of SD marshalling in AMD64
svn path=/trunk/mcs/; revision=38108
2004-12-27 17:31:16 +00:00
Marek Safar f405a09600 removed unused variables
svn path=/trunk/mcs/; revision=36532
2004-11-25 10:11:32 +00:00
Sachin Kumar 15a49e8b92 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29667
2004-06-16 06:32:39 +00:00
Sanja Gupta ef1ee6e268 ImageCodecInfo.cs: Removed unwanted characters which crept in bcos of my carelessness.
svn path=/trunk/mcs/; revision=26148
2004-04-28 13:37:06 +00:00
Sanja Gupta 6c4e289c38 ChangeLog: Updated ChangeLog
Modified Files: Converted from dos2unix format

 Modified Files:
 	BitmapData.cs ChangeLog ColorAdjustType.cs ColorChannelFlag.cs
 	ColorMap.cs ColorMapType.cs ColorMatrix.cs ColorMatrixFlag.cs
 	ColorMode.cs ColorPalette.cs EmfPlusRecordType.cs EmfType.cs
 	Encoder.cs EncoderParameter.cs EncoderParameterValueType.cs
 	EncoderParameters.cs EncoderValue.cs FrameDimension.cs
 	ImageAttributes.cs ImageCodecFlags.cs ImageCodecInfo.cs
 	ImageFlags.cs ImageFormat.cs ImageLockMode.cs MetaHeader.cs
 	Metafile.cs MetafileFrameUnit.cs MetafileHeader.cs
 	MetafileType.cs PaletteFlags.cs PixelFormat.cs
 	PlayRecordCallback.cs PropertyItem.cs
 	WmfPlaceableFileHeader.cs

svn path=/trunk/mcs/; revision=26145
2004-04-28 13:21:54 +00:00
Jordi Mas i Hernandez acf920e23f Codecs use gdi+ and fixes
svn path=/trunk/mcs/; revision=26123
2004-04-28 09:08:30 +00:00
Vladimir Vukicevic 2a17599938 Note: Some functionality is (temporarily) lost from System.Drawing --
reading bmp files is not yet implemented, and only png files can be
written.  Support for the rest will show up in the next few days.

* gdipFunctions.cs: Added stream delegate helpers for
stream loading/saving on linux

* Image.cs, Bitmap.cs: Converted to call into GDIPlus for
loading/saving image data.

* BitmapData.cs: synced up data structure with libgdiplus

* BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
left just codecinfo getters; the codecs are in libgdiplus

* ImageCodecInfo.cs: removed encode/decode delegates

svn path=/trunk/mcs/; revision=25083
2004-04-06 09:05:48 +00:00
Andreas N 37809261cd 2003-11-13 Andreas Nahr <[email protected]>
* ColorMap.cs: Implemented
	* ColorMatrix.cs: Implemented, Removed unneccesary members
	* ImageAttributes.cs: Fixed signature
	* ImageCodecInfo.cs: Added missing attribure, hide constructor
	* ImageFormat.cs: Implemented, Added attribute
	* MetaHeader.cs: Implemented
	* PropertyItem.cs: Implemented
	* ImageFlags.cs: Added Attribute
	* ImageCodecFlags.cs: Added Attribute
	* EmfPlusRecordType.cs: Added missing members

svn path=/trunk/mcs/; revision=19972
2003-11-13 22:37:11 +00:00
Alexandre Pigolkine 74a08e4969 codec can select pixel format of bitmap
svn path=/trunk/mcs/; revision=19557
2003-11-02 20:41:19 +00:00
Miguel de Icaza 52bad3e3db In Short:
Updated System.Drawing, lots of cleanups.
	Added JPEG encoder/decoder back to Bitmap.
	We can load and save images again.
	Still need work to support all formats, everywhere
	PNG codec broken (but at least its plugged back).

2003-10-23  Miguel de Icaza  <[email protected]>

	* bitmap.c (GdipCreateBitmapFromScan0): Do not allocate buffer
	here, expect that our caller to allocate that.

	Do not compute the stride here, expect our caller to do this
	properly.

	* Use the Mono coding conventions.

2003-10-23  Miguel de Icaza  <[email protected]>

	* Image.cs: Kill the InternalImageInfo, everything is now done in
	terms of Image and BitmapData.

	* Rectangle.cs: Make this one also sequential, change from using
	Point + Size to use x, y, width, height;  So we can use GdiPlus.

	* gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
	BitmapData class argument, and instead use the [In,Out]
	attributes, which will do struct marshalling on the fields.   Now
	we can use C#'s BitmapData directly to talk to Gdiplus.

	* gdipStructs.cs: Every internal structure that has to talk to
	Gdi+ is properly prefixed, to minimize the confussion.

	* Bitmap.cs Bitmap (int width, int height, PixelFormat format):
	Compute the stride here where we have the BPP information,
	allocate a buffer of the proper size, and pass this to
	GdipCreateBitmapFromScan0

	* Image.cs: Implement Dispose pattern.

2003-10-23  Miguel de Icaza  <[email protected]>

	* JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
	we will just have the JPEG library copy directly into our buffer.

	(Encode, Decode): Ported to the new model which avoid copies, and
	eliminates InternalImageInfo.

	TODO: need to port the PNG coder/decoder, and add support for RGBA
	images which got dropped from this version

	* BmpCodec.cs: Rework this one to use BitmapData and Image.  Do
	not use the RawBytes property, instead pull the data one line at a
	time, and write that out.

	* ImageCodecInfo.cs: Make the encoding and decoding delegates take
	a Image parameter;

	* BmpCodec.cs:

	* BitmapData.cs: Make this one sequential, and also mimic the
	layout of GdiPlus.h so we can use this instead of making copies
	back and forth.

svn path=/trunk/mcs/; revision=19354
2003-10-24 05:05:30 +00:00
Alexandre Pigolkine a3ccb895c1 png codec added
svn path=/trunk/mcs/; revision=16545
2003-07-22 19:54:16 +00:00
Gonzalo Paniagua Javier 80f92eedd5 Added a few CLSCompliant attributes needed
svn path=/trunk/mcs/; revision=16362
2003-07-18 00:07:26 +00:00
Alexandre Pigolkine a47e80ab7d switch to unix line terminators
svn path=/trunk/mcs/; revision=15394
2003-06-15 00:00:01 +00:00
Dennis Hayes 2176ccd445 2002-9-2 DennisHayes <[email protected]>
* 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
2002-09-13 17:39:47 +00:00
Dennis Hayes 5f79974ab1 2002-9-2 DennisHayes <[email protected]>
* checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
	* BitmapData.cs
	* ColorAdjustType.cs
	* ColorChannelFlag.cs
	* ColorMap.cs
	* ColorMapType.cs
	* ColorMatrix.cs
	* ColorMatrixFlag.cs
	* ColorMode.cs
	* EmfPlusRecordType.cs
	* EmfType.cs
	* EncoderParameterValueType.cs
	* EncoderValue.cs
	* ImageCodecFlags.cs
	* ImageCodecInfo.cs
	* ImageFlags.cs
	* ImageFormat.cs
	* ImageLockMode.cs
	* MetafileFrameUnit.cs
	* MetafileHeader.cs
	* MetaHeader.cs
	* PaletteFlags.cs
	* PixelFormat.cs
	* PlayRecordCallback.cs
	* PropertyItem.cs
	* WmfPlaceableFileHeader.cs
	* Added null classes for most/all classes, Many stubs, and some implmentation

svn path=/trunk/mcs/; revision=7406
2002-09-12 18:30:13 +00:00