Search found 12 matches

by che1404
2014-12-05T15:56:03-07:00
Forum: Users
Topic: UnableToOpenPixelCache on iOS 8
Replies: 0
Views: 4170

UnableToOpenPixelCache on iOS 8

Hi all, I have implemented an image processing pipeline based on imagemagick, using the C API for iOS. One of the steps is a montage command. It consumes a lot of memory. In order to avoid memory crashes, I have had to use the "-synchronize -limit memory 5MB" options. This was working very...
by che1404
2014-11-24T01:20:59-07:00
Forum: Users
Topic: How do I get the results of identifyimagecommand using the C API?
Replies: 2
Views: 3722

How do I get the results of identifyimagecommand using the C API?

Hi all, I'm using the IdentifyImageCommand C API method but I can only see the results on the standard output. I have tried to redirect the std::out to an own string stream, but the command keeps printing only to the console. Any ideas on how could I get the results of the commando into a string (or...
by che1404
2014-11-17T23:25:56-07:00
Forum: Users
Topic: Linker error in Windows
Replies: 2
Views: 3481

Re: Linker error in Windows

Hi,
thanks for the feedback. I cannot find any lib named MagickCore under the output "lib" folder (D:\lib\IMAGEMAGICK\ImageMagick-6.9.0\VisualMagick\lib). I only can find the list I put in my previous post.


Thanks,
Robert.
by che1404
2014-11-17T03:03:39-07:00
Forum: Users
Topic: Linker error in Windows
Replies: 2
Views: 3481

Linker error in Windows

Hi all, We have a desktop/mobile application linking against ImageMagick on iOS and OSX. Now we are migrating the app to Windows. I have compiled a static ImageMagick build on windows, following the docs (I've used Visual Studio 2013 and ImageMagick-6.9.0), but when I try to link against the app, I ...
by che1404
2014-11-07T02:07:30-07:00
Forum: Users
Topic: Montage command missing one tile
Replies: 11
Views: 9218

Re: Montage command missing one tile

Hey!
Just realized that the args array for the montage was not well dimensioned. We know C, it does allow you to do lots of things without a warning.
Silly me!

I really appreciate your help. Great forum, great community!

Cheers,
Robert.
by che1404
2014-11-07T00:45:21-07:00
Forum: Users
Topic: Montage command missing one tile
Replies: 11
Views: 9218

Re: Montage command missing one tile

I've just noticed that the following text appears in the log file of the montage command when an image is missing: 2014-11-06T16:50:10+01:00 0:00.230 0.220u 6.8.8 Resource Smile Designer[25417]: resource.c/RelinquishMagickResource/847/Resource Memory: 2.27KB/4.418MiB/4.768MiB 2014-11-06T16:50:10+01:...
by che1404
2014-11-07T00:32:35-07:00
Forum: Users
Topic: Montage command missing one tile
Replies: 11
Views: 9218

Re: Montage command missing one tile

I converted each tile to miff. In this case, the tile number 2 ("panel1flipped2") failed in the montage process. Here is the log.I can't see anything wrong with that tile. : /var/mobile/Applications/315E15D5-D9C4-43DD-867B-08BB16373E6C/Library/Caches/TextureCache/panel0flipped0.jpg JPEG 75...
by che1404
2014-11-06T09:03:29-07:00
Forum: Users
Topic: Montage command missing one tile
Replies: 11
Views: 9218

Re: Montage command missing one tile

Thanks for the feedback! I should mention that it is also happening when I run the command just once. What is the secondary storage? Does it have any? If IM is limited to 5MB, but there is no secondary storage, I don't know what will happen. The secondary storage is 16GB size. You might add "-s...
by che1404
2014-11-06T03:55:37-07:00
Forum: Users
Topic: Montage command missing one tile
Replies: 11
Views: 9218

Re: Montage command missing one tile

[Mod note: this is a usage question, not MagickWand, so I'm moving it to Users.] I'm using ImageMagick from code, so I thought it belonged to MagickWand. Sorry about that. It happens (randomly) ... For the same set of input files, does it happen randomly or consistently? It happens randomly for the...
by che1404
2014-11-06T01:53:31-07:00
Forum: Users
Topic: Montage command missing one tile
Replies: 11
Views: 9218

Montage command missing one tile

Hi all, I'm using ImageMagick for iOS, version 6.8.8-9. It happens (randomly) that the montage command is not considering one of the tiles. Sometimes it is, sometimes it's not. In the following case, it is the tile 4 (panel0flipped4.jpg). The command I'm using is: montage panel0flipped0.jpg panel0fl...
by che1404
2014-11-04T02:57:00-07:00
Forum: MagickWand
Topic: [SOLVED] Problem converting from rgba to jpg on iOS and OSX
Replies: 1
Views: 9713

[SOLVED] Problem converting from rgba to jpg on iOS and OSX

Hi, I have an algorithm that takes snapshots from an OpenGL context. For each snapshot, I create an .rgba raw file, just reading the pixels from the buffer. Then for each rgba file, I use ConvertImageCommand() to convert to jpeg. This commands works fine for the majority of the files, but it always ...