|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-14 08:44 UTC] pajoye@php.net
[2004-03-14 12:16 UTC] tom at kornack dot com
[2016-12-30 18:57 UTC] cmb@php.net
-Package: Feature/Change Request
+Package: GetImageSize related
[2018-04-03 13:00 UTC] cmb@php.net
[2018-04-03 13:15 UTC] cmb@php.net
[2022-04-07 19:29 UTC] ilutov@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: ilutov
[2022-04-07 19:29 UTC] ilutov@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
Description: ------------ JPEG 2000 IPTC blocks are not returned by the GetImageSize imageinfo array. This information is increasingly important with the next generation of digital cameras that will call for compressed, 16-bit files. Reproduce code: --------------- <?php $filename = "iptctestimage.jp2"; $size = GetImageSize ($filename,&$info); $iptc = iptcparse ($info["APP13"]); $title = $iptc["2#105"][0]; print("Title: ".$title."\n") ?> A sample JPEG 2000 image file is available here: http://listera.org/pub/iptc/iptctestimage.jp2 This code is also available here: http://listera.org/pub/iptc/iptctest.phps A sample JPEG that does work is available here: http://listera.org/pub/iptc/iptctestimage.jpg Expected result: ---------------- Title: Title Metadata Actual result: -------------- Title: