Search found 12 matches

by pronaldzito
2016-01-07T09:21:31-07:00
Forum: Developers
Topic: TIFF ping/read returning improper image header
Replies: 1
Views: 4512

Re: TIFF ping/read returning improper image header

Oops - it turns out that convert 6.9.2 does fail for the same reason that my program does. My mistake was not giving a full path to convert so my command line picked up version 6.7.7-10 which predates the change to test the tags shown above.
by pronaldzito
2016-01-05T15:17:50-07:00
Forum: Developers
Topic: TIFF ping/read returning improper image header
Replies: 1
Views: 4512

TIFF ping/read returning improper image header

Using Magick++ 6.9.2 and libtiff 4.0.4 in Linux environment.
I have some TIFF images that are missing some of the required tags, such as photometric interpretation, resolution unit.
When I attempt to read or ping the image, an exception is thrown that reads "Magick: improper image header" and ...
by pronaldzito
2015-06-09T11:34:58-07:00
Forum: Users
Topic: Errors while converting tiff
Replies: 3
Views: 5801

Re: Errors while converting tiff

I believe this may be a bug in 64-bit libtiff where a TIFF IFD contains a data type of long with a value zero. I'm guessing that libtiff may be treating the value as an offset, but that's just a guess and I could be wrong.
I've been looking into this for the last few hours and so far have not found ...
by pronaldzito
2014-03-05T11:36:17-07:00
Forum: Bugs
Topic: JPEG-2000 static delegate not references with openjp2
Replies: 2
Views: 5595

JPEG-2000 static delegate not references with openjp2

With openjp2 replacing jasper, the constant for JPEG-2000 was changed from MAGICKCORE_JP2_DELEGATE to MAGICKCORE_LIBOPENJP2_DELEGATE
magick/static.c lines 236-238 are:
#if defined(MAGICKCORE_JP2_DELEGATE)
(void) RegisterJP2Image();
#endif
This change fixes the issue:
#if defined(MAGICKCORE_JP2 ...
by pronaldzito
2014-03-05T10:19:55-07:00
Forum: Bugs
Topic: Error with convert and OpenCL bindings
Replies: 2
Views: 5809

Re: Error with convert and OpenCL bindings

There is a flaw in magick/opencl.c GetOpenCLCachedFilesDirectory()
Sometime recently the path was changed from $HOME/.magick to $HOME/.config/ImageMagick
The problem is on line 2580 mkdir(path, 0777);
This will work only if $HOME/.config already exists
The code should be changed to create $HOME ...
by pronaldzito
2014-03-03T11:32:12-07:00
Forum: Developers
Topic: Missing jp2 delegate
Replies: 8
Views: 18620

Re: Missing jp2 delegate

I was able to get JPEG-2000 working with libopenjp2.so by modifying the source code in magick/static.c
Specifically, I changed lines 236-238 from this:
#if defined(MAGICKCORE_JP2_DELEGATE)
(void) RegisterJP2Image();
#endif
to this:
#if defined(MAGICKCORE_JP2_DELEGATE)
(void) RegisterJP2Image ...
by pronaldzito
2014-02-14T16:28:42-07:00
Forum: Developers
Topic: Missing jp2 delegate
Replies: 8
Views: 18620

Re: Missing jp2 delegate

identify -list format does not show JP2 nor JPEG-2000
I am installing in /opt_test rather than /usr/local as others are using this computer
It does not build a shared object for jp2
I did use nm to check the jp2.o file for unresolved references and all those that begin with "opj" are found in ...
by pronaldzito
2014-02-14T10:22:37-07:00
Forum: Developers
Topic: Missing jp2 delegate
Replies: 8
Views: 18620

Re: Missing jp2 delegate

I've placed 2 images here
https://www.dropbox.com/sh/j4fkng56qk5x9zi/emrE9aYtsT
k030542701_convert.jp2 was created with convert v6.8.6-10
k030542701_ojb_compress.jp2 was created with obj_compress (OpenJPEG) v2.0.0
by pronaldzito
2014-02-14T09:33:47-07:00
Forum: Developers
Topic: Missing jp2 delegate
Replies: 8
Views: 18620

Re: Missing jp2 delegate

I'm pretty sure this is a build issue.

I had previously built 6.8.6-10:
> /opt/bin/identify --version
Version: ImageMagick 6.8.6-10 2013-12-04 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenCL
Delegates: bzlib cairo djvu fontconfig ...
by pronaldzito
2014-02-13T14:24:17-07:00
Forum: Developers
Topic: Missing jp2 delegate
Replies: 8
Views: 18620

Missing jp2 delegate

I have recently upgraded from 6.8.8-1 to 6.8.8-5
The computer is running Ubuntu 13.04
I noticed that in this upgrade libjasper was replaced with libopenjp2 for JPEG-2000 support
I downloaded the delegate source, built and installed it.
When I configure magick, specifically including --with-openjp2 ...
by pronaldzito
2013-12-04T08:13:32-07:00
Forum: Bugs
Topic: 6.8.7-7 throws “clCreateBuffer failed” when using convert
Replies: 7
Views: 11532

Re: 6.8.7-7 throws “clCreateBuffer failed” when using conver

Is the warning new to version 6.8.7?
We had previously build 6.8.6-9 and see no warning - now I wonder if the GPU is actually being used.
by pronaldzito
2013-12-03T16:12:48-07:00
Forum: Bugs
Topic: 6.8.7-7 throws “clCreateBuffer failed” when using convert
Replies: 7
Views: 11532

Re: 6.8.7-7 throws “clCreateBuffer failed” when using conver

I downloaded ImageMagick-6.8.7-9.tar.bz2, configured and built the software, but I am still getting the error:
lt-convert: clCreateBuffer failed. . @ warning/accelerate.c/ComputeResizeImage/2816.