Req #61024 [Fbk->Csd]: IPTC tags limited to 64 chars
| From: | opajaap at opajaap dot nl | Date: | Fri, 17 Jul 2015 12:51:38 +0000 |
| Subject: | Req #61024 [Fbk->Csd]: IPTC tags limited to 64 chars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194516@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61024&edit=1
ID: 61024
User updated by: opajaap at opajaap dot nl
Reported by: opajaap at opajaap dot nl
Summary: IPTC tags limited to 64 chars
-Status: Feedback
+Status: Closed
Type: Feature/Change Request
Package: GetImageSize related
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I can also no longer repreoduce this problem. Call closed.
Previous Comments:
------------------------------------------------------------------------
[2015-07-17 12:05:15] cmb@php.net
I can't reproduce the truncation of IPTC fields to 64 characters.
Please provide a link to an image where this issue can be
reproduced.
------------------------------------------------------------------------
[2012-02-09 09:16:03] opajaap at opajaap dot nl
Description:
------------
---
From manual page: http://www.php.net/function.iptcparse#refsect1-function.iptcparse-description
---
The code example below returns values in $desc truncated to 64 chars.
We would like to see that the full strings are returned.
Test script:
---------------
$attr = getimagesize($file, $info);
$iptc = iptcparse($info['APP13']);
foreach (array_keys($iptc) as $s) {
if ( is_array($iptc[$s]) ) {
$c = count ($iptc[$s]);
for ($i=0; $i <$c; $i++) {
$desc = $iptc[$s][$i];
echo $desc.'<br />';
}
}
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61024&edit=1