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

Notification

Icon
Error

Options
Go to last post Go to first unread
Inxile  
#1 Posted : Monday, July 30, 2007 7:42:04 AM(UTC)
Inxile

Rank: Member

Groups: Member
Joined: 7/30/2007(UTC)
Posts: 2

I have a series of images I can load into the BitmapViewer that I need to crop. My photo sizes range all over the place and I want to be able to see the whole picture when it's loaded. When I use ZoomMode="BestFit" and try to crop the image, the image is then cropped, but it's cropped at the actual size of the image, not at the size of the "BestFit". As a result I'm getting wired results when I crop. Is there any way I can crop proportionally to the ZoomMode="BestFit"?


Thanks,
Josh
Sergey Peshekhonov  
#2 Posted : Monday, July 30, 2007 8:18:44 PM(UTC)
Sergey Peshekhonov

Rank: Advanced Member

Groups: Member
Joined: 6/5/2007(UTC)
Posts: 57

Hello, Josh!

Unfortuntely, I can not understand what problem do you face. So I have several questions for you:
1. Do you use PhotoEditor or just BitmapViewer control?
2. What do you mean saying "crop size of BestFit"? May be it means that crop retangle should have the same proportion as source image? Dimensions of crop rectangle are predefined in the PhotoEditor and you can set them up using Crop effect description in EffectList.xml.

It will be convinient, if you send us code sample which illustrates your problem. You can post it here or submit case.

Edited by user Thursday, May 22, 2008 9:13:43 PM(UTC)  | Reason: Not specified

Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
Inxile  
#3 Posted : Tuesday, July 31, 2007 1:24:02 AM(UTC)
Inxile

Rank: Member

Groups: Member
Joined: 7/30/2007(UTC)
Posts: 2

Sergey thanks for getting back to me. Here is some code, hopefully this helps in my explanation

Code:
<aur:BitmapViewer ID="BitmapViewer1" runat="server" Width="600px" Height="425px"
        BorderWidth="2" BorderStyle="Inset" ScrollBarsStyle="Auto" BackColor="White"
        ZoomQuality="Medium" [u]ZoomMode="BestFit"[/u]>
</aur:BitmapViewer>


When ZoomMode is set to BestFit, the results of my cropping is proportional to the size of the image its self. So if my photo is 1600x1200 and I'm zoomed out to the point it fits my BitmapViewer and I crop the image these are the results of the crop.

Pre-Crop with BitmapViewer ZoomMode="BestFit"
UserPostedImage

Post-Crop with BitmapViewer ZoomMode="BestFit"
UserPostedImage

If I take ZoomMode="BestFit" out and zoom out of the image and crop everything works fine. How can I make it so when I crop with this property set that I get the results I'm looking for?


Thanks again,
Josh

Edited by user Monday, December 17, 2007 7:31:24 PM(UTC)  | Reason: Not specified

Sergey Peshekhonov  
#4 Posted : Tuesday, July 31, 2007 8:53:04 PM(UTC)
Sergey Peshekhonov

Rank: Advanced Member

Groups: Member
Joined: 6/5/2007(UTC)
Posts: 57

Hello, Josh!

Thanks for your bug report. It is known problem and it will be fixed in the next release of Graphics Mill for .NET. If this issue is critical for you, please submit case and we will do our best to provide you with an appropriate solution.

Edited by user Thursday, May 22, 2008 9:14:02 PM(UTC)  | Reason: Not specified

Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
stefanlaheij  
#5 Posted : Monday, August 13, 2007 12:26:54 AM(UTC)
stefanlaheij

Rank: Member

Groups: Member
Joined: 8/13/2007(UTC)
Posts: 1

We are facing the exact same problem in our prototype.
After some study we decided to go with your product, but with this bug it is useless.
Can you provide us a bugfix before we buy the product?
Dmitry  
#6 Posted : Monday, August 13, 2007 6:40:46 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,

Please submit case and we will provide you with new version of web controls.

Edited by user Thursday, May 22, 2008 9:14:21 PM(UTC)  | Reason: Not specified

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.