Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Could someone please point me to a sample where there is Resizing image and cropping ..
Rank: Member
Groups: Guest
Joined: 1/12/2009(UTC) Posts: 11
|
Hello,
I have downloaded the Graphic Mills product to test it out.
What I need for my asp.net web application, is the ability for a user to:
1. select an already downloaded thumb 2. the resulting fullsize photo displays 3. the user can resize their photo 4. the user can crop this resized photo, and the rubberband needs to have a static 1:1 ratio (161px x 161px)
Can someone tell me the best code sample I can review to figure out how to do this with your product please?
My Kindest Regards,
~ Doris.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hello Doris, - You can do it using method Load() of BitmapViewer in server side code. Also you can see how to do it in ApplyingEffects.aspx.cs:
Code:BitmapViewer1.Bitmap.Load(Server.MapPath("~/TestImages/test.jpg"));
- It makes automatically when you load bitmap on the page, also you can use FitMode or Zoom properties.
- You should ask your customer about needed size and implement it on server side:
Code:BitmapViewer.Resize(...);
- PhotoCropping sample has these features
|
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Could someone please point me to a sample where there is Resizing image and cropping ..
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.