Display images
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.
I have tried logging in under root and as a user account I created to view studies.
What am I doing wrong.
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.
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.
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
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
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?
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?
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:Anonymous wrote: Warning: imagick_iserror() expects parameter 1 to be resource, boolean given in /usr/local/pacsone/php/display.php on line 516
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)
No, the ImageMagick PHP extension and the Java Applet viewer are indepenent of each other.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?
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
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.
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.
Problems
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:
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:
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.
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.
-
- Posts:1
- Joined:Thu Nov 29, 2007 2:23 pm
StorageFormat = DicomPart10 doesn't fix the problem
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?
What is the version of the ImageMagick PHP extension from the output of the test page?
http://localhost/pacsone/Hello.php
http://localhost/pacsone/Hello.php