Search found 22 matches

by Straton
2017-11-05T08:57:55-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

That solved the issue, thank you very much indeed! Before posting I searched endlessly for the problem, because I thought build headers and binaries are consistent for sure, because I build it from the git repo. When omitting --disable-hdri headers and binaries to not match, so apparently there is n...
by Straton
2017-11-05T07:24:22-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

Debugging starts Header says we have integer, not HDRI But this we already know. By "make sure" I meant to achieve. Since the make commands I used lead to build result that is inconsistent with the headers, which make switches do I need to get a non-HDRI binary, consistent with the headers?
by Straton
2017-11-05T06:54:14-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

maybe I should add that after the build, I have just the HDRI dylib in the output folder, no alternative: ~/git/ImageMagick/Magick++/lib/.libs> ls -l total 22360 -rw-r--r-- 1 stefan staff 118528 29 Aug 22:44 Magick___lib_libMagick___7_Q16HDRI_la-Blob.o -rw-r--r-- 1 stefan staff 105748 29 Aug 22:44 M...
by Straton
2017-11-05T06:50:43-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

The CMake configuration I use for ImageMagick is: set(IMAGEMAGICK_DIR ${CMAKE_BINARY_DIR}/../../ImageMagick) include_directories(${IMAGEMAGICK_DIR}/Magick++/lib ${CMAKE_BINARY_DIR}/../../ImageMagick) target_link_libraries(StratonImageProcessing ${IMAGEMAGICK_DIR}/Magick++/lib/.libs/libMagick++-7.Q16...
by Straton
2017-11-05T06:38:19-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

Ah this forum uses pages. Sorry for double posting, I was missing my post but then I realized it is not on the first page
by Straton
2017-11-05T06:33:52-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

Good idea, thanks. I will check that. I am new to Mac/Linux, so maybe I did something wrong when installing ImageMagick. What I need in the end is a multi platform configuration. Background is that I rewrite my App to work with Windows and Mac, using a Qt interface. But image processing and ImageMag...
by Straton
2017-11-05T06:32:35-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

Good idea, thanks. I will check that. I am new to Mac/Linux, so maybe I did something wrong when installing ImageMagick. What I need in the end is a multi platform configuration. Background is that I rewrite my App to work with Windows and Mac, using a Qt interface. Image processing and ImageMagick ...
by Straton
2017-11-05T05:50:40-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

If Quantum was different from uint16_t (like with float), the C++ compiler would issue an error. This is the reason that I use uint16_t instead of Quantum. It avoids any problems with configurations my code does not support anyway. So it is impossible that Quantum is float in my configuration. If yo...
by Straton
2017-11-05T03:45:13-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

C++ doesn't allow implicit conversion of pointer types. If Quantum wasn't 2-byte, above code wouldn't compile. No warning, just an error. Nevertheless: /opt/bin> ./magick -version Version: ImageMagick 7.0.7-0 Q16 x86_64 2017-08-29 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio ...
by Straton
2017-11-04T18:12:58-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

My original code includes such checks, including error checking. I cannot do more than say what I know. If you don't believe me, please download the image and check the number of channels.
by Straton
2017-11-04T10:12:17-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

yes? As said, I only need to handle a very restricted subset of image types. All have 1 channel, all have 16 bit depth. I use ImageMagick just because of the image format reading and writing capabilities, for no other reason. 2013 I reported bugs in the FITS format reading and writing, which have be...
by Straton
2017-11-04T09:04:51-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

Re: problems with Magick::Pixels

I am rewriting from scratch. On Mac, there isn‘t even a previous version. Since v7 was normally released, I see no reason not to use it. So I avoid any need to port later to v7. In addition I thought my question was really simple, isn‘t it? All I want to do is read an image file and access the pixel...
by Straton
2017-11-04T08:37:12-07:00
Forum: Developers
Topic: problems with Magick::Pixels
Replies: 23
Views: 32303

problems with Magick::Pixels

Hi, my last posting was 2013, where I successfully integrated ImageMagick for reading and writing 16-bit gray image files in my C++ software. Now I am working on a completely new version from scratch on. For some reason, I fail doing even the simplest things with ImageMagick and I don't know what ha...
by Straton
2013-02-05T16:36:13-07:00
Forum: Bugs
Topic: FITS images become too bright
Replies: 18
Views: 20228

Re: FITS images become too bright

Hi,

I wondered why my posting did not appear under the topic, until I found the topic is somehow splitted into two parts? My last reply is not visible under the original topic (until I found a tiny "Next" button).

Kind regards,
Stefan
by Straton
2013-02-05T16:29:53-07:00
Forum: Bugs
Topic: FITS images become too bright
Replies: 18
Views: 20228

Re: FITS images become too bright

Hi, thanks for your version 6.8.2-5. The FITS writing problem of 6.8.2.3 is now fixed, but reading FITS images is still not working properly, especially for 16 bit signed integer FITS format: http://87.106.39.128/ImageMagick/ComparisonFits.png You can download all these images under this link (pleas...