Search found 8 matches
- 2012-04-14T13:48:48-07:00
- Forum: Magick++
- Topic: multithread seg fault
- Replies: 4
- Views: 15650
Re: multithread seg fault
any ideas?
- 2012-04-10T01:04:05-07:00
- Forum: Magick++
- Topic: multithread seg fault
- Replies: 4
- Views: 15650
Re: multithread seg fault
Stack: (gdb) fr 1 #1 0x4827524f in SignatureImage () from /usr/local/lib/libMagickCore.so.5 whole stack #0 0x482752ba in SignatureImage () from /usr/local/lib/libMagickCore.so.5 #1 0x4827524f in SignatureImage () from /usr/local/lib/libMagickCore.so.5 #2 0x4827524f in SignatureImage () from /usr ...
- 2012-04-09T14:36:40-07:00
- Forum: Magick++
- Topic: multithread seg fault
- Replies: 4
- Views: 15650
Re: multithread seg fault
YOUR TEST I run your thread unit tests from this my thread on the problem system (as I wrote above): http://www.imagemagick.org/discourse-server/viewtopic.php?f=23&t=20090 And result is: > > ./imtest Invalid null command. Size: 500x332 / JPEG Blob-Length: 33087 Size: 170x134 Size: 188x138 Size ...
- 2012-04-09T14:19:19-07:00
- Forum: Magick++
- Topic: multithread seg fault
- Replies: 4
- Views: 15650
multithread seg fault
Seams that IM++ on my multithread application crash with Segmentation failt at this simple code: Magick::Image::Image img; img.read( picturepath ); IM: > convert -version Version: ImageMagick 6.7.5-10 2012-04-03 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC ...
- 2011-12-31T19:46:25-07:00
- Forum: Magick++
- Topic: thread safe ?
- Replies: 3
- Views: 17916
Re: thread safe ?
Thanks for the answer. Already do some steps, will continue tomorrow. 1) Seems that OpenMP disabled by default on FreeBSD config (i install IM from ports) and "make config" show that OpenMP is disables. Hmmm... seems that by default its compiled --without-threads - maybe its the reason?? is IM ...
- 2011-12-31T19:04:52-07:00
- Forum: Magick++
- Topic: thread safe ?
- Replies: 3
- Views: 17916
thread safe ?
ImageMagick 6.7.3-4 2011-11-29 FREEBSD 8.2-RELEASE -------- Is IM really thread safe? On one thread that read and process picture is all going ok! but when its two or more threads, program crashed with SEGFAULT. Every thread read from disk NOT the same image as other thread, but (i think) at the ...
Re: gravity
thanks for the answer. will try how works extent() (because still need to crop from the bottom with offset)
now, for center coping i wrote something like this and use value as crop offset:
ps. sorry for my english
now, for center coping i wrote something like this and use value as crop offset:
Code: Select all
over_pixels_height = floor( ( img.rows() - thumb_height) / 2 );
gravity
Is there any way with magick++ to use gravity parameter ( Magick::CenterGravity ) when croping/resizing images? Need to crop from the center (or count pixels to crop from the right/bottom) i.e. something like this gravity parameter from command line convert -thumbnail "120x90>" -gravity Center ...