Req #34622 [Opn->Sus]: Add image functions to support editing/creating "comments"

From: Date: Mon, 11 Jul 2022 13:20:05 +0000
Subject: Req #34622 [Opn->Sus]: Add image functions to support editing/creating "comments"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241901@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=34622&edit=1 ID: 34622 Updated by: cmb@php.net Reported by: smc+phpbugs at dogphilosophy dot net Summary: Add image functions to support editing/creating "comments" -Status: Open +Status: Suspended Type: Feature/Change Request -Package: EXIF related +Package: *Graphics related Operating System: Linux PHP Version: Next Minor Version Block user comment: N Private report: N New Comment: libgd has still no support for image meta data whatsoever, so adding this functionality to the GD extension doesn't make sense. Instead this should be added upstream[1] first, and then we could add wrappers for that. Adding write support for EXIF might make sense, but it is certainly a lot of work, and I'm not convinced that this isn't better be done in userland, and apparently there are some packages already available[2]. But frankly, I'm not even sure that this feature request is about EXIF; there are several competing and partially overlapping "standards" for adding meta information to images. Anyhow, if anybody is still interested in this, please pursue the RFC process[3]. For the time being, I'm suspending this ticket. [1] <https://github.com/libgd/libgd> [2] <https://packagist.org/?query=exif> [3] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2019-10-18 11:44:28] girgias@php.net Assigning to kalle for review as he's the EXIF maintainer. ------------------------------------------------------------------------ [2005-09-24 02:21:49] smc+phpbugs at dogphilosophy dot net Description: ------------ Perhaps more of a "Bundled GD" issue that an PHP issue directly - I'd love to have support for reading and writing "comments" from images (TEXT records in PNG, comments in JPEG). EXIF support only covers reading information, not creating or editing records for images. Either ability to read and write "comments" (imagewritepngtext($image)? imagewritejpegcomment($image)?) or even just ability to create and write EXIF data in the EXIF functions would be nice. Reproduce code: --------------- (N/A) Expected result: ---------------- Ability to generate (for example) geotag information for .jpeg images, or for PNG-format map images generated in PHP. Actual result: -------------- (N/A - feature request for new functions) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=34622&edit=1

« previous php.bugs (#241901) next »