This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

The profile doesn't match to color space required.

Dear Aurigma,

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
Hello Tristan,

This issue will be resolved with the next release of Graphics Mill for .NET.
Hi Dmitry,

That's great .. but can you please tell me when the next release is likely to be? At the moment, this is on one of our live systems and our customers and clients are getting this error intermittently.

Kind Regards,
Tristan
Hello,

The next release will be soon. If this issue is critical for you, please submit case and we will provide you with update.
Hi Dmitry,

I sent an email to [email removed] about 3 days ago .. but no news yet. Would it be possible to get the update please? At the moment, our users/customers are seeing this 15-20 times a day and the number is increasing as our website traffic is increasing.

Kind Regards,
Tristan
Hello Tristan,

I have sent you email. If you don't receive it, please let me know.