Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

#cmyk

Options
Go to last post Go to first unread
AlexAseev  
#1 Posted : Monday, May 22, 2017 7:05:24 AM(UTC)
AlexAseev

Rank: Newbie

Groups: Member
Joined: 5/8/2017(UTC)
Posts: 5

Hi, to make image lighter i apply following Levels transform, which is good with RGB , but failing if image is CMYK {Format32bppCmyk}
Code:
         
using (var image = new Aurigma.GraphicsMill.Bitmap(in_file))
            {
                image.ColorAdjustment.Levels(0, 1, 0, (float) 1.2, 1, HistogramMode.Sum);
            }

Code:
Aurigma.GraphicsMill.UnsupportedPixelFormatException was unhandled
  HResult=-2146233088
  InnerSource=Levels: 3
  Message=The specified pixel format is not supported.
  Source=Aurigma.GraphicsMill
  StackTrace:
       в Aurigma.GraphicsMill.PipelineElement.RunPipeline()
       в Aurigma.GraphicsMill.Pipeline.Run()
       в Aurigma.GraphicsMill.Pipeline.Run(Pipeline pipeline)
       в Aurigma.GraphicsMill.Transforms.Transform.Apply(Bitmap source)
       в Aurigma.GraphicsMill.ColorAdjustmentProvider.ApplyAndDeleteTransform(IBitmapTransform transform)
       в Aurigma.GraphicsMill.ColorAdjustmentProvider.Levels(Single minimumLevel, Single maximumLevel, Single shadows, Single midtones, Single highlights, HistogramMode histogramMode)
       в WindowsFormsApplication5.Form1.button2_Click(Object sender, EventArgs e) в C:\Users\thele\Documents\Visual Studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\Form1.cs:строка 88
       в System.Windows.Forms.Control.OnClick(EventArgs e)
       в System.Windows.Forms.Button.OnClick(EventArgs e)
       в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       в System.Windows.Forms.Control.WndProc(Message& m)
       в System.Windows.Forms.ButtonBase.WndProc(Message& m)
       в System.Windows.Forms.Button.WndProc(Message& m)
       в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       в System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       в System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       в System.Windows.Forms.Application.Run(Form mainForm)
       в WindowsFormsApplication5.Program.Main() в C:\Users\thele\Documents\Visual Studio 2015\Projects\WindowsFormsApplication5\WindowsFormsApplication5\Program.cs:строка 19
       в System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       в System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       в Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

please advise , how can it be done?


Fedor  
#2 Posted : Monday, May 22, 2017 8:57:54 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,558

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
The Levels transform supports the RGB and grayscale color spaces only.

Even though, we plan to add the support of CMYK in the further versions of Graphics Mill (Aurigma Bug #0023329).

If this functionality is critical for you, please submit a case.

Edited by user Monday, May 22, 2017 8:58:24 AM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
AlexAseev  
#3 Posted : Tuesday, May 23, 2017 1:13:46 AM(UTC)
AlexAseev

Rank: Newbie

Groups: Member
Joined: 5/8/2017(UTC)
Posts: 5

thanks for your answer, It's not too critical at this point, do you know approximate time when #0023329 will be fixed ? how can i track it or can i have notification on that?
Fedor  
#4 Posted : Tuesday, May 23, 2017 2:03:19 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,558

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
You can expect an update in 3-4 months. We will post a message in this topic to notify you.

BTW, have you purchased a license already? I need this information to specify a bug priority.
Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.