Bug#493541: lazygal: resizing parameters not flexible enough

2008-08-03 Thread Alexandre Rossi
Hi,

 lazygal allows one to set the final size with --image-size, but what if some
 of my pictures are landscape and others portrait?  Visiting the example 
 gallery
 on the upstream website answers this question: lazygal can't handle that :-(
 For example, let's say that most of my images are landscape, 800x600.  If I 
 pass
 --image-size medium=800x600 then the few portrait images (which are naturally
 600x800) will be sized down to 480x600.

From where I stand, this is actually an expected behaviour : this way,
portrait images do not need more scrolling on the webpage than
landscape ones, which is nice for browsing : if size are aranged in a
way that no scrolling is needed for landscape images, then no
scrolling is required for portrait ones either.

Anyway, I've got an override for this behaviour ready but I'm not
really sure it is usefull. What am I missing here?

 Actually, what I would _really_ like is an option for lazygal to simply not 
 resize
 existing images at all, is that asking too much?

There is the -O, --original option that copies the original pictures
in the destination directory. However, the next version of lazygal
will understand 0x0 dimensions in the -s option as an instruction not
to resize pictures for this size. Patch available[1].

Cheers,

Alex

[1] 
http://sousmonlit.dyndns.org/~niol/darcsweb/darcsweb.cgi?r=lazygal;a=commitdiff;h=20080803132209-85ee7-4a53b87f7646e6070d87da063dfb0bd1b2dd5b83.gz



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#493541: lazygal: resizing parameters not flexible enough

2008-08-02 Thread Ian Zimmerman
Package: lazygal
Version: 0.4-1
Severity: wishlist

lazygal allows one to set the final size with --image-size, but what if some
of my pictures are landscape and others portrait?  Visiting the example gallery
on the upstream website answers this question: lazygal can't handle that :-(
For example, let's say that most of my images are landscape, 800x600.  If I pass
--image-size medium=800x600 then the few portrait images (which are naturally
600x800) will be sized down to 480x600.

Actually, what I would _really_ like is an option for lazygal to simply not 
resize
existing images at all, is that asking too much?

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.10matica2008070901 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages lazygal depends on:
ii  python2.5.2-1An interactive high-level object-o
ii  python-genshi 0.5.0-1Python XML-based template engine
ii  python-imaging1.1.6-3Python Imaging Library
ii  python-pyexiv20.1.2-4+b1 Python binding to Exiv2
ii  python-support0.8.4  automated rebuilding support for P

lazygal recommends no packages.

lazygal suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]