It could be that the PHP you are using for testing does not have GD
support (whoever packaged it didn't have it compiled in). The quick way
to check would be a quick phpinfo() script. That should at least give
you somewhere to start.
Kyle
Steve Marquez wrote:
> Does anyone know anything about t
John Nichel wrote:
tedd wrote:
Here's my take -- gif's are no longer supported by the GD library
because of patent problems. So development of how to deal with them
has been moved to png.
Untrue. GIF images *are* supported by the GD library. They were
briefly taken out, but the support w
tedd wrote:
Here's my take -- gif's are no longer supported by the GD library
because of patent problems. So development of how to deal with them
has been moved to png.
Untrue. GIF images *are* supported by the GD library. They were
briefly taken out, but the support was re-enabled in v2.
tedd wrote:
Here's my take -- gif's are no longer supported by the GD library
because of patent problems. So development of how to deal with them has
been moved to png.
Untrue. GIF images *are* supported by the GD library. They were
briefly taken out, but the support was re-enabled in v2.
tedd wrote:
Based on the area increase; I'd expect the file size to about double,
not be 4x as large.
$src_img = imagecreatefromgif($filename);
$dest_img = imagecreatetruecolor($new_width, $new_height);
Can anyone explain or have a solution?
Here's my take -- gif's are no longer supported b
Based on the area increase; I'd expect the file size to about
double, not be 4x as large.
$src_img = imagecreatefromgif($filename);
$dest_img = imagecreatetruecolor($new_width, $new_height);
Can anyone explain or have a solution?
Here's my take -- gif's are no longer supported by the GD libr
Jochem Maas wrote:
Al wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about dou
Al wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double,
not be 4x as l
John Nichel wrote:
Al wrote:
Philip Hallstrom wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect t
Al wrote:
Philip Hallstrom wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to abou
Philip Hallstrom wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double,
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double, not be
4x as large.
$sr
Ciprian Constantinescu wrote:
Not efficient, because the actual size on the disk depends on the
filesystem. I don't think you can find out before writing it to the disk
excuse me but:
1. the OP asked for the size of the file, not the number of bytes it takes
up on disk (which are eaten up in f
Not efficient, because the actual size on the disk depends on the
filesystem. I don't think you can find out before writing it to the disk
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Karuna wrote:
> > Hi. Is possible to calculate the filesize of image that will resu
Karuna wrote:
Hi. Is possible to calculate the filesize of image that will result from
using imagejpeg without actually writing to disk?
Thanks :)
something like (although its not very efficient, I think):
ob_start();
image_jpeg($im); // $im is an GD resource
$data = ob_get_contents();
ob_en
On Friday 23 July 2004 14:37, Alexandru Boulescu wrote:
> I'm a newbie to linux and I have a question related to gd2 and ttf fonts
> under this operating system.
>
> I hava a php script that writes a text on a picture using functions like
> and i don't know how and where to install ttf fonts for t
On Friday 28 November 2003 15:33, Catalin Trifu wrote:
> Fonts,
>
> I am trying to use imageloadfont($PATH_TO_FONT . '/arial.ttf'); on a
> windowze
> machine. It fails without any error message.
> Now, the font I use is the one from the windows Fonts/ dir.
> I have also installe
Use imagecreatetruecolor() instead of imagecreate()
Jiří Němec wrote:
hello everyone,
i have got a question about creating thumbnails from original JPG
files. users upload their own pohotos in JPG format to server, and
system makes a thumbnails.
these thumbnails are sometime black. probably ther
> -Original Message-
> From: Dave O Keeffe [mailto:[EMAIL PROTECTED]
> Sent: 29 May 2003 15:28
>
> I read in the ChangeLog for v4.3.2 that GD2 is bundled with
> this release. I
> downloaded and installed the Windows Installer version but my sample
> imagecreate code still doesn't work,
19 matches
Mail list logo