Re: Setting up HDRI in ImageMagick

2016-02-21 Thread Gary Roach

On 02/19/2016 12:35 PM, Thomas Schmitt wrote:

Hi,

i tried my proposal on Jessie. After

   ./configure --enable-hdri

i see

 Options used to compile and link:
...
CPPFLAGS=   -DMAGICKCORE_HDRI_ENABLE=1 
-DMAGICKCORE_QUANTUM_DEPTH=16

while "make" it reports lines like

CC   magick/magick_libMagickCore_6_Q16HDRI_la-histogram.lo

I then run (without "make install"):

   ./utilities/identify | fgrep Features

and get

   Features: Cipher DPC HDRI OpenMP

-

What do you get from the not yet installed binary ?

   ImageMagick-6.9.3-4/utilities/identify


Have a nice day :)

Thomas


My question now is: is it possible to use HDRI with the standard debian 
imagemagick installation. Do I have to resort to a source code install 
to get that capability.


Gary R.



Re: Setting up HDRI in ImageMagick

2016-02-19 Thread Thomas Schmitt
Hi,

i tried my proposal on Jessie. After

  ./configure --enable-hdri

i see

Options used to compile and link:
   ...
   CPPFLAGS=   -DMAGICKCORE_HDRI_ENABLE=1 
-DMAGICKCORE_QUANTUM_DEPTH=16

while "make" it reports lines like

   CC   magick/magick_libMagickCore_6_Q16HDRI_la-histogram.lo

I then run (without "make install"):

  ./utilities/identify | fgrep Features

and get

  Features: Cipher DPC HDRI OpenMP 

-

What do you get from the not yet installed binary ?

  ImageMagick-6.9.3-4/utilities/identify


Have a nice day :)

Thomas



Re: Setting up HDRI in ImageMagick

2016-02-19 Thread Anders Andersson
On Fri, Feb 19, 2016 at 8:33 PM, Sven Arvidsson  wrote:
> On Fri, 2016-02-19 at 10:31 -0800, Gary Roach wrote:
>> That said, the identify
>> function should still work but doesn't show any indication that HDRI
>> exists. I still need help. How do you switch HDRI on with a standard
>> debian install.
>
> I don't think you can. There's a bug about HDRI support that has been
> marked "fixed-upstream" for four years...
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476357

I've had multiple versions of ImageMagick with no issues, as you can
configure them with a different suffix, for example convert-hdr.
That's how you can have different versions of gcc installed, for
example. I'm not sure why the same thing can not be done with
ImageMagick.



Re: Setting up HDRI in ImageMagick

2016-02-19 Thread Sven Arvidsson
On Fri, 2016-02-19 at 10:31 -0800, Gary Roach wrote:
> That said, the identify 
> function should still work but doesn't show any indication that HDRI 
> exists. I still need help. How do you switch HDRI on with a standard 
> debian install.

I don't think you can. There's a bug about HDRI support that has been
marked "fixed-upstream" for four years...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476357

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Setting up HDRI in ImageMagick

2016-02-19 Thread Gary Roach

On 02/19/2016 09:04 AM, Anders Andersson wrote:

On Thu, Feb 18, 2016 at 11:40 PM, Gary Roach  wrote:

OOPS. I didn't notice that the instructions were assuming a tarball
installation. I just used the debian aptitude install application. That
answers one question but I still have a problem. The instructions say that
after the installation that one can run the following to check the
installation:
 identify -version and get a Features list that includes HDRI
Unfortunately, the only feature that shows up is DCP Modules Open MP. No
HDRI.
The ImageMagick installation must be there or identify wouldn't work at all.
In addition I have used several convert functions successfully. Any
suggestions.

It sounds like this is the first time you build software on a linux machine.

Did you reall uninstall debian's version first, and then typed "make install"?

Try the command "which identify", which should show something like
"/usr/local/bin/identify" if you have installed it correctly.


There seems to be some confusion with the statements I made. Yes I have 
built software from scratch (tar) many times (about 20 yrs experience 
with debian). I try to stay away from installing programs that way if at 
all possible. I try to use the debian library if at all possible. I have 
found that non-debian packages are just too much of a headache most of 
the time. I did not install from a tar file or try to install from a tar 
file. I used the debian stretch imagemagick.deb file and installed with 
aptitude. None of the make commands apply. That said, the identify 
function should still work but doesn't show any indication that HDRI 
exists. I still need help. How do you switch HDRI on with a standard 
debian install.


Gary R.



Re: Setting up HDRI in ImageMagick

2016-02-19 Thread Anders Andersson
On Thu, Feb 18, 2016 at 11:40 PM, Gary Roach  wrote:
> OOPS. I didn't notice that the instructions were assuming a tarball
> installation. I just used the debian aptitude install application. That
> answers one question but I still have a problem. The instructions say that
> after the installation that one can run the following to check the
> installation:
> identify -version and get a Features list that includes HDRI
> Unfortunately, the only feature that shows up is DCP Modules Open MP. No
> HDRI.
> The ImageMagick installation must be there or identify wouldn't work at all.
> In addition I have used several convert functions successfully. Any
> suggestions.

It sounds like this is the first time you build software on a linux machine.

Did you reall uninstall debian's version first, and then typed "make install"?

Try the command "which identify", which should show something like
"/usr/local/bin/identify" if you have installed it correctly.



Re: Setting up HDRI in ImageMagick

2016-02-19 Thread Thomas Schmitt
Hi,

Gary Roach wrote:
> the only feature that shows up is DCP Modules Open MP. No HDRI.

Does "identify -version" report the same version number as the tarball ?
(I.e. did you get rid of the older binaries properly ?)

If so, then you will have to contact the ImageMagick project
and ask for advise.


Have a nice day :)

Thomas



Re: Setting up HDRI in ImageMagick

2016-02-18 Thread Gary Roach

On 02/18/2016 12:42 PM, Thomas Schmitt wrote:

Hi,

Gary Roach wrote:

The instructions say to run ./configure --enable-hdri at the
command line.  On Debian Stretch with KDE desktop and bash konsole this
returns command not found.

You first need to go to the directory with the ./configure script.
Normally this is the top directory unpacked from a source tarball.

So the instruction
   ./configure --enable-hdri
in
   http://www.imagemagick.org/script/high-dynamic-range.php
is most probably a modification instruction for
   http://www.imagemagick.org/script/install-source.php
where you can see ./configure after the step
   cd ImageMagick-6.9.3

Well, the base instruction seems slightly outdated.
Currently the file
   http://www.imagemagick.org/download/ImageMagick.tar.gz
unpacks to directory
   ImageMagick-6.9.3-4

So my proposal for modified instructions is:

   cd $HOME
   mkdir image_magick_dir
   cd image_magick_dir
   wget http://www.imagemagick.org/download/ImageMagick.tar.gz
   tar xzf ImageMagick.tar.gz
   cd ImageMagick-6.9.3-4
   ./configure --enable-hdri
   make

(Be prepared that ImageMagick-6.9.3-5 or -6 emerges instead of -4.)

If this succeeds with no demotivating error message at the end, then
you should de-install the Debian binary version before you perform
the step

   sudo make install

After that, the command
   identify -version
should report HDRI. At least according to

I did not try out anything of this. Good luck to the trailblazers !


Have a nice day :)

Thomas


OOPS. I didn't notice that the instructions were assuming a tarball 
installation. I just used the debian aptitude install application. That 
answers one question but I still have a problem. The instructions say 
that after the installation that one can run the following to check the 
installation:

identify -version and get a Features list that includes HDRI
Unfortunately, the only feature that shows up is DCP Modules Open MP. No 
HDRI.
The ImageMagick installation must be there or identify wouldn't work at 
all. In addition I have used several convert functions successfully. Any 
suggestions.


Gary R.



Re: Setting up HDRI in ImageMagick

2016-02-18 Thread Thomas Schmitt
Hi,

Gary Roach wrote:
> The instructions say to run ./configure --enable-hdri at the
> command line.  On Debian Stretch with KDE desktop and bash konsole this
> returns command not found.

You first need to go to the directory with the ./configure script.
Normally this is the top directory unpacked from a source tarball.

So the instruction
  ./configure --enable-hdri
in
  http://www.imagemagick.org/script/high-dynamic-range.php
is most probably a modification instruction for
  http://www.imagemagick.org/script/install-source.php
where you can see ./configure after the step
  cd ImageMagick-6.9.3

Well, the base instruction seems slightly outdated.
Currently the file
  http://www.imagemagick.org/download/ImageMagick.tar.gz
unpacks to directory
  ImageMagick-6.9.3-4

So my proposal for modified instructions is:

  cd $HOME
  mkdir image_magick_dir
  cd image_magick_dir
  wget http://www.imagemagick.org/download/ImageMagick.tar.gz
  tar xzf ImageMagick.tar.gz
  cd ImageMagick-6.9.3-4
  ./configure --enable-hdri
  make

(Be prepared that ImageMagick-6.9.3-5 or -6 emerges instead of -4.)

If this succeeds with no demotivating error message at the end, then
you should de-install the Debian binary version before you perform
the step

  sudo make install

After that, the command
  identify -version
should report HDRI. At least according to

I did not try out anything of this. Good luck to the trailblazers !


Have a nice day :)

Thomas



Re: Setting up HDRI in ImageMagick

2016-02-18 Thread Dan Ritter
On Thu, Feb 18, 2016 at 11:11:03AM -0800, Gary Roach wrote:
> Hi all,
> 
> Does anyone have experience with setting up High Dynamic Range
> Imaging with ImageMagick. The instructions say to run ./configure
> --enable-hdri at the command line. On Debian Stretch with KDE desktop
> and bash konsole this returns command not found. This is the only
> procedure that I have been able to find.

Running './configure' is almost always a step in building a
package from source. Is that what you are trying to do?

If so, the previous steps probably include:

- apt-get install build-essential  # if not previously installed
- downloading the source code for ImageMagick
- unpacking it in a work directory
- and then running the configure command.

All this is probably noted in a document called README or
INSTALL or similar in the ImageMagick source package.

-dsr-



Setting up HDRI in ImageMagick

2016-02-18 Thread Gary Roach

Hi all,

Does anyone have experience with setting up High Dynamic Range Imaging 
with ImageMagick. The instructions say to run ./configure --enable-hdri 
at the command line. On Debian Stretch with KDE desktop and bash konsole 
this returns command not found. This is the only procedure that I have 
been able to find.


Any help will be sincerely appreciated.

Gary R.