1 2008-11-21 Andreia Gaita <shana@jitted.com>
3 * Metafile.cs: Save the underlying stream when creating from a
4 clone under win32 (fixes #438886)
6 2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
8 * ColorPalette.cs, ImageFormat.cs: Remove unneeded field
9 initialization to their default values.
10 [Found using Gendarme AvoidUnneededFieldInitializationRule]
12 2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
14 * FrameDimension.cs: Fix double-cast in Equals (found using Gendarme).
15 Then fixed a lot of other things while creating unit tests for it.
17 2008-07-14 Sebastien Pouliot <sebastien@ximian.com>
19 * ImageAttributes.cs: Fix GetAdjustedPalette using new (and correct)
22 2008-06-23 Sebastien Pouliot <sebastien@ximian.com>
24 * ImageAttributes.cs: Call CheckStatus in GetAdjustedPalette before
25 trying to set the palette (since the values could be bad).
26 [Partial fix for #402172]
28 2008-05-14 Sebastien Pouliot <sebastien@ximian.com>
30 * EncoderParameters.cs: Don't downcast an IntPtr to an Int32.
31 [Found using Gendarme]
33 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
35 * ImageCodec.jvm.cs: fixed bitmap resolution
37 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
39 * Metafile.cs: Stream position is not moved for metafiles.
41 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
43 * ImageAttributes.cs: Remove TODO for ColorMatrixFlags and Gray
44 ColorMatrix support methods. Add TODO on some stuff not supported by
45 libgdiplus (so MoMA reports gets more accurate). Fix coding style.
47 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
49 * EncoderParameter.jvm.cs: removed destructor,
50 Dispose doesn't throw exception.
52 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
54 * Metafile.cs: Reduce size by reusing more complex ctors. Add Linux
55 support to metafile recoding with the new delegate-based functions.
57 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
59 * Metafile.cs: Complete all ctors (except for stream-based one outside
60 Windows) with calls into GDI+.
62 2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
64 * MetaHeader.cs: Make workaround (#81254) permanent and return correct
65 values on big endian architectures.
67 2007-03-28 Sebastien Pouliot <sebastien@ximian.com>
69 * MetaHeader.cs: Workaround bug #81254 where the SPARC architecture
70 can't use the misaligned integer in the structure (with Pack=2).
72 2007-03-14 Sebastien Pouliot <sebastien@ximian.com>
74 * MetafileHeader.cs: WmfHeader is available on non-placeable WMF too.
76 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
78 * MetafileHeader.cs: WmfHeader throws if the metafile isn't a WMF (e.g.
79 EMF, EMF+ or EMF dual).
81 2007-03-09 Sebastien Pouliot <sebastien@ximian.com>
83 * MetafileHeader.cs: Fix offset to match correct C definition.
85 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
87 * Metafile.cs: Implement a few cases required to playback metafiles.
88 * MetafileHeader.cs: Implemented.
89 * MetaHeader.cs: Implemented.
90 * WmfPlaceableFileHeader.cs: Adjust packing.
92 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
94 * ImageAttribute.cs: Reuse code in SetColorMatrix overloads.
96 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
98 * ImageCodecInfo.cs: Remove MonoTODO on SignaturePatterns.
100 2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
102 * ImageAttributes.cs: Better MonoTODO description.
103 * ImageCodecInfo.cs: Add MonoTODO description.
104 * Metafile.cs: Use a single MonoTODO on the class itself. MoMA will
105 detect and report that every ctors/methods/properties are throwing
106 NotImplementedException.
107 * MetafileHeader.cs: Use a single MonoTODO on the class itself. MoMA
108 will detect and report that every ctors/methods/properties are
109 throwing NotImplementedException.
111 2006-10-31 Sebastien Pouliot <sebastien@ximian.com>
113 * MetaHeader.cs: Fix layout (order is important in sequential structs)
114 and use the struct field names;
115 * WmfPlaceableFileHeader.cs: Implement all TODO.
117 2006-09-14 Sebastien Pouliot <sebastien@ximian.com>
119 * BitmapData.cs: Change fields visibility to private as they either
120 have get/set properties or shouldn't be used in managed code (as they
121 do not exists when using MS GDI+). Added more warnings comments.
123 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
125 * BitmapData.cs: Invert left and top fields to be in sync with gdip.h
127 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
129 * ColorMatrix.cs: Add Alloc and Free method helpers for interop.
130 * ImageAttributes.cs: Fix all methods accepting a ColorMatrix (i.e.
131 which calls GdipSetImageAttributesColorMatrix) to use IntPtr instead
132 of the ColorMatrix itself.
134 2006-07-19 Sebastien Pouliot <sebastien@ximian.com>
136 * ImageFormat.cs: Re-fixed ToString method to match MS output when
137 the ImageFormat instance comes from the static properties. Create the
138 default ImageFormat on demand (and avoid creating 10 instances of
139 ImageFormat in the static ctor).
141 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
143 * ImageFormat.cs: Avoid double-cast in Equals method.
145 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
147 * ImageFormat.cs: Fixed ToString method to match MS output.
149 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
151 * ColorAdjustType.cs: Removed [Serializable] from 2.0 profile.
152 * ColorChannelFlag.cs: Removed [Serializable] from 2.0 profile.
153 * ColorMapType.cs: Removed [Serializable] from 2.0 profile.
154 * ColorMatrixFlag.cs: Removed [Serializable] from 2.0 profile.
155 * ColorMode.cs: Removed [Serializable] from 2.0 profile.
156 * EmfPlusRecordType.cs: Removed [Serializable] from 2.0 profile.
157 * EmfType.cs: Removed [Serializable] from 2.0 profile.
158 * EncoderParameterValueType.cs: Removed [Serializable] from 2.0
160 * EncoderValue.cs: Removed [Serializable] from 2.0 profile.
161 * ImageCodecFlags.cs: Removed [Serializable] from 2.0 profile.
162 * ImageCodecInfo.cs: Removed [Serializable] from 2.0 profile.
163 * ImageFlags.cs: Removed [Serializable] from 2.0 profile.
164 * ImageLockMode.cs: Removed [Serializable] from 2.0 profile.
165 * Metafile.cs: Removed [Serializable] from 2.0 profile.
166 * MetafileFrameUnit.cs: Removed [Serializable] from 2.0 profile.
167 * MetafileType.cs: Removed [Serializable] from 2.0 profile.
168 * PixelFormat.cs: Removed [Serializable] from 2.0 profile.
169 * PlayRecordCallback.cs: Removed [Serializable] from 2.0 profile.
171 2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
173 * PaletteFlags.cs: corcompare fixes for 2.0. Add [Flags] and remove
176 2006-04-20 Peter Dennis Bartok <pbartok@novell.com>
178 * BitmapData.cs: Updated to match the BitmapData structure
179 from libgdiplus r59689.
181 2006-04-19 Peter Dennis Bartok <pbartok@novell.com>
183 * BitmapData.cs: Updated to match the BitmapData structure
184 from libgdiplus r59661.
186 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
188 * ImageAttributes.cs: SetColorKey(color, color) now calls the
189 color,color,ColorAdjustType.
191 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
193 * ColorPalette.cs, EncoderParameters.cs, EncoderParameter.cs,
194 ImageAttributes.cs: 64bit cleanup and some simplifications
196 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
198 * ImageAttributes.cs: Ensure Marshal.FreeHGlobal is called for all
199 unmanaged memory allocated with AllocHGlobal.
200 * ImageCodecInfo.cs: Ensure Marshal.FreeHGlobal is called for all
201 unmanaged memory allocated with AllocHGlobal.
203 2005-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
205 * ImageCodec.jvm.cs: fixed ProcessOneCodec, sometime it was failed
206 on parsing version of codec
208 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
210 * ImageCodec.jvm.cs: fixed WriteImage, removed flush
213 2005-11-17 Raja R Harinath <rharinath@novell.com>
215 * ColorMatrix.cs: Make it have Sequential layout.
217 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
219 * ImageCodec.jvm.cs: refactoring.
221 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
223 * ImageCodec.jvm.cs: Fixed error handling in codecs emumeration flow
225 2005-11-13 Kornél Pál <kornelpal@hotmail.com>
227 * ImageFormat.cs: Fixed ToString to use this.Equals to reflect argument
228 changes to ImageFormat objects. Added Exif and Icon strings to ToString
229 and reordered formats to match declaration.
231 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
233 * ImageCodec.jvm.cs: throw an exception if codec is not found.
235 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
237 * ImageFormat.cs: Fixes ToString method
239 2005-09-27 Vladimir Krasnov <vladimirk@mainsoft.com>
241 * ImageCodec.jvm.cs: implemented IDsposable,
242 fixed NativeReader, NativeWriter, NativeStream
244 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
246 * Metafile.jvm.cs: implement abstact Clone
248 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
250 * EncoderParameter.cs, EncoderParameters.cs: Calling GC.SuppressFinalize
251 from the Dispose method; fixes bug #76329
253 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
255 * ImageCodec.jvm.cs: refactoring of read/write methods, members access levels
257 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
259 * ImageCodecInfo.jvm.cs: fixed ImageCodec namespace
260 * ImageCodec.jvm.cs: refactoring of read/write methods
262 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
264 * ImageCodecInfo.jvm.cs: fixed GetValueFromMetadata, SetResolution
266 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
268 * ImageCodecInfo.jvm.cs: Refactoring
269 * Added ImageCodec.jvm.cs
271 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
273 * ImageCodecInfo.jvm.cs: Fixed Iterate
275 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
277 * ImageCodecInfo.jvm.cs: implement via java imageio, add internal APIs for
278 fast read-only requests
279 * Methafile.jvm.cs: change in not implemented api to match image.jvm.cs
281 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
283 * Metafile.jvm.cs: add TARGET_JVM implementation
285 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
287 * ColorPalette.cs, FrameDimension.cs, EncoderParameters.cs: TARGET_JVM
288 exclude not supported internal methods
289 * EncoderParameter.jvm.cs, ImageAttributes.jvm.cs, ImageFormat.jvm.cs,
290 ImageCodecInfo.jvm.cs: added TARGET_JVM implementation of these classes
292 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
294 * ColorPalette.cs: fixes ColorPalette marshaling
296 2004-03-21 Jordi Mas i Hernadez <jordi@ximian.com>
298 * ColorMatrix.cs: fixes Matrix00 init
299 * ImageAttributes.cs: fixes dispose method and signature
301 2004-02-25 Jordi Mas i Hernadez <jordi@ximian.com>
303 * ColorMatrix.cs: rewritten to be able to marshall it properly
305 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
307 * ImageCodecInfo.cs: Fix marshalling of arrays on amd64.
309 2004-11-25 Marek Safar <marek.safar@seznam.cz>
311 * ColorPalette.cs: Add CheckStatus to GetAdjustedPalette.
313 2004-11-03 Miguel de Icaza <miguel@ximian.com>
315 * ColorPalette.cs: Add internal Clone method
317 2004-10-08 Ravindra <rkumar@novell.com>
319 * BitmapData.cs: Synchronized the class with BitmapData struct
322 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
324 * EmfPlusRecordType.cs: fixed mismatches in enum field values
326 2004-05-18 Jordi Mas i Hernadez <jordi@ximian.com>
327 * ImageAttributes.cs: SetBrushRemapTable and SetRemapTable were
328 passing bad parameters to GDI+ causing them not to work
330 2004-05-16 Gert Driesen (drieseng@users.sourceforge.net)
332 * EncoderParameterValueType.cs: fix Windows build (CSC),
335 * EncoderParameter.cs: removed ctors taking int value,
338 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
340 * EncoderParameters.cs: Added ToNativePtr() method to marshal
341 struct correctly to a native struct. Resulting data should be
342 FreeHGlobal'd when finished.
344 * EncoderParameter.cs: Changed data storage to correspond to
345 native code layout (so we can pass these structs directly to
346 native code). Also changed layout to match native layout.
348 * EncoderParameterValueType.cs: force EncoderParameterValueType to
351 2004-05-13 Jordi Mas i Hernadez <jordi@ximian.com>
353 * ColorMatrix.cs:Make private data private
354 * ColorPalette.cs: Make private data private
355 * Encoder.cs: Make private data private
356 * EncoderParameter.cs: Make private data private
357 * EncoderParameters.cs: Make private data private
358 * MetaHeader.cs: Make private data private
359 * PropertyItem.cs: Make private data private
361 2004-05-04 Vladimir Vukicevic <vladimir@pobox.com>
363 * BitmapData.cs: re-synchronized with libgdiplus; also
364 removed memory deallocs here (as the data is always owned
367 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
369 Modified files from dos2unix format.
371 2004-04-27 Ravindra <rkumar@novell.com>
373 * ImageAttributes.cs: Implemented SetWrapMode(WrapMode) method.
375 2004-04-27 Jordi Mas i Hernadez <jordi@ximian.com>
377 * ImageFormat.cs: completed missimg members
378 * ImageCodecInfo.cs: Use GDI+ calls instead of native C#
380 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
381 * ImageFormat.cs: Implemented Equals() method.
383 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
384 * ImageFormat.cs: Implemented ToString() method.
386 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
388 * BitmapData.cs: synced up data structure with libgdiplus
390 * BmpCodec.cs, JPEGCodec.cs, PNGCodec.cs: Removed codec impls,
391 left just codecinfo getters; the codecs are in libgdiplus
393 * ImageCodecInfo.cs: removed encode/decode delegates
395 2004-03-31 Jordi Mas i Hernadez <jordi@ximian.com>
396 * FrameDimension.cs: added missing members
398 2004-03-26 Jordi Mas i Hernadez <jordi@ximian.com>
399 * ImageAttributes.cs: added missing members and complete the wrapper
401 2004-03-04 Jordi Mas i Hernadez <jordi@ximian.com>
402 * BmpCodec.cs: fixes DPI in BMP
403 * Image.cs: gets DPI using GDI+ api
405 2004-03-04 Jordi Mas i Hernadez <jordi@ximian.com>
407 Added support for diffent formats
408 Fixed bugs in import and export
409 Support for OS/2 and palettes
413 2004-03-04 Sanjay Gupta <gsanjay@novell.com>
414 * Metafile.cs: Added constructor with correct signature.
416 2004-03-04 Nick Drochak <ndrochak@ieee.org>
418 * Metafile.cs: Fix build, remove duplicate member.
420 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
421 *ImageAttributes.cs: Added few missing functions
422 *Metafile.cs: Added stubs for missing constructors and functions
424 2004-03-03 Nick Drochak <ndrochak@ieee.org>
426 * BmpCodec.cs: Remove unsed variable.
428 2004-02-17 Ravindra <rkumar@novell.com>
429 * EncoderParameter.cs: Did few bug fixes and changed the file
432 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
433 * FrameDimension.cs: Implemented missing functionalities
435 2004-02-12 Ravindra <rkumar@novell.com>
436 * EncoderParameters.cs: Implemented.
437 * EncoderParameter.cs: Implemented.
439 2004-01-21 Jordi Mas i Hernàdez <jmas@softcatala.org>
440 * BmpBitmap.cs: fixed encoding and decoding problems
441 * ImageAttributes.cs: implemented
443 2004-01-19 Ravindra <rkumar@novell.com>
445 * Encoder.cs: Implemented.
447 2004-01-10 Ravindra <rkumar@novell.com>
449 * All Enums: Made serializable.
451 * ImageAttributes.cs: Implements ICloneable.
453 * Metafile.cs: Made serializable and invisible to COM.
455 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
457 * ColorMap.cs: Implemented
458 * ColorMatrix.cs: Implemented, Removed unneccesary members
459 * ImageAttributes.cs: Fixed signature
460 * ImageCodecInfo.cs: Added missing attribure, hide constructor
461 * ImageFormat.cs: Implemented, Added attribute
462 * MetaHeader.cs: Implemented
463 * PropertyItem.cs: Implemented
464 * ImageFlags.cs: Added Attribute
465 * ImageCodecFlags.cs: Added Attribute
466 * EmfPlusRecordType.cs: Added missing members
468 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
469 * BitmapData.cs new function to convert BRG to RGB
470 * JPEGCodec.cs convert BRG to RBG
474 2003-11-02 Alexandre Pigolkine <pigolkine@gmx.de>
479 codec can select pixel format of bitmap
481 2003-10-23 Miguel de Icaza <miguel@ximian.com>
483 * JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
484 we will just have the JPEG library copy directly into our buffer.
486 (Encode, Decode): Ported to the new model which avoid copies, and
487 eliminates InternalImageInfo.
489 TODO: need to port the PNG coder/decoder, and add support for RGBA
490 images which got dropped from this version
492 * BmpCodec.cs: Rework this one to use BitmapData and Image. Do
493 not use the RawBytes property, instead pull the data one line at a
494 time, and write that out.
496 * ImageCodecInfo.cs: Make the encoding and decoding delegates take
501 * BitmapData.cs: Make this one sequential, and also mimic the
502 layout of GdiPlus.h so we can use this instead of making copies
505 2003-10-12 Alexandre Pigolkine
506 * BmpCodec.cs warning removed
508 2003-07-23 Alexandre Pigolkine
511 * BmpCodec.cs cosmetic changes
513 2003-07-22 Alexandre Pigolkine
517 changes for PNG codec
521 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
523 * Metafile.cs: Inherits from image (fix for System.Drawing.Design)
525 2003-06-29 Alexandre Pigolkine
526 * BmpCodec.cs handle 32bpp images
527 * JPEGCodec.cs small fix
529 2003-06-27 Alexandre Pigolkine <pigolkine@gmx.de>
530 * JPEGCodec.cs encode 32 bpp images
532 2003-06-23 Alexandre Pigolkine <pigolkine@gmx.de>
533 * JPEGCodec.cs set pixel format in InternalImageInfo
535 2003-06-23 Alexandre Pigolkine <pigolkine@gmx.de>
536 * BmpCodec.cs pixel format check added
537 * JPEGCodec.cs encoder implemented
539 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
549 2002-9-2 DennisHayes <dennish@raytek.com>
553 * MetafileHeader.cs t
556 * ImageCodecInfo.cs t
559 * WmfPlaceableFileHeader.cs t
562 2002-9-2 DennisHayes <dennish@raytek.com>
563 * checked in for Everaldo Canuto (everaldo.canuto@bol,com.br)
566 * ColorChannelFlag.cs
572 * EmfPlusRecordType.cs
574 * EncoderParameterValueType.cs
581 * MetafileFrameUnit.cs
586 * PlayRecordCallback.cs
588 * WmfPlaceableFileHeader.cs
589 * Added null classes for most/all classes, Many stubs, and some implmentation
591 2002-9-2 DennisHayes <dennish@raytek.com>
596 * Added stubs, implmentation
598 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
600 * Metafile.cs : Use System.IO. Fix exception typos.
602 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
604 * Metafile.cs: Copyright now holds Ximian.
606 2002-04-21 Dennis Hayes <dennish@raytek.com>
608 * corrected emum values.
610 2002-04-14 Christian Meyer <Christian.Meyer@cs.tum.edu>
612 * ChangeLog: created.
613 * Metafile.cs: Added. Wrote some ctors. No impl done, yet.