VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 11:21:55 11/17/02 Sun
Author: Michel
Subject: Re: Cropping with fixed proportions
In reply to: Finn Sorensen 's message, "Re: Cropping with fixed proportions" on 04:28:23 11/15/02 Fri


Hi Finn,

The EnRubber unit is a good starting point, but I would not change the code but it will get overwritten when you upgrade. You can either create a completely new mouse hander, using EnRubber as a starting point, or derive from TRubberBandMouseHandler.

Best regards,

Michel

>Yes, I tried the demo program. I'm also a registerd
>user so
>I have the source EnRubber which I understand do all
>the
>magic. This is very good.
>
>My aim is to:
>1. Draw a proposed Rubberband on an picture with
>fixed proportions without any user interface.
>
>2. Then let the user drag the Rubberband around
>and/or grab the bottomright handle to size it.
>
>3. He should not be able to stretch the rubberband out
>of
>proportions.
>
>4. Finally crop the image to the selected(rubberband)
>region. This is already there.
>
>Do I have to make changes in the Enrubber unit to do
>this?
>
>Finn
>
>>
>>Hi Finn,
>>
>>I am not sure I understand you completely. Have you
>>tried the demo program. You can download a precompiled
>>one from www.intervalsoftware.com/download.html
>>
>>You can select a region with the mmSelect mouse mode,
>>and then crop to the select region.
>>
>>Best regards,
>>
>>Michel
>>
>>>Hello.
>>>I have a cutomer who want to adjust his image to a
>>>fixed
>>>predefined picture template typical from a newspaper
>>>ad.
>>>He gets the size eg. by mm (340 X 230) . So he wants
>>>to have
>>>a dragable and sizeable shape/rectangle (only
>>>BottomRight) to pick an "extract" from the original
>>>image, with the right proportions.
>>>When that has been selected, then I would be able to
>>>use the cropping functions in your excellent tool
>with
>>>the selected shape/rectangle attributes.
>>>
>>>Any tips on how to make such a shape on top of
>>>ImageScrollBox ?
>>>
>>>Thanks, best Regards
>>>Finn

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.