Search found 14 matches
- 2018-02-28T07:31:26-07:00
- Forum: MagickWand
- Topic: Strange behavior of MagickWriteImage
- Replies: 0
- Views: 88070
Strange behavior of MagickWriteImage
MagickWriteImage, when working with JPEG, calls open/close on file twice. E.G.: ... stat("test.jpeg", 0x14e0020) = -1 ENOENT (No such file or directory) open("test.jpeg", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fstat(3, {st_mode=S_IFREG|0644, st_size=0 ...
- 2017-04-04T12:13:46-07:00
- Forum: Developers
- Topic: Pure-c lua imagemagick library
- Replies: 1
- Views: 11247
Pure-c lua imagemagick library
Hello.
Some time ago i wrote pure-c imagemagick bindings for lua: https://github.com/isage/lua-imagick
It's doesn't have full wand-api support, and new methods are added based on requests (or when i need them).
But even so it's pretty feature-complete.
How can i get it to be listed on website?
Some time ago i wrote pure-c imagemagick bindings for lua: https://github.com/isage/lua-imagick
It's doesn't have full wand-api support, and new methods are added based on requests (or when i need them).
But even so it's pretty feature-complete.
How can i get it to be listed on website?
- 2016-10-28T01:15:16-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48074
Re: How to set font color for caption image?
Digging deeper: it looks like "caption:" gets info about colors, etc. from Image -> ImageInfo, but wand methods operate on DrawingWand, which in case of Annotate you just pass along, but in case of "caption:" i don't really know what to do
- 2016-10-28T00:45:07-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48074
Re: How to set font color for caption image?
Yep, that's the one i've checked.
- 2016-10-28T00:34:25-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48074
Re: How to set font color for caption image?
6.9.2.7
I'm not seeing anything related in the changelog, though
I'm not seeing anything related in the changelog, though
- 2016-10-27T15:56:50-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48074
Re: How to set font color for caption image?
Yep, that's the first thing i've tried
- 2016-10-27T15:41:45-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48074
Re: How to set font color for caption image?
On the command line it's done via -fill, according to docs. Yet, none of *Fill* methods seems to work.
I've tried setting stroke color too, but to no avail
I've tried setting stroke color too, but to no avail
- 2016-10-27T14:16:25-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48074
Re: How to set font color for caption image?
Sorry for bumping old thread, but i have same problem. Example: #include <stdio.h> #include <string.h> #include <wand/magick_wand.h> int main(void) { MagickWandGenesis(); MagickWand* m_wand = NewMagickWand(); MagickSetSize(m_wand, 100, 100); MagickSetPointsize(m_wand, 31); if (MagickReadImage(m_wand ...
- 2015-10-17T13:40:00-07:00
- Forum: MagickWand
- Topic: MagickColorizeImage PixelWands
- Replies: 3
- Views: 26382
Re: MagickColorizeImage PixelWands
Sorry for bumping old thread, but why is opacity actually set by color and not by PixelSetAlpha/PixelSetOpacity?
- 2015-03-03T03:40:24-07:00
- Forum: MagickWand
- Topic: MagickExtentImage broken on 64 bit Windows
- Replies: 11
- Views: 34946
Re: MagickExtentImage broken on 64 bit Windows
Nevermind. I'm stupid. Forgot to typecast values from lua ffi. Case closed
- 2015-03-03T02:05:33-07:00
- Forum: MagickWand
- Topic: MagickExtentImage broken on 64 bit Windows
- Replies: 11
- Views: 34946
Re: MagickExtentImage broken on 64 bit Windows
Erm. Okay. Calling MagickExtentImage from pure c with negative offsets works. Calling it from lua (and i've checked by adding printf with passed parameters inside MagickExtentImage) with same offsets doesn't. Not sure what happens here.
Anyway, sorry, as it seems i was wrong.
Anyway, sorry, as it seems i was wrong.
- 2015-03-02T23:07:03-07:00
- Forum: MagickWand
- Topic: MagickExtentImage broken on 64 bit Windows
- Replies: 11
- Views: 34946
Re: MagickExtentImage broken on 64 bit Windows
2) Duh. Let's say i have 50x50 image. If i do MagickExtentImage(wand, 200,200, 10,10) image will be shifted 10px left and up (to the outside of canvas) - that works fine. If i do MagickExtentImage(wand, 200,200, -1,-1) - i'll get blank image (while, obviously, it should just shift 1px to the right ...
- 2015-03-02T14:54:48-07:00
- Forum: MagickWand
- Topic: MagickExtentImage broken on 64 bit Windows
- Replies: 11
- Views: 34946
Re: MagickExtentImage broken on 64 bit Windows
1) MagickExtentImage ignores gravity
2) passing negative offsets (which i get from 'GravityAdjustGeometry') to MagickExtentImage results in blank image
2) passing negative offsets (which i get from 'GravityAdjustGeometry') to MagickExtentImage results in blank image
- 2015-03-02T13:08:42-07:00
- Forum: MagickWand
- Topic: MagickExtentImage broken on 64 bit Windows
- Replies: 11
- Views: 34946
Re: MagickExtentImage broken on 64 bit Windows
4 years later, and it's still the issue in recent pkgs on ubuntu/fedora. Moreover, Magick++ supports gravity for extent, and, while doing the same (eg. calling ExtentImage) as MagickExtentImage produces proper image with same arguments. Sadly, i'm writing lua binding, so doing wrapper for a wrapper ...