Search found 8 matches

by blowzy
2012-04-14T13:48:48-07:00
Forum: Magick++
Topic: multithread seg fault
Replies: 4
Views: 13085

Re: multithread seg fault

any ideas?
by blowzy
2012-04-10T01:04:05-07:00
Forum: Magick++
Topic: multithread seg fault
Replies: 4
Views: 13085

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/loc...
by blowzy
2012-04-09T14:36:40-07:00
Forum: Magick++
Topic: multithread seg fault
Replies: 4
Views: 13085

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: 188...
by blowzy
2012-04-09T14:19:19-07:00
Forum: Magick++
Topic: multithread seg fault
Replies: 4
Views: 13085

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...
by blowzy
2011-12-31T19:46:25-07:00
Forum: Magick++
Topic: thread safe ?
Replies: 3
Views: 14116

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 threa...
by blowzy
2011-12-31T19:04:52-07:00
Forum: Magick++
Topic: thread safe ?
Replies: 3
Views: 14116

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 sam...
by blowzy
2011-12-20T14:10:47-07:00
Forum: Magick++
Topic: gravity
Replies: 2
Views: 8794

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:

Code: Select all

over_pixels_height = floor( ( img.rows() - thumb_height) / 2 );
ps. sorry for my english
by blowzy
2011-12-20T12:16:59-07:00
Forum: Magick++
Topic: gravity
Replies: 2
Views: 8794

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 -exte...