Re: jpeg2000 in php 4.3

From: Date: Thu, 16 Jan 2003 12:50:50 +0000
Subject: Re: jpeg2000 in php 4.3
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93523@lists.php.net to get a copy of this message
I've completed a short patch which cleans up the JPEG 2000 raw codestream support ("j2c", though I've renamed it jpeg2000 in the file for clarity) in getimagesize. It also adds JP2 support. I've put a context diff of it against 4.3.x-dev from this morning up at... http://www.j2g.org/patches/jpeg2000imgdiff.patch Small changes have been made to ext/standard/php_image.h with 99% of the work in ext/standard/image.c. I've tried to apply CODING_STANDARDS, but it's probable I've messed up somewhere so I'm happy to make any changes or regenerate the diffs in other formats. If this gets applied, it might be worth adding something like the following to the documentation. "Note that JPEG 2000 and JP2 are capable of having components with differing bit depths. In this case, the value for "bits" is the highest bit depth encountered. Also, JP2 files can contain multiple JPEG 2000 codestreams. In this case, getimagesize returns the values for the first codestream it encounters in the root of the file." Hope it's useful. adamw adamw@archgrove.co.uk PS - I looked around but couldn't find any patch submission guidelines. Is there a page people should read first? ----- Original Message ----- From: "Marcus Börger" <marcus.boerger@t-online.de> To: "Adaloglou Maria" <madalogl@iti.gr> Cc: <php-dev@lists.php.net> Sent: Friday, January 10, 2003 11:31 AM Subject: Re: [PHP-DEV] jpeg2000 in php 4.3 > At 10:10 10.01.2003, Adaloglou Maria wrote: > >As I have read in the manual about the getimagesize function that > >"Note: JPEG2000 support will be added in PHP 4.3. " > >Do you know if it is supported finaly? > > No - at the moment there is only support for jpc. > sorry i haven't yet the time to read through the complete > jpeg2000 specs. > > marcus > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.dev (#93523) next »