|
|
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
|
|
Rank: Advanced Member Groups: Member
Joined: 6/6/2007 Posts: 52 Points: 30
|
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.
|
|
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
|
|
Rank: Advanced Member Groups: Member
Joined: 6/6/2007 Posts: 52 Points: 30
|
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.
|
|
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?
|
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 8/3/2003 Posts: 422 Points: 96
|
Hello, Please submit case and we will provide you with new version of web controls.
Sincerely yours, Dmitry Sevostjanov.
|
|
|
Guest |