Re: Images in PHP and MySQL

From: Date: Thu, 30 Sep 2004 22:44:54 +0000
Subject: Re: Images in PHP and MySQL
Groups: php.general 
Request: Send a blank email to php-general+get-198358@lists.php.net to get a copy of this message
On Friday 01 October 2004 05:52, Ed Lazor wrote: > Images take up more space when stored in the db, because you're storing raw > binary data. Gif and jpeg are compression methods that convert binary data > into something smaller that can be stored in a file. ?? If you store a jpeg file into a database blob, the database doesn't magically decompress the jpeg file. It will just treat the jpeg file as any other binary file and store it as-is (plus any overhead). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* "I went into a general store, and they wouldn't sell me anything specific". -- Steven Wright */

« previous php.general (#198358) next »