Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2013-11

Problems with ImageMagick MagickWand

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Brunner

Hi there,

I presently require ImageMagick to be installed along with my software.

The reason why I use it is merely to resize images from cameras downto about 1024xY where Y varies to keep aspect ratio intact. I used to use FPImage to stretchdraw on a canvas but at the time it was really slow. Slowing down directory listings in the cloud (images served via http are converted in real-time)

My scaling needs are called hundreds of times concurrently for thumbnails as well. So whenever the user opens a file the server must generate 1 thumbnail for each image in the directory. ImageMagick works fast on Linux and Windows.

Presently I cannot get even a simple program that uses ImageMagick to build on darwin. I suspect the /ImageMagick/config build the libraries to x86_64.

It would be nice if i could remove my dependency of ImageMagick. Does anyone know the status of FPImage etc. to speed up image scaling native to FPC?

Bug report on ImageMagick linker error with sample program : http://bugs.freepascal.org/view.php?id=25373

Thanks very much,
Andrew Brunner

Reply by email

Michael Van Canneyt
to Andrew Brunner
Andrew Brunner wrote 19 lines
Hi there, I presently require ImageMagick to be installed along with my software. The reason why I use it is merely to resize images from cameras downto about 1024xY where Y varies to keep aspect ratio intact. I used to use FPImage to stretchdraw on a canvas but at the time it was really slow. Slowing down directory listings in the cloud (images served via http are converted in real-time) My scaling needs are called hundreds of times concurrently for thumbnails as well. So whenever the user opens a file the server must generate 1 thumbnail for each image in the directory. ImageMagick works fast on Linux and Windows. Presently I cannot get even a simple program that uses ImageMagick to build on darwin. I suspect the /ImageMagick/config build the libraries to x86_64. It would be nice if i could remove my dependency of ImageMagick. Does anyone know the status of FPImage etc. to speed up image scaling native to FPC?

No work is done on this, and to my knowledge, none is planned.

Michael.

Reply by email

Gennadiy Poryev
to Andrew Brunner: I presently require ImageMagick to be installed along with my software. The reason why I…

Might be a good idea to try using libjpeg-turbo as external library.

27-11-2013 2:15, Andrew Brunner написав(ла):

Show quoted text 13 lines
The reason why I use it is merely to resize images from cameras downto about 1024xY where Y varies to keep aspect ratio intact. I used to use FPImage to stretchdraw on a canvas but at the time it was really slow. Slowing down directory listings in the cloud (images served via http are converted in real-time) My scaling needs are called hundreds of times concurrently for thumbnails as well. So whenever the user opens a file the server must generate 1 thumbnail for each image in the directory. ImageMagick works fast on Linux and Windows. Presently I cannot get even a simple program that uses ImageMagick to build on darwin. I suspect the /ImageMagick/config build the libraries to x86_64.

Reply by email