Author Topic: Dynamic crop: selecting width of crop area  (Read 4698 times)

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Dynamic crop: selecting width of crop area
« on: 2007 July 22 23:46:43 »
I'm resizing some images today for using as a desktop background. Prior to resize them, I'm cropping them first to achieve an image with the same proportions as my desktop size. Small changes to the crop area seem to be ignored by the DynamicCrop interface:

- Open an image.
- Open up Geometry/DynamicCrop.
- Drag the mouse over the image to select an area to crop.
- Now try to enlarge or shorten the crop area one pixel by typing an appropriate number in the "Width" or "Height" textbox in the DynamicCrop interface. For instance, if the size of the initial drag was 145x68, try to set the width to 144 or 146, or the height to 67 or 69.
- As soon as the cursor leaves the chosen textbox, the number reverts back to its previous value, when the proper behaviour would be to keep the new value.

This happens when doing small changes only. Doing a change larger than one pixel works as expected.

This bug exists in version 01.00.31.305rc6-20070707. I'll try with the latest one this evening.
--
 David Serrano

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Dynamic crop: selecting width of crop area
« Reply #1 on: 2007 August 04 10:14:07 »
Hi David,

Another one goes for you :-)

This is a problem in the DynamicCrop interface. It is due to improper rounding of image coordinates. This is easy to fix, but I haven't had time to work on it, so I ask all users to live with it, just for one more version. It'll be fixed of course.

Thanks!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Dynamic crop: selecting width of crop area
« Reply #2 on: 2007 October 12 08:30:55 »
Fixed ;).
--
 David Serrano