Page 1 of 1

Display images

Posted: Tue Mar 08, 2005 5:27 pm
by Guest
I managed to get some studies transferred to pacsone from radworks 6.1 but I cannot view them. Where the display button should be under details there is just a more information link. I have installed the applet to the right place and imagick is showing up in the hello.php file.
I have tried logging in under root and as a user account I created to view studies.

What am I doing wrong.

Posted: Tue Mar 08, 2005 6:43 pm
by pacsone
Did you see the image thumbnails when you click through the Patient->Study->Series->Image pages?

i.e., when you're at the Patient page, click on the Patient ID will display all studies of that patient, clicking on the Study ID will display all series within the study, cliking on the Series Number will display all images within the Series in thumbnails. At the image page, you will see a Display button if the Applet viewer is installed.

Posted: Tue Mar 08, 2005 8:28 pm
by Guest
No, I do not get the thumbnails. Also, if I click a series number I get a bunch of errors that look like this:


Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 518

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 522

Posted: Tue Mar 08, 2005 8:37 pm
by Guest
I got the errors to go away by setting display_errors=Off in php.ini.

I still do not get the thumbnails and when I select fullsize I get:
failed to convert image to JPG
Reason:
Description:

Is this a problem with the applet? I know imagick is loading. I am using Pacsone server premium. I read that there are different display applets for basic and premium. Is the applet.zip on the website for basic or premium?

Posted: Tue Mar 08, 2005 8:54 pm
by pacsone
Anonymous wrote: Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516
It seems that you're loading a different version of ImageMagick for some reason. Can you look at the ImageMagick version information from the output of the test page:

http://{HOSTNAME}/pacsone/Hello.php

under the imagick PHP extension section, the following information should be listed:

ImageMagick version (5.5.6)
PHP imagick version (0.9.5)

Posted: Tue Mar 08, 2005 8:58 pm
by pacsone
Anonymous wrote: Is this a problem with the applet? I know imagick is loading. I am using Pacsone server premium. I read that there are different display applets for basic and premium. Is the applet.zip on the website for basic or premium?
No, the ImageMagick PHP extension and the Java Applet viewer are indepenent of each other.

The applet.zip Java Applet package is the same for both the Basic and the Premium Edition.

There's another applet viewer (Radscaper) which is also available for both the Basic and Premium Editions, and you can download it from the Radscaper website.

There's a URL link in the PacsOne Download page:

http://www.pacsone.net/download.htm

Posted: Tue Mar 08, 2005 9:25 pm
by Guest
I looked at Hello.php and a differnet version is loading:

ImageMagick version: 5.5.6
PHP imagick version: 0.9.11

How do I fix this?

Posted: Tue Mar 08, 2005 9:42 pm
by pacsone
Your version should be Ok, the 0.9.11 imagick PHP extension version means you're use the Linux version of the PHP extension.

The next thing to test is to check whether it's your images that's causing these errors or it's ImageMagick that's failing to display any kind of Dicom images.

So if you can send your contact information to mailto:pacsone@pacsone.net, I can send you a test script and a sample image to see if you can display it using your ImageMagick. If so, the problem is your image. Otherwise, there's something wrong with the imagick Linux PHP extension.

Posted: Tue Mar 08, 2005 9:59 pm
by pacsone
BTW, what's the version of PHP distribution you're using?

Posted: Thu Mar 10, 2005 1:38 am
by Guest
5.0.2. I downgraded after I read about an incompatability with imagick and 5.0.3

Problems

Posted: Mon Mar 14, 2005 4:01 pm
by Bart Kanis
Hello,

I managed to install the Linux version of PacsOne, but I am not able to view the images. Hello.php tells me that Imagick is working (version 5.5.6) and the version of PHP imagick is 0.9.11. I have installed php 5.0.2 with apache 2.0.53.

Kind regards,
Bart

Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /home/pacsone/php/showImage.php on line 81

Warning: imagick_getlistsize() expects parameter 1 to be resource, boolean given in /home/pacsone/php/showImage.php on line 98

Warning: imagick_writeimage() expects parameter 1 to be resource, boolean given in /home/pacsone/php/showImage.php on line 108

Warning: imagick_failedreason() expects parameter 1 to be resource, boolean given in /home/pacsone/php/showImage.php on line 110

Warning: imagick_faileddescription() expects parameter 1 to be resource, boolean given in /home/pacsone/php/showImage.php on line 111
failed to convert image to JPG
Reason:
Description:

Posted: Mon Mar 14, 2005 5:09 pm
by pacsone
Did you happen to choose the Native storage format when you installed PacsOne Server, instead of the default Dicom standard Part 10 format?

If so, you'd need to change it to the default Dicom Part 10 format, by modifying your PacsOne configuration file {AETITLE}.INI under the directory where PacsOne is installed:

StorageFormat=DicomPart10

The ImageMagick PHP extension needs the extra Dicom header to determine the correct file type.

In the next release coming out (version 2.1.4), a .DCM extension will be added to the image filenames to help ImageMagick decide the image type, even if you have chosen the non-default Native storage format.

StorageFormat = DicomPart10 doesn't fix the problem

Posted: Thu Nov 29, 2007 2:27 pm
by uliggett@sdltd.com
I have the exact same problem listed above but my storage format was already set to DicomPart10. I'm running PacsOne Server 5.1.3. I noticed that the thread is 2 years old but the latest version of PacsOne still has this problem. Is there a fix in the works?

Posted: Thu Nov 29, 2007 6:25 pm
by pacsone
What is the version of the ImageMagick PHP extension from the output of the test page?

http://localhost/pacsone/Hello.php