Ah, yes.
In that case, read the EXIF with PEL or PJMT[1], resize using
imagejpeg, and finally write the EXIF back to the image.
You could even read the EXIF data with PHP's exif_read_data but
there's no built in way to write it back.
Good luck, let us know how you get on.
[1] http://www.ozhiker
Thanks for the answer, but the problem with imagejpeg, is that it removes
the exif-tags ( sorry that I forgot to mention that one ), wich is why I
searched myself to PEL.
// Markus
On 5/14/07, Matt Sephton <[EMAIL PROTECTED]> wrote:
As far as I know the GD function should reduce the file size
As far as I know the GD function should reduce the file size as long
as you specify a lower quality than the JPEG is already.
bool imagejpeg ( resource image [, string filename [, int quality]] )
matt
On 14/05/07, Mackyman <[EMAIL PROTECTED]> wrote:
> Heya!
>
> I have searched google, php.net an
Heya!
I have searched google, php.net and pel.sourceforge.net for a solotion to
compress JPEG pictures ( JPEG compression ) with pel or php to save space.
Is it even possible ( as I have found, the only gd-function that compresses
is the imageJpeg, and that's not helping, right? )?
Cheers//
Mar