From: Brian M. <br...@gr...> - 2008-06-01 16:16:10
|
> > 3/as Eero says, gkd methods can be used to create new files. Probably > > calling ImageMagick (http://www.imagemagick.org/script/index.php ) > would > > be much faster, but means relying on an external program (imagemagick > is > > installed everywhere in linux though...). > > I think I like the idea of using ImageMagick more, cropping requires > then > just calling ImageMagick with the required are co-ordinates and size > like > this: > convert -crop <width>x<height>+<x>+<y> <image> <cropped image> I can't understand why ImageMagick would be faster or better than the gdk methods. > > Generally, should this be an option, or should GRAMPS just do it like > > this? I would think it is not needed as an option and should be > default > > behavior. > > I wouldn't mind a dependency to ImageMagick, it can do also other kinds > of other cool tricks like adding a frame to the image, converting them > to > grayscale[1], scaling them etc. All this in a single "convert" > command > call. Personally, I would rather see us reduce the number of dependencies Gramps has on other programs if at all possible. I know ImageMagick is quite common on Linux systems, but on Windows it would almost certainly not be installed. ~Brian |