NYCPHP Meetup

NYPHP.org

[nycphp-talk] Compressing PDF's

Edward Potter ejp at well.com
Wed Jul 9 15:31:58 EDT 2003


Hmmm, I would suspect that Adobe has compressed their PDF's as far as 
possible?

Kinda of like trying to compress an .mp3? Of course I could be totally 
wrong, since I have not tried.

  -e



On Wednesday, July 9, 2003, at 03:23 PM, Hans Zaunere wrote:

>
> Hey Jerry,
>
> Jerry Kapron wrote:
>> Does anyone know of a way to compress an *existing* raw PDF (ascii) 
>> file in
>> LAMP environment?
>
> Since PDF is just text, why not gzip, bzip2 or even zip?  For example,
>
> $compressed = `/usr/bin/gzip -c something.pdf`;
>
> [those are backticks]
>
> And I think newer versions of PHP support this type of thing 
> internally via http://us2.php.net/zlib
>
> H
>
>
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>




More information about the talk mailing list