larger images

Most commonly desired features to be implemented in PacsOne
Post Reply
marneson
Posts:13
Joined:Tue Oct 14, 2003 10:39 pm
larger images

Post by marneson » Wed Oct 15, 2003 2:52 pm

About 4 times the current size when you click on an image would be good too.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Displaying 2x Magnified Images

Post by pacsone » Wed Oct 15, 2003 11:11 pm

An option/link is added to the PHP Image page of the PacsOne Server web interface to display 2x magnified image, in addition to the current full-size display of the original image.

This feature will be available in the next build, which is version 1.0.0.8.

acolburn
Posts:4
Joined:Tue Oct 21, 2003 10:00 pm
Location:IL

increase image

Post by acolburn » Wed Oct 22, 2003 2:56 am

if you put the line of code befoe that last if statement in showimage.php

imagick_magnify($jpg);

so the last lines of the code look like this;


//modify image
imagick_magnify($jpg);


if (!( $image_data = imagick_image2blob($jpg)))
{
$reason = imagick_failedreason($jpg);
$description = imagick_faileddescription( $jpg );
print "imagick_image2blob() failed<BR>\nReason: $reason<BR>\nDescription: $description<BR>\n";
exit;
}

header("Content-type: " . imagick_getmimetype($jpg));



print $image_data;

?>



it will double the size of the image, also if you want to do any other modifiying of the image this would be the place for it. You can get a list of the commands at http://pecl.php.net/package/imagick. If you down load the file and then look at imagick.c you will see all of the available commands.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Oct 24, 2003 2:11 am

This feature will be added in the next version of PacsOne (version 1.0.0.8).

If you can't wait for the next release or you want to update the web user interface only, you can download the PHP.ZIP file from the download page:

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

Guest

Post by Guest » Sat Nov 08, 2003 9:25 pm

Actually, a minify (1/2, 1/4) function would be nice in addition to 2x magnification. For larger films like chest and systems with relatively limited resolution.
LJJ

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: larger images

Post by pacsone » Sun Nov 09, 2003 11:10 pm

Version 1.0.0.10 has added new online image processing tools, including Image Resize where you can press the 2x button to zoom it multiple times or specify the X and Y size in pixels and resize it.
marneson wrote:About 4 times the current size when you click on an image would be good too.

Post Reply