Go to Post I'm sure someone somewhere worked [I]really hard[/I] on this and I congratulate them for the attempt. Unfortunately, its one of those things that should be taken down and recorded in the company journal as a bad idea. - Katie_UPS [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-06-2003, 20:41
Trashed20's Avatar
Trashed20 Trashed20 is offline
Boom, Shawalala Boom!
#0862 (PCEP Lighting)
 
Join Date: Jan 2002
Location: Canton, MI
Posts: 528
Trashed20 will become famous soon enough
Send a message via AIM to Trashed20
Question php and gzip compression

I was fooling around trying to code an uber leet photo gallery thing and i read about php's gzip functions. I played around with em and got nothing to work. I'm trying to take a string of an image read in using the GD lib, compress it, save to a file. opening it is pretty easy. Any one have any experience using these functions? Any points i need to look out for?
__________________
Where has all the fun gone?
  #2   Spotlight this post!  
Unread 12-06-2003, 21:32
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
I have it turned on for the forums.

I have it set at level 1 (default)

You can set it from level 1 -> level 9

But -- the compression level at level 9 makes the data sent smaller, however any time you save in sending the data is spent in the actual compression process. So you really are losing data sending time, and gaining it back in processing time and just adding a load to your processor.

Thats what I read on the vBulletin forums about mod_gzip, at least.
__________________
Brandon Martus
e-mail
  #3   Spotlight this post!  
Unread 12-06-2003, 22:11
Trashed20's Avatar
Trashed20 Trashed20 is offline
Boom, Shawalala Boom!
#0862 (PCEP Lighting)
 
Join Date: Jan 2002
Location: Canton, MI
Posts: 528
Trashed20 will become famous soon enough
Send a message via AIM to Trashed20
well, im doing this on the server side to conserve space. i'd send the uncompressed picture from the compressed archive on the server. i really don't care too much about bandwidth yet
__________________
Where has all the fun gone?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:02.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi