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

Notification

Icon
Error

Options
Go to last post Go to first unread
dorisf  
#1 Posted : Friday, February 27, 2009 12:27:03 AM(UTC)
dorisf

Rank: Member

Groups: Member
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.
Tamila  
#2 Posted : Sunday, March 1, 2009 8:03:42 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello Doris,
  1. 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"));
  2. It makes automatically when you load bitmap on the page, also you can use FitMode or Zoom properties.
  3. You should ask your customer about needed size and implement it on server side:
    Code:
    BitmapViewer.Resize(...);
  4. PhotoCropping sample has these features
Aurigma Support Team

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.