This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
sajjarapu  
#1 Posted : Tuesday, January 13, 2009 2:28:56 AM(UTC)
sajjarapu

Rank: Newbie

Groups: Guest
Joined: 6/3/2008(UTC)
Posts: 7

Hi,

We are evaluating the Photo Editor tool and would like to use it in a web application which allows users to crop an image. However, we would like to limit the user's choices. The final image should be 58 pixels x 60 pixels at 72 DPI.

Q1) Can we set the DPI to be 72 regardless of the DPI of the uploaded image?
Q2) How can we set the crop dimensions in inches. It looks like the default options are in inches.

Please advise

Thanks
Sri
sajjarapu  
#2 Posted : Wednesday, January 14, 2009 1:58:54 AM(UTC)
sajjarapu

Rank: Newbie

Groups: Guest
Joined: 6/3/2008(UTC)
Posts: 7

Any insight you provide is appreciated. We would like to purchase the license and get started with the implemation. Please advise

Correction to my post yesterday:

We are evaluating the Photo Editor tool and would like to use it in a web application which allows users to crop an image. However, we would like to limit the user's choices. The final image should be 58 pixels x 60 pixels at 72 DPI.

Q1) Can we set the DPI to be 72 regardless of the DPI of the uploaded image?
Q2) How can we set the crop dimensions in pixels. It looks like the default options are in inches.

Please advise

Thanks
Sri
Dmitry  
#3 Posted : Thursday, January 15, 2009 8:40:10 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Sorry for delayed answer.

1. Before to save the image edited in the Photo Editor you may load it to Graphics Mill shipped with Photo Editor and set resolution to 72DPI. So it can be done.

2. If you need to apply crop with rectangle which size is defined in pixels there is no the way other than modifying Photo Editor client scripts. I attached the edited script showing how to implement the desired functionality. Please, take a look at _updateRubberband function.

Edited by user Thursday, January 15, 2009 8:41:34 PM(UTC)  | Reason: Not specified

File Attachment(s):
CropEffect.zip (4kb) downloaded 28 time(s).
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest (2)
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.