tneagle99#1702
Dear Aurigma,
We are getting an error which occurs when running the following line of code:
For some images only. NB this does not happen for all our images - we run this sucessfully for lots of images every day. However, around 5% of images which we load cause this error.
I will also email you a copy of the image itself in order that you can try to recreate the problem yourselves.
The full .Net error is as follows:
The profile doesn't match to color space required.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Kind Regards,
Tristan
We are getting an error which occurs when running the following line of code:
Aurigma.GraphicsMill.Bitmap bmp = new Aurigma.GraphicsMill.Bitmap("C:\\pid3030_ARP106_CAT.jpg");For some images only. NB this does not happen for all our images - we run this sucessfully for lots of images every day. However, around 5% of images which we load cause this error.
I will also email you a copy of the image itself in order that you can try to recreate the problem yourselves.
The full .Net error is as follows:
The profile doesn't match to color space required.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Aurigma.GraphicsMill.CMInappropriateProfileException: The profile doesn't match to color space required.
Source Error:
Line 702: {
Line 703: //just have to try loading the image ..
Line 704: Aurigma.GraphicsMill.Bitmap bmp = new Aurigma.GraphicsMill.Bitmap("C:\\pid3030_ARP106_CAT.jpg");
Line 705: }
Line 706: }
Source File: I:\Inetpub\LifestyleArt2.0\classes\CompositeFrame.cs Line: 704
Stack Trace:
[CMInappropriateProfileException: The profile doesn't match to color space required.]
Aurigma.GraphicsMill.Thread.FireStoppedEvent(Object object, ErrorEventArgs args) +219
Aurigma.GraphicsMill.Thread.TimerEventProcessor() +410
Aurigma.GraphicsMill.Thread.ChangeActivityStatus(ActivityStatus status) +105
Aurigma.GraphicsMill.Thread.EntryPoint() +579
Aurigma.GraphicsMill.Thread.Start() +216
Aurigma.GraphicsMill.Codecs.FormatReader._FrameLoadBitmap(Frame frame) +684
Aurigma.GraphicsMill.Codecs.Frame._GetBitmap(Bitmap bitmap) +517
Aurigma.GraphicsMill.Codecs.Frame.GetBitmap(Bitmap bitmap) +283
Aurigma.GraphicsMill.Bitmap.Load(String fileName) +153
Aurigma.GraphicsMill.Bitmap._Load(String fileName) +55
Aurigma.GraphicsMill.Bitmap..ctor(String fileName) +596
LifestyleArt.classes.CompositeFrame.AurigmaDebug2() in I:\Inetpub\LifestyleArt2.0\classes\CompositeFrame.cs:704
LifestyleArt.admin.system._default.btnAurigmaDebug_Click(Object sender, EventArgs e) in I:\Inetpub\LifestyleArt2.0\admin\system\default.aspx.cs:84
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
Kind Regards,
Tristan