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

Notification

Icon
Error

#windows-controls

Options
Go to last post Go to first unread
Alex Kon  
#1 Posted : Friday, April 18, 2008 12:35:23 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups:
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Description:

This is a main code example demonstrating a lot of features of Graphics Mill for .NET in action. This sample is implemented as an image editing application. With it, you can load files, apply different effects, convert bitmaps to different pixel formats, save files in various file formats, and so on. It contains dialogs for all effects (including Photoshop-like dialog for curves, levels, and a histogram). You can freely reuse these dialogs in your applications.

This sample does not contain all features of Graphics Mill for .NET. This is an attempt to create a "real-life" application rather than "all-features-in-one" monster. That is why some features of Graphics Mill for .NET are not demonstrated in it, in particular, color management, metadata handling, drawing, and so on. See other code samples for demonstrations of this functionality.

Required Graphics Mill for .NET assemblies:
  • Aurigma.GraphicsMill.dll
  • Aurigma.GraphicsMill.WinControls.dll
*** Make sure that you have all necessary libraries installed to launch Graphics Mill for .NET.

Edited by moderator Monday, May 28, 2012 8:49:05 PM(UTC)  | Reason: Not specified

File Attachment(s):
MainCS_NET20.zip (306kb) downloaded 451 time(s).
MainVB_NET20.zip (304kb) downloaded 355 time(s).
Alex Kon  
#2 Posted : Friday, May 30, 2008 4:06:32 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups:
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hi all,

One of our customers found small bug in this demo:

cpav wrote:
using MainDemo, after inserting an image and selecting a very small area, like 10x10 or 5x25 pixels and going to Buttozine effect, and moving the border width to 100 pixels, then this error occurs:

Argument is out of range (Border width must be below the half width of an image).

from error source:
Aurigma.GraphicsMill

As it says, border maximum width should be (selectedArea.width/2)-1
Same error occurs for spray effect and frame width in pixels


We will fix it in next demo update. But if anyone needs this fix now - feel free to post a line here :)
HenricusMagnus  
#3 Posted : Monday, December 22, 2008 4:33:47 AM(UTC)
HenricusMagnus

Rank: Member

Groups: Member
Joined: 10/21/2008(UTC)
Posts: 14

Was thanked: 1 time(s) in 1 post(s)
When I try to run this example under WXP SP2 and Visual Basic 2008, I get a warning which tells me that the assembly "Aurigma.GraphicsMill.dll" is using another target processor".

Any ideas?

Best regards
Henricusd'oh!

Edited by user Monday, December 22, 2008 4:38:17 AM(UTC)  | Reason: Not specified

Dmitry  
#4 Posted : Tuesday, December 23, 2008 3:04:55 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

You have Windows XP SP2 64 or 32 bit edition? What target CPU you have set (open project settings in VS, then go to Compile tab, click Advanced Compile Options button and find Target CPU field)?
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
HenricusMagnus  
#5 Posted : Thursday, December 25, 2008 4:51:22 AM(UTC)
HenricusMagnus

Rank: Member

Groups: Member
Joined: 10/21/2008(UTC)
Posts: 14

Was thanked: 1 time(s) in 1 post(s)
Hello Dmitry,

thank you very much for your fast reply.
I'm a newbie to VS, so please forgive my beginner-questions...

When I open the project settings, the targets platform can be set in the compile option main window.
There are two pulldown list, one is named "Configuration", the other is Platform.
I don't find appropriate setting under "advanced compilen options".

Unfortunately, to whatever settings I alter the target platform, the warning concerning a target processor mismatch remains.
I also can NOT save thealtered setting.

When I re-open the project, the platform is set to x64 again.

My Windows XP SP2 is a Media Center Edition Version 2002 with SP2, 32 bit.

N.B. When I open the TIFF-Reader demo, I don't see the two listboxes configuration and platform.
The app works fine, as well as the color management demo.

I must admit I'm a lttle bit confused...Anxious
HenricusMagnus  
#6 Posted : Thursday, December 25, 2008 8:42:28 PM(UTC)
HenricusMagnus

Rank: Member

Groups: Member
Joined: 10/21/2008(UTC)
Posts: 14

Was thanked: 1 time(s) in 1 post(s)
Hi Forum,

I found the solution - it is pretty simple if you know where to look...

In Visual Basic 2008 Express Edition: Build menu > Configuration Manager...
Change Active solution platform: to "...", choose "x86", save the new platform.

Now the "x86" option is available in the Compile settings an d all compiler warnings vanish -
the applications runs. Heureka!

Best regards and a merry Christmas for all of you. :d/
Dmitry  
#7 Posted : Tuesday, December 30, 2008 2:44:55 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Thanks for the information.

Wish you happy New Year and merry Christmas.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
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.