[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#487975: ITP: resize-gd -- resizes images using the gd-library



Package: wnpp
Severity: wishlist
Owner: markus schnalke <meillo@marmaro.de>


* Package name    : resize-gd
  Version         : 0.2
  Upstream Author : markus schnalke <meillo@marmaro.de>
* URL             : http://prog.marmaro.de/resize-gd
* License         : MIT/X
  Programming Lang: C
  Description     : resizes images using the gd-library


About the program:
------------------

The program has two modes:
* aspect ratio of the images is preserved and only shrinking is done. Smaller
  images remain unmodified.
* the images are resized to match a specific size. The images probably get
  stretched and enlarged.

Only JPEG and PNG files are supported. The filetype is detected by the
filename suffix which has to be `.jpg', `.jpeg' or `.png'. Unsupported files
get skipped.

All resizing is done in-place.



The idea behind:
----------------------

This program is meant to be a small(er) alternative to the `mogrify -resize'
command of ImageMagick. Mainly because ImageMagick has lots of dependencies,
while the GD-Library has less.

`resize-gd' is only for resizing images, not for doing all the other fancy
stuff, that ImageMagick (or GraphicsMagick) can do.

I wrote this program, because I had to install over 80MB on a fresh Debian
installation, just to get a simple web gallery generator (`genwebgallery') to
run. This came from its dependency on ImageMagick. (GraphicsMagick wouldn't
have been better.)

That is way to much, for the simple task that needs to be done: image resizing.

I haven't found a small program that simply does image resizing. So I wrote
that one.
It uses the GD library, which is only about 1/10 in size, compared to
ImageMagick.

The quality seems to be slightly worse, but still good enough for most tasks
(especially thumbnail generation).






-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: