I don't think GD has a built-in function to scale an image the way you
are asking, and to do it on a pixel by pixel basis from within a
function is going to be a very time consuming and memory costly process.
Have you thought about using ImageMagik to do this? I know that you can
exec() out to
Alex Chamberlain schreef:
Hi,
I need to generate an online proof for vinyl lettering. Customers specify
the text, font, colour, maximum frame size (mm) (ie the width and height it
must fit into), and whether or not they want to keep aspect ratio (ie not
distort the lettering).
I want to
Ashley Sheridan schreef:
I don't think GD has a built-in function to scale an image the way you
are asking,
of course you can scale images with GD, but everything works in pixels,
ImageMagick is no different ... there is no such thing as millimeters when it
comes to bitmap images, you can
Hence me saying in the way you are asking I know GD can scale images
(I've done that myself on more than one occassion), but not images that
are intended for print as opposed to screen viewing, as this appears to
be.
As for quality, I've found that GD offers comparable quality images to
www.ashleysheridan.co.uk
Onderwerp:
Re: [PHP] Image Generation
Van:
Jochem Maas [EMAIL PROTECTED]
Datum:
Wed, 20 Aug 2008 11:06:14 +0200
Aan:
[EMAIL PROTECTED]
Aan:
[EMAIL PROTECTED]
CC:
Alex Chamberlain [EMAIL PROTECTED], PHP General list
:
Re: [PHP] Image Generation
Van:
Jochem Maas
Datum:
Wed, 20 Aug 2008 11:06:14 +0200
Aan:
[EMAIL PROTECTED] [3]
Aan:
[EMAIL PROTECTED] [4]
CC:
Alex Chamberlain , PHP General list
Return-path:
[EMAIL PROTECTED]
Envelope-to:
[EMAIL
: [PHP] Image Generation
Van:
Jochem Maas
Datum:
Wed, 20 Aug 2008 11:06:14 +0200
Aan:
[EMAIL PROTECTED] [3]
Aan:
[EMAIL PROTECTED] [4]
CC:
Alex Chamberlain , PHP General list
Return-path:
[EMAIL PROTECTED]
Envelope-to:
[EMAIL PROTECTED] [7
good enough for my needs.
Ash
www.ashleysheridan.co.uk [1]
Onderwerp:
Re: [PHP] Image Generation
Van:
Jochem Maas
Datum:
Wed, 20 Aug 2008 11:06:14 +0200
Aan:
[EMAIL PROTECTED] [3
Hello Richard,
Monday, May 2, 2005, 4:47:42 PM, you wrote:
RC But I need to center the text in the image that is generated. As I
RC am using the same font and it is fixed at 10px I was thinking of
RC doing something like:
RC (Get Length of Text in Chars * Width of Average Char) DIV 2.
RC
At 29.04.2002 20:02, you wrote:
=
PLEASE CC ALL AWNSERS TO [EMAIL PROTECTED]
=
hi, im having a few problems installing GD, ill start from the top:
I need Jpeg support in my PHP installation, and unfortunatly, GD
On Monday 29 April 2002 20:02, Peter Revill wrote:
hi, im having a few problems installing GD, ill start from the top:
I need Jpeg support in my PHP installation, and unfortunatly, GD (the
verison i have) does not support them, so i figure, ill install it,
installing the libary jpeg-6b
Jason Wong wrote:
On Monday 29 April 2002 20:02, Peter Revill wrote:
hi, im having a few problems installing GD, ill start from the top:
I need Jpeg support in my PHP installation, and unfortunatly, GD (the
verison i have) does not support them, so i figure, ill install it,
installing the
On Monday 29 April 2002 21:40, Peter Revill wrote:
Im not even sure myself, linux on 2.2.14 on what should be a redhat box
i know theres a command something like dsmod to get the info, hmm..
Never mind, as long as you're reasonably sure it's a RH system you're running
on .
Have you checked
Jason Wong wrote:
On Monday 29 April 2002 21:40, Peter Revill wrote:
Im not even sure myself, linux on 2.2.14 on what should be a redhat box
i know theres a command something like dsmod to get the info, hmm..
Never mind, as long as you're reasonably sure it's a RH system you're
At 29.04.2002 15:24, you wrote:
At 29.04.2002 20:02, you wrote:
=
PLEASE CC ALL AWNSERS TO [EMAIL PROTECTED]
=
hi, im having a few problems installing GD, ill start from the top:
I need Jpeg support in my PHP
On Monday 29 April 2002 21:55, Peter Revill wrote:
Its a colbat cube running some sort of modified linux, i think based on
Redhat
i doint know what kind of colbat cube
I presume you mean Colbalt ;-) in which case you cannot use the RH rpms.
If there aren't any special reasons, I would just
when you say it doesn't work, do you mean that you get an error message or
it just doesn't write the text to the image?
-Original Message-
From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 1:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] image generation issues
);
hope this helps.
Hugh
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Adrian Murphy' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, February 11, 2002 6:36 PM
Subject: RE: [PHP] image generation issues
when you say it doesn't work, do you mean that you get an error
i get 'Could not read font in..'
i set permissions to 777 on both file and folder
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Adrian Murphy' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 2:36 AM
Subject: RE: [PHP] image generation issues
when
, 2002 2:04 PM
To: Martin Towell; [EMAIL PROTECTED]
Subject: Re: [PHP] image generation issues
i get 'Could not read font in..'
i set permissions to 777 on both file and folder
- Original Message -
From: Martin Towell [EMAIL PROTECTED]
To: 'Adrian Murphy' [EMAIL PROTECTED];
[EMAIL PROTECTED
tried everything suggested and still get 'could not read font' oh well
thanx.
- Original Message -
From: hugh danaher [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 3:00 AM
Subject: Re: [PHP] image generation issues
Adrian,
If you're using the code
: Re: [PHP] image generation issues
Hi
Some of MS fonts wont work, try downloading some freeware fonts.
Tom
At 01:24 PM 2/12/02, Adrian Murphy wrote:
tried everything suggested and still get 'could not read font' oh well
thanx.
- Original Message -
From: hugh danaher [EMAIL
Hi,
read the manual on the GD-library (www.php.net/image)
it wont do any GIFS anymore, but it'll all the rest
Bolke
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Verzonden: Wednesday, August 08, 2001 6:14 PM
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Image
23 matches
Mail list logo