Commit Graph
153 Commits
Author SHA1 Message Date
Jordi Mas i Hernandez d34e25c9e7 more image methods implemented
svn path=/trunk/mcs/; revision=24848
2004-03-31 15:15:18 +00:00
Jordi Mas i Hernandez c4330b9186 added missing members and complete the wrapper
svn path=/trunk/mcs/; revision=24641
2004-03-26 17:53:51 +00:00
Jordi Mas i Hernandez 5a48761f6e fixes image and bmp dpi
svn path=/trunk/mcs/; revision=24521
2004-03-24 14:52:41 +00:00
Jordi Mas i Hernandez 55cb57557c bmp encoder /decoder enhancements and bug fixing
svn path=/trunk/mcs/; revision=24334
2004-03-19 17:25:27 +00:00
Sanja Gupta 3a46ddd8ef ChangeLog: Updated ChangeLog
Metafile.cs: Corrected the signature for constructor

svn path=/trunk/mcs/; revision=23682
2004-03-04 05:46:05 +00:00
Nick Drochak 33ca9a2f45 2004-03-04 Nick Drochak <[email protected]>
* Metafile.cs: Fix build, remove duplicate member.

svn path=/trunk/mcs/; revision=23680
2004-03-04 04:06:37 +00:00
Sanja Gupta 16e0d2166a ChangeLog: Updated ChangeLog
ImageAttributes.cs: Added few missing functions
Metafile.cs: Added stubs for missing constructors and functions

svn path=/trunk/mcs/; revision=23653
2004-03-03 14:48:31 +00:00
Nick Drochak 93613b1a23 2004-03-03 Nick Drochak <[email protected]>
* BmpCodec.cs: Remove unsed variable.

svn path=/trunk/mcs/; revision=23651
2004-03-03 13:48:26 +00:00
Ravindra b9f8467779 Few bug fixes in EncoderParameter.cs and file format changed to unix.
svn path=/trunk/mcs/; revision=23160
2004-02-17 06:05:52 +00:00
Sanja Gupta 2531d682a4 ChangeLog: Updated ChangeLog
FrameDimension.cs: Implemented missing functionalities.

svn path=/trunk/mcs/; revision=23053
2004-02-13 10:11:10 +00:00
Ravindra 8f28c89441 Implemented EncoderParameter.cs and EncoderParameters.cs.
svn path=/trunk/mcs/; revision=23026
2004-02-12 14:34:59 +00:00
Jordi Mas i Hernandez a14a96df2b fixes GdiGetFamilyName
svn path=/trunk/mcs/; revision=22687
2004-02-02 08:37:37 +00:00
Jordi Mas i Hernandez 923c104ea5 Syncs StructLayout with GdipBitmapData at bitmap.c. Bug fix
svn path=/trunk/mcs/; revision=22675
2004-02-01 18:19:54 +00:00
Jordi Mas i Hernandez fe395ca826 serveral methods added, serveral fixes, and test case
svn path=/trunk/mcs/; revision=22390
2004-01-22 10:41:03 +00:00
Jordi Mas i Hernandez e0360a4155 fixes bmp encode, implements a few bitmap members
svn path=/trunk/mcs/; revision=22262
2004-01-19 17:40:26 +00:00
Ravindra 36421a5fc5 Implemented Encoder.cs.
svn path=/trunk/mcs/; revision=22252
2004-01-19 15:08:21 +00:00
Ravindra ed6b9ca7c3 Made all Enums serializable and corrected some class declarations.
svn path=/trunk/mcs/; revision=21900
2004-01-10 09:43:58 +00:00
Peter Dennis Bartok 8cde8f43fc * Added Dispose()
* Added SetColorMatrix() stubs

svn path=/trunk/mcs/; revision=20452
2003-11-26 04:04:17 +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 e667d1c4ea BGR to RGB function
svn path=/trunk/mcs/; revision=19920
2003-11-12 21:41:30 +00:00
Alexandre Pigolkine bb033e86c8 convert BGR to RGB, PNG codec fixed
svn path=/trunk/mcs/; revision=19917
2003-11-12 21:20:52 +00:00
Miguel de Icaza 8b419bd8ae Build fixes
svn path=/trunk/mcs/; revision=19612
2003-11-04 13:38:47 +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 d42edaabb1 warning removed
svn path=/trunk/mcs/; revision=18926
2003-10-12 21:01:59 +00:00
Alexandre Pigolkine c907a90d5e cosmetic changes
svn path=/trunk/mcs/; revision=16867
2003-07-30 02:25:46 +00:00
Alexandre Pigolkine a3ccb895c1 png codec added
svn path=/trunk/mcs/; revision=16545
2003-07-22 19:54:16 +00:00
Andreas N 41fdc7c50d 2003-07-21 Andreas Nahr <[email protected]>
* Metafile.cs: Inherits from image (fix for System.Drawing.Design)

svn path=/trunk/mcs/; revision=16502
2003-07-21 21:04:02 +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 ae4de52ff9 specify member variable through "this" in .ctor
svn path=/trunk/mcs/; revision=16303
2003-07-16 07:01:43 +00:00
Miguel de Icaza cba96846a4 XrFunctions are now complete and match the Xr implementation.
Changed coding conventions to Mono coding conventions.

svn path=/trunk/mcs/; revision=16188
2003-07-14 06:26:50 +00:00
Alexandre Pigolkine 33ef867cb3 handle 32bpp images
svn path=/trunk/mcs/; revision=15729
2003-06-29 22:19:16 +00:00
Alexandre Pigolkine d68085bfaa encode 32 bpp images
svn path=/trunk/mcs/; revision=15694
2003-06-27 22:00:57 +00:00
Alexandre Pigolkine 24771a4339 pixel format for InternalImageInfo
svn path=/trunk/mcs/; revision=15690
2003-06-27 18:14:46 +00:00
Alexandre Pigolkine 815b68f252 bpp check in JPEGCodec
svn path=/trunk/mcs/; revision=15592
2003-06-23 23:51:24 +00:00
Alexandre Pigolkine 51964d6e93 pixel format check added, Jpeg encoder implemented
svn path=/trunk/mcs/; revision=15591
2003-06-23 23:39:57 +00:00
Alexandre Pigolkine 6492840010 small fix
svn path=/trunk/mcs/; revision=15467
2003-06-17 22:48:20 +00:00
Alexandre Pigolkine d150f157be first version of codecs
svn path=/trunk/mcs/; revision=15395
2003-06-15 00:06:47 +00:00
Alexandre Pigolkine a47e80ab7d switch to unix line terminators
svn path=/trunk/mcs/; revision=15394
2003-06-15 00:00:01 +00:00
Miguel de Icaza 388a9792ae Fix build
svn path=/trunk/mcs/; revision=8637
2002-10-28 23:29:01 +00:00
Dennis Hayes 8e590adc31 added and implmented
svn path=/trunk/mcs/; revision=8629
2002-10-28 17:43:05 +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
Gonzalo Paniagua Javier cc1d059ed0 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added new files.
	* System.Drawing.Imaging/MetafileType.cs: implemented missing enum.

svn path=/trunk/mcs/; revision=7415
2002-09-12 22:47:25 +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
Dennis Hayes 0f54d4b16f 2002-9-2 DennisHayes <[email protected]>
* ColorPalette.cs
* FrameDimension.cs
* Metafile.cs
* Added stubs, implmentation

svn path=/trunk/mcs/; revision=7405
2002-09-12 18:24:39 +00:00
Miguel de Icaza abd850053f Get the build to go
svn path=/trunk/mcs/; revision=4277
2002-05-04 16:10:59 +00:00
Mike Kestner bcaddc00a8 Reactivate System.Drawing build. Bugfixes and stubbing of non-trivial
build breakers.

from System.Drawing/ChangeLog

2002-05-03  Mike Kestner <[email protected]>

	* Bitmap.cs : using System.IO
	* ColorTranslator.cs : Stubbed off build breakers.
	* Image.cs : Stub off IDisposable and ICloneable.

from System.Drawing.Imaging/ChangeLog

2002-05-03  Mike Kestner  <[email protected]>

	* Metafile.cs : Use System.IO. Fix exception typos.

svn path=/trunk/mcs/; revision=4254
2002-05-03 17:47:11 +00:00
Christian Meyer 744f90d9d5 Ximian is new copyright holder now.
svn path=/trunk/mcs/; revision=4080
2002-04-27 07:34:21 +00:00
Dennis Hayes a9415cb366 * Corrected Enum Values. *
svn path=/trunk/mcs/; revision=4009
2002-04-23 22:12:09 +00:00
Christian Meyer f6b0eaa121 Added ChangeLog file.
svn path=/trunk/mcs/; revision=3807
2002-04-14 13:21:47 +00:00