Re: Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
ake your word on that, I've never played with imagemagick, having found GD to produce quality good enough for my needs. > > Ash > www.ashleysheridan.co.uk [1] > > > -------- > > Onderwerp: &

Re: Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
lity 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] > > Aan: >

Re: Re: [PHP] Image Generation

2008-08-20 Thread php
lity 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] > > Aan: >

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
duce quality good enough for my needs. Ash 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

Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
bout using ImageMagik to do this? I know that you can exec() out to this from within Windows and Linux, and ImageMagik is free to use (as far as I'm aware) so it could be just what you need. Ash www.ashleysheridan.co.uk ------------

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
Ash www.ashleysheridan.co.uk -------- Onderwerp: [PHP] Image Generation Van: "Alex Chamberlain" <[EMAIL PROTECTED]> Datum: Wed, 20 Aug 2008 08:29:50 +0100 Aan: "PHP General list" Aan: "PHP General list" Return-path: <

Re: [PHP] Image Generation

2008-08-20 Thread Jochem Maas
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 represe

Re: [PHP] Image Generation

2008-08-20 Thread Ashley Sheridan
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 this

[PHP] Image Generation

2008-08-20 Thread Alex Chamberlain
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 represent all this on a single imag

Re: [PHP] Image Generation: Centering Text

2005-05-02 Thread Richard Davey
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> (

[PHP] Image Generation: Centering Text

2005-05-02 Thread Richard Collyer
Hello, I am using the following code. imagefill($img_number,0,0,$white); $number = $_GET['text']; Imagettftext($img_number, 10,0,4,15,$black,'arial.ttf',$number); header("Content-type: image/jpeg"); $rotate = imagerotate($img_number, 270, 0); imagejpeg($rotate); ?> But I need to center the text in

[PHP] image generation with PHP

2002-11-24 Thread Myrage
is it possible to generate images with texts automatically?? like for eg. if the text is 7555 then automatically an image is generated with the text 7555 in it any help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Jason Wong
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

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread heinisch
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 m

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Peter Revill
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

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Jason Wong
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 chec

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Peter Revill
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, >>in

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Jason Wong
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

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread heinisch
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

[PHP] image generation Problems (jpeg)

2002-04-29 Thread Peter Revill
= 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 (the verison i have) does not sup

Re: [PHP] image generation issues

2002-02-11 Thread Adrian Murphy
ruary 12, 2002 3:38 AM Subject: 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 we

Re: [PHP] image generation issues

2002-02-11 Thread Tom Rogers
;[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 displayed, you need to use $im before you destroy > > it. > >

Re: [PHP] image generation issues

2002-02-11 Thread Adrian Murphy
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 generatio

RE: [PHP] image generation issues

2002-02-11 Thread Martin Towell
ebruary 12, 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: "

Re: [PHP] image generation issues

2002-02-11 Thread Adrian Murphy
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, Feb

Re: [PHP] image generation issues

2002-02-11 Thread hugh danaher
ame.png"); 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 i

RE: [PHP] image generation issues

2002-02-11 Thread Martin Towell
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 generat

[PHP] image generation issues

2002-02-11 Thread Adrian Murphy
Hi, I'm using the code in the manual to draw text on a png. but Its not working - ImageString() works but not ImageTTFText() I uploaded arial.ttf from windows to fonts/ folder Any Ideas: as a side note: PNG's - any real disadvantage to using them instead of gifs - not withstanding the compuserve

[PHP] Image generation scripts

2001-12-22 Thread Step One
Hi there! I'm writing some stuff for a non-profit site as voluntary help. Does somebody have any PHP image generation scripts (GD) that could be used to "pretty" up a statistics page. The produced image should be a chart, pie, bars or something similar that could visually re

RE: [PHP] Image Generation Library

2001-08-08 Thread Bruin, Bolke de
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]

[PHP] Image Generation Library

2001-08-08 Thread ignacio . estrada
Hi to all, I need to create web pages containing images which should be updated periodically, but the image contents may vary as data coming from a database varies. What is that?, well the image will contain dynamic objects and static objects. The dynamic objects can be text (representing databa

[PHP] image generation + SSL

2001-07-19 Thread Iztok Stotl
Hello ! I have a problem with image generation on secure sites (SSL) ;( When I open a new window from a file using SSL (relative adressing) : window.open("graf.php","Graf","location=no,toolbar=no,menubar=no,status=no,w idth=710,height=530"); I get the message that there are also nonsecure elem

Re: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread ReDucTor
No Problem - Original Message - From: Jeff Lewis <[EMAIL PROTECTED]> To: ReDucTor <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 2:48 AM Subject: RE: [PHP] Website dealing with PHP image generation? > I used ImageCreateFromPNG and it worked

RE: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread Jeff Lewis
ject: Re: [PHP] Website dealing with PHP image generation? > > > Try > > $image = ImageCreate(500, 70); > $bg = ImageColorAllocate($image, 255, 255, 255); > $blue = ImageColorAllocate($image, 0, 0, 255); > $black = ImageColorAllocate($image, 0, 0, 0); > $himage= > Ima

Re: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread ReDucTor
quot;); ImageDestroy($image); - Original Message - From: Jeff Lewis <[EMAIL PROTECTED]> To: ReDucTor <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 2:17 AM Subject: RE: [PHP] Website dealing with PHP image generation? > Tried with and without a

RE: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread Jeff Lewis
Tried with and without and no luck, it has me stumped :) Jeff > -Original Message- > From: ReDucTor [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 01, 2001 11:53 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Website dealing with PH

Re: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread ReDucTor
gt;; <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 1:48 AM Subject: RE: [PHP] Website dealing with PHP image generation? > I have changed it to below but still get this error "Warning: Supplied > argument is not a valid Image resource in /home/hyrum/public_html/test.php &g

RE: [PHP] Website dealing with PHP image generation?

2001-07-01 Thread Jeff Lewis
t: Wednesday, May 30, 2001 6:31 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Website dealing with PHP image generation? > > > Jeff, > > I am not extremely fimilar with this function. However, I did > notice you are copying your image at a width and height of 1x1. >

RE: [PHP] Website dealing with PHP image generation?

2001-06-30 Thread Jon Yaggie
Jeff, I am not extremely fimilar with this function. However, I did notice you are copying your image at a width and height of 1x1. this is my guess as far as i know by default this pixels. so the likehood you would see an image copied at 1x1 is rather low. but perhaps i am complete wro

[PHP] Website dealing with PHP image generation?

2001-06-30 Thread Jeff Lewis
Ok, I have tried Experts Exchange, Devshed, and even posted on here asking. Does anyone know how to use the image generation? I looked for a good site on it but found nothing... My problem. I am creating an image on the fly based on newest entries in one my mySQL tables. In this created im

[PHP] Image generation

2001-06-28 Thread Young C. Fan
Hi, I'd like to write some scripts that resize high-res jpegs and gifs into smaller jpegs and gifs. What are the best tools for doing this? I've heard of the GD library and ImageMagick. Which one is better? Are there others? I'll definitely have to generate gif's, so png support by itself isn't s