From:             npeelman at cfl dot rr dot com
Operating system: n/a
PHP version:      5.2.5
PHP Bug Type:     Feature/Change Request
Bug description:  getimagesize should be able to work on string data as well...

Description:
------------
  Any reason why getimagesize couldn't be extended to accept image data in
string format such as:

array getimagesize (string $filename | string $string [, array
&$imageinfo])

  This would be very handy for pulling image info from data stored in
cache (such as APC) or BLOB data from a database without first converting
with imagecreatefromstring() -> temp file -> getimagesize($temp_file).

  I see BUG #25507 but no example is given on how to achieve it. It seems
to me that the binary data in the string variable is already in the format
needed. 

  I'm actually on PHP version 5.1.6 (ubuntu linux) as per phpinfo().

Thank you for your time,
Norman Peelman

Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
n/a

-- 
Edit bug report at http://bugs.php.net/?id=44239&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44239&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44239&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44239&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44239&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44239&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44239&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44239&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44239&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44239&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44239&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44239&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44239&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44239&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44239&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44239&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44239&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44239&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44239&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44239&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44239&r=mysqlcfg

Reply via email to