[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] Images in PHP and MySQL
From:       Jason Wong <php-general () gremlins ! biz>
Date:       2004-09-30 22:44:54
Message-ID: 200410010644.54373.php-general () gremlins ! biz
[Download RAW message or body]

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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic