[ 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: 12345678[9]10 ]

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

Date Posted: 17:44:44 10/13/00 Fri
Author: Michel
Subject: Re: problems with size when saving from imagescrollbox
In reply to: tobias 's message, "problems with size when saving from imagescrollbox" on 09:40:25 10/13/00 Fri

Hi Tobias,

When doing a selection, the selection is done on the displayed image. So when saving you do

need to adjust your coordinates in the source image. The ImageScrollBox has two graphic

properties, Graphic, and DisplayedGraphic. Graphic is the source (non resized image). The

coordinates of the selection are with respect to the displayed graphic. You need to scale

your coordinates according to the ZoomPercent.

I have checked, and with the latest version, the ZoomPercent property is updated when the

ZoomMode is set the zmFitToPage. Are you using version 1.1?

Best regards,


> hi,
> i want to edit pictures inside an imagescrollbox with
> zoommode = fittopage. as i expected, the pictures
> saved with imagescrollbox.savetofile are in original
> size. ok so far. there's also no problem when rotating
> the picture. but when using the croptoselection method
> after selecting a region with the rubberband, the
> saved picture will be not of the original size, but of
> the size as zoomed inside the scrollbox. that's really
> annoying, because i don't want to always keep up with
> the zoomfactor (that, by the way, is not given in the
> zoompercent property when using the fittopage option)
> and write my own zoom methods.
> what can i do to edit the picture and though save it
> in its original size (i think it's intended to do)???
> tobias

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