[Mono-dev] Managing multipage tiff
Hi, I've a library that works on multipage tiff. Creating a new multipage image I do something like this: EncoderParameters eps=new EncoderParameters(2); eps.Param[0]=new EncoderParameter(Encoder.Compression, (long)EncoderValue.CompressionCCITT3); eps.Param[1] = new EncoderParameter(Encoder.SaveFlag, (long)EncoderValue.MultiFrame); the first page is created with imageTmp1.Save(Result, infos[n], eps); ImgTmp=(System.Drawing.Image)imageTmp1.Clone(); the second page with eps.Param[0]=new EncoderParameter(Encoder.Compression, (long)EncoderValue.CompressionCCITT3); eps.Param[1]=new EncoderParameter(Encoder.SaveFlag, (long)EncoderValue.FrameDimensionPage); ImgTmp.SaveAdd(imageTmp1, eps); When this second statement is executed I obtain the following error: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. --- System.NotImplementedException: The requested feature is not implemented [GDI+ status: NotImplemented] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0] at System.Drawing.Image.SaveAdd (System.Drawing.Imaging.EncoderParameters encoderParams) [0x0] at (wrapper remoting-invoke-with-check) System.Drawing.Image:SaveAdd (System.Drawing.Imaging.EncoderParameters) I downloaded libgdiplus from mono web site and I checked that also libgdiplus 2.8.1 doesn't support this method. There's another way to manage multipaged tiff with mono without these methods? Thanks in advance. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Managing multipage tiff
On 16.12.2010 16:55, APS wrote: There's another way to manage multipaged tiff with mono without these methods? You could emit distinct pages and concat them with 'tiffcp'. This tool is usually part of the libtiff-tools package. Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] CS0136 Error - C# parser bug (master)
Created bug for this issue. https://bugzilla.novell.com/show_bug.cgi?id=659970 From: Tom Philpot tom.phil...@logos.commailto:tom.phil...@logos.com Date: Wed, 15 Dec 2010 10:36:58 -0800 To: Tom Philpot tom.phil...@logos.commailto:tom.phil...@logos.com, mono-devel-l...@ximian.commailto:mono-devel-l...@ximian.com mono-devel-l...@ximian.commailto:mono-devel-l...@ximian.com Subject: Re: [Mono-dev] CS0136 Error - C# parser bug (master) Just noticed I forgot a using System; at the top If also, if you replace the {} from under if (!bValue) with an empty statement (I.e. ;) the code compiles without error. From: Tom Philpot tom.phil...@logos.commailto:tom.phil...@logos.com Date: Wed, 15 Dec 2010 10:27:37 -0800 To: mono-devel-l...@ximian.commailto:mono-devel-l...@ximian.com mono-devel-l...@ximian.commailto:mono-devel-l...@ximian.com Subject: [Mono-dev] CS0136 Error - C# parser bug (master) { } ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] CS1692: Invalid number warning for #pragma restore?
Attached the previous code sample to https://bugzilla.novell.com/show_bug.cgi?id=657601 which reproduces the bug described in that case. From: Tom Philpot tom.phil...@logos.commailto:tom.phil...@logos.com Date: Wed, 15 Dec 2010 10:54:47 -0800 To: mono-devel-l...@ximian.commailto:mono-devel-l...@ximian.com mono-devel-l...@ximian.commailto:mono-devel-l...@ximian.com Subject: [Mono-dev] CS1692: Invalid number warning for #pragma restore? One more thing I'm seeing today. The following gives a CS1692 for line 3 below. Is this expected behavior or a bug? #pragma warning disable 1591 public class C {} #pragma warning restore 1591 ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono WinForms running on Solaris 11... great!
Hi there, Yes, it's me again talking about Solaris... this time, MWF on Solaris 11. It seems the latest version got rid of some well-known X problems: http://www.facebook.com/album.php?aid=253265id=8260127524saved Enjoy! pablo ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] File not found error when using Activator.CreateInstanceFrom()
Thanks for the reply. Here is an example attached driver (test.cs) which calls the Activator.CreateInstanceFrom(). Runs fine under NET 2.0 but bombs under mono 2.8 with the 'implement type compare for 1b!' error message. You will need to construct asmall native C++ dll with a matching class name and constructor to call. http://mono.1490590.n4.nabble.com/file/n3091579/test.cs test.cs -- View this message in context: http://mono.1490590.n4.nabble.com/File-not-found-error-when-using-Activator-CreateInstanceFrom-tp3064104p3091579.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list