Re: Image Preview

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <003801c53545$e6bdef70$3501a8c0@rogersqyvr14d3>
> On bitpim-user, a user had complained of fuzzy images.  I've done a little
> testing, and this is what I think they are seeing.  How are the default crop
> controls set?

Around 10% in from each corner.
 
> To the right of these selection is an image preview area with a cropping box
> in the image.  For some reason, the default position of this crop box is not
> at the edges of the image, even though the image I'm importing is 128x148.

The code doesn't pay any attention to the image size.  The crop box is always
the correct aspect ratio and the resulting image will always be the correct
size and will be magnified or shrunk as necessary.

> Somewhere I read that images within 10% shouldn't get resized, so I'm
> surprised this is causing a problem.

That no longer applies.  Before the resizing happened behind the scenes.
Now you get the dialog to do with what you want.

The first initial fix needed is to pay some attention to the image size
actually being correct.  You can see the 10% in from each corner at 
line 862 of wallpaper.py.  Try changing the 0.1 to 0 and the 0.9 to 1.0
and see if you are happy.

> Also, the word "Background" on the top left doesn't fit its box.

That is something that misfunctions on Mac only.  I haven't looked
into how to fix it.

Roger


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.