Search found 12 matches

by gfine
2013-05-08T05:35:18-07:00
Forum: Bugs
Topic: MagickReadImageBlob stuck in endless loop
Replies: 10
Views: 8222

Re: MagickReadImageBlob stuck in endless loop

Here is the configure.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuremap [
<!ELEMENT configuremap (configure)+>
<!ELEMENT configure (#PCDATA)>
<!ATTLIST configure name CDATA #REQUIRED>
<!ATTLIST configure value CDATA #REQUIRED>
]>
<configuremap>
<configure name="CC" value="/home ...
by gfine
2013-05-08T04:09:11-07:00
Forum: Bugs
Topic: MagickReadImageBlob stuck in endless loop
Replies: 10
Views: 8222

Re: MagickReadImageBlob stuck in endless loop

Is there something to the assert from my app? What event occurs for it to fail the assert?

Is there a requirement from jpegsrc that must be configured in?

In the ./configure for IM I do see a message about it not passing the preprocessor test but passing the compile test for the jpeg test. I'll ...
by gfine
2013-05-07T14:13:56-07:00
Forum: Bugs
Topic: MagickReadImageBlob stuck in endless loop
Replies: 10
Views: 8222

Re: MagickReadImageBlob stuck in endless loop

Here is the output of the test app.

/usr/local/MyDir/Test # ./test
2013-05-07T20:57:35+00:00 0:00.020 0.020u 6.8.4 Trace Magick: utility.c/GetPathComponent/1194/Trace
/usr/local/MyDir/Test/test
2013-05-07T20:57:35+00:00 0:00.030 0.030u 6.8.4 Trace test: utility.c/GetPathComponent/1194/Trace
/usr ...
by gfine
2013-05-07T10:23:54-07:00
Forum: Bugs
Topic: MagickReadImageBlob stuck in endless loop
Replies: 10
Views: 8222

Re: MagickReadImageBlob stuck in endless loop

Reproduced on newest version IM (v5.8.5-4).

Debug log identical. Same assert; 'Zoom: wand/magick-wand.c:295: MagickGetException: Assertion `wand->signature == 0xabacadabUL' failed.'


G
by gfine
2013-05-07T08:54:20-07:00
Forum: Bugs
Topic: MagickReadImageBlob stuck in endless loop
Replies: 10
Views: 8222

Re: MagickReadImageBlob stuck in endless loop

I can not run 'convert' on the target as the target has a space contstraint. But I can build it on the host (for the host) and it see what happens.

I added 'setenv ("MAGICK_DEBUG","trace",1);' to the Zoom code just above the Wand Genesis and got the following:


2013-05-07T15:33:15+00:00 0:00.280 ...
by gfine
2013-05-07T07:25:35-07:00
Forum: Bugs
Topic: MagickReadImageBlob stuck in endless loop
Replies: 10
Views: 8222

MagickReadImageBlob stuck in endless loop

In another tree of this forum I was asking about the proper way to handle a char* image in memory and I feel I ran into a bug in MagickReadImageBlob().

The environment is an embedded DaVinci (DM6446) architecture, using FC6 as the host, and cross compiling all the libraries. The version of IM is 6 ...
by gfine
2013-05-06T15:00:04-07:00
Forum: Users
Topic: problem loading jpeg image from blob
Replies: 1
Views: 3587

Re: problem loading jpeg image from blob

I do not know if this will help as I did this for cross compiling. But in the ./configure you should have --with-jpeg=yes and be pointing to the right include directories, and kernel dir.

When the ./configure is finished it should say something like "--with-jpeg=yes yes "

and above it you should ...
by gfine
2013-05-06T14:40:48-07:00
Forum: Developers
Topic: How to Zoom on image in 'C'
Replies: 7
Views: 11476

Re: How to Zoom on image in 'C'

Magick:

I guess some code might help. I should also mention that using -DMAGICK_DEBUG seems to have no efffect. What is the correct syntax. I have added it to the cross compile, and the application's makefile to no avail. I have even tried 'export MAGICK_DEBUG'. Your earlier answer is a little bit ...
by gfine
2013-05-06T10:02:45-07:00
Forum: Developers
Topic: How to Zoom on image in 'C'
Replies: 7
Views: 11476

Re: How to Zoom on image in 'C'

Still continuing to debug.

Exception handling is good at reporting the status. At first I found I was not passing it the buffer properly as it reported the buffer was not a JPEG format. Fixed a problem with indirection, and now it calls into MagickReadImageBlob (wand, imgBuffer, image_len); and it ...
by gfine
2013-05-03T09:38:38-07:00
Forum: Developers
Topic: How to Zoom on image in 'C'
Replies: 7
Views: 11476

Re: How to Zoom on image in 'C'

Thanks. It is set on the ./configure.

However the above error seems to be that I didn't do a setformat before calling the MagickReadImageBlob. Now it tells me the source file is not a jpeg. But then that was an improper indirection (jpegbuffer versus &jpegBuffer) , and for some reason the first ...
by gfine
2013-05-03T08:48:38-07:00
Forum: Developers
Topic: How to Zoom on image in 'C'
Replies: 7
Views: 11476

Re: How to Zoom on image in 'C'

OK. fair.

But what I posted is not the live code and it does checks the return of status(es) when I call an ImageMagick API. I beefed it up a bit with your suggestion, and the MagickReadImageFromBlob() is returning a "nodecodedelegate" error. I doublechecked and I do have libjpeg and the ...
by gfine
2013-05-02T15:02:53-07:00
Forum: Developers
Topic: How to Zoom on image in 'C'
Replies: 7
Views: 11476

How to Zoom on image in 'C'

I am a noob with Imagemagick so please bear with me.

I am developing an application where I have a jpeg image in a memory buffer. Normally it just gets copied to a framebuffer and is displayed. What I have to do is Zoom in on the image. Here is basically what I am doing so far.


Zoom_in_on ...