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: 1234567[8]910 ]


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

Date Posted: 18:20:24 04/09/01 Mon
Author: Michel
Subject: Re: Crop to Selection
In reply to: Peter Rettig 's message, "Crop to Selection" on 09:03:48 04/09/01 Mon


Hi Peter,

If you use the mmQuickSelect, the event handler returns the graphic from the resized image.

If you use the mmSelect mouse mode, it is possible to get the selection with respect to the source graphic, so the quality will be just like the original.

See the method in TRubberBandMouseHandler.GetSourceSelection:

procedure GetSourceSelection( var Rect : Windows.TRect );

For example,

(ImageScrollBox.MouseHandler) as TRubberBandMouseHandler.GetSourceSelection(Rect);

This set Rect to the selected region in the coordinates specific to the ImageScrollBox.Graphic object.

Best regards,

Michel

>Hi,
>
>I have a problem crop a image by selection.
>The property zoommode is NOT zmOriginalSize.
>The Picture from const graphic in event OnQuickSelect
>have lower Quality then the Original.
>
>You can try this with the Envision Demo.
>1. Open a picture for Exaple the multi.tif
>2. Select: View -> Full Page
>3. Select: View -> Mouse Mode -> Select
>4. Select a region with mouse
>5. Select: Edit -> Crop to selection
>
>How can I implement a function that gives the full
>pictureinformation?

[ 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.