Forums

Welcome Guest Search | Active Topics | Members

ZoomMode="BestFit" question Options
Inxile
Posted: Monday, July 30, 2007 3:42:04 PM
Rank: Member
Groups: Member

Joined: 7/30/2007
Posts: 2
Points: 0
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
Posted: Tuesday, July 31, 2007 4:18:44 AM
Rank: Advanced Member
Groups: Member

Joined: 6/6/2007
Posts: 57
Points: 45
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.

Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
Inxile
Posted: Tuesday, July 31, 2007 9:24:02 AM
Rank: Member
Groups: Member

Joined: 7/30/2007
Posts: 2
Points: 0
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"


Post-Crop with BitmapViewer ZoomMode="BestFit"


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
Sergey Peshekhonov
Posted: Wednesday, August 01, 2007 4:53:04 AM
Rank: Advanced Member
Groups: Member

Joined: 6/6/2007
Posts: 57
Points: 45
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.

Sincerely yours,
Sergey Peshekhonov.

Aurigma Technical Support Team.
stefanlaheij
Posted: Monday, August 13, 2007 8:26:54 AM
Rank: Member
Groups: Member

Joined: 8/13/2007
Posts: 1
Points: 0
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
Posted: Tuesday, August 14, 2007 2:40:46 AM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 506
Points: 348
Hello,

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

Sincerely yours,
Dmitry Sevostjanov.
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.