|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-05-24 21:57 UTC] jan dot gajos at agzeta dot pl
-Status: Open
+Status: Closed
[2017-05-24 21:57 UTC] jan dot gajos at agzeta dot pl
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 17:00:01 2025 UTC |
Description: ------------ When exportImagePixels is calling with TIFF 16bit grayscale picture, an array with all elements = 0 is returned for map = R,G,B,O,I,P and max value (eg 65535 for INTEGER, 255 for CHAR) for map = A. Test script: --------------- $im = new Imagick(); $im->readImage('picture.tif'); $arr = $im->exportImagePixels(10,10,10,10,'I',imagick::PIXEL_QUANTUM); var_dump( $arr ); Expected result: ---------------- array with INTEGER or FLOAT values depend on 6th parameter Actual result: -------------- array(16) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(0) [4]=> int(0) [5]=>