Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-09 Thread Porpoise
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Actually I don't believe this is exactly right from playing around with Photoshop you can see that you change an image's resolution under Image - Image Size and if you turn off Resample Image, it will retain the same pixel

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-09 Thread tedd
[EMAIL PROTECTED] said: If somebody has more or better information on this, I'd love to hear it but this is how it is as far as I know and have experienced. Porpoise [EMAIL PROTECTED] answered: First off, DPI is not a function within an image, it is a function of output and is governed by a

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-09 Thread Porpoise
tedd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [EMAIL PROTECTED] said: Thanks for your explanation. Anyone who agrees with me, must be very intelligent. :-) IyamIyam. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-08 Thread tedd
At 11:07 PM +0200 5/7/06, Gustav Wiberg wrote: Hi there! Is there any way of converting a jpg to gif and change dpi on the fly? Best regards Gustav Wiberg Gustav: It depends how big the fly is. But seriously, yes you can change a jpg into a gif by loading it in as a jpg

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-08 Thread tg-php
Actually I don't believe this is exactly right from playing around with Photoshop you can see that you change an image's resolution under Image - Image Size and if you turn off Resample Image, it will retain the same pixel dimensions. GIF's are limited to 72dpi (or ppi if you prefer..

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-08 Thread tedd
-TG: At 10:51 AM -0400 5/8/06, [EMAIL PROTECTED] wrote: Actually I don't believe this is exactly right from playing around with Photoshop you can see that you change an image's resolution under Image - Image Size and if you turn off Resample Image, it will retain the same pixel

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-08 Thread Richard Lynch
On Sun, May 7, 2006 4:07 pm, Gustav Wiberg wrote: Is there any way of converting a jpg to gif and change dpi on the fly? ?php $source = /full/path/to/image.jpg; $image = imagecreatefromjpeg($image); //optional step, to REALLY trim that sucker down: //cut this step out if it looks really

Re: [PHP] Convert from jpg to gif ... change dpi...[off something]

2006-05-08 Thread tg-php
First, a correction or clarification to what I was saying. PPI and DPI are not the same. PPI is used for on-screen display, DPI is used for printing. The quick and dirty with DPI is that printers can print dots, but each dot represents only (typically) the standard CMYK (cyan, magenta,

Re: [PHP] Convert from jpg to gif ... change dpi...[off something]

2006-05-08 Thread tedd
-TG: I apologize for my sarcasm. Let's start at basic Images 101, shall we? Please be opened minded enough to consider. The original poster simply asked: Is there any way of converting a jpg to gif and change dpi on the fly? We both agree that we can change the image from a jpg to a gif,

[PHP] Convert from jpg to gif ... change dpi...

2006-05-07 Thread Gustav Wiberg
Hi there! Is there any way of converting a jpg to gif and change dpi on the fly? Best regards Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert from jpg to gif ... change dpi...

2006-05-07 Thread Rory Browne
imagemagick? On 5/7/06, Gustav Wiberg [EMAIL PROTECTED] wrote: Hi there! Is there any way of converting a jpg to gif and change dpi on the fly? Best regards Gustav Wiberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php