Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ravi Kanth
  Where is Ravi Kanth?
 Hyderabad
 India
 Ravi Kanth
 To: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 Tags
Subject: RE: Text On Image
Thread ID: 209220 Message ID: 209321 # Views: 2 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Projects and Design
Date: Saturday, December 27, 2008 7:36:22 AM         
   


> >
> > Hi Yousfi,
> >
> > Thanks for example.
> > But what I need is, user just gives the picture path and text, the program will automatically creates the new image file adding the text at the bottom part of the image (ie., 400X300 is original image resolution, the new image will be 400X380 adding the text at the lower 80 pix by not distorting the original image)
> >
> > I was trying with Ceser examples, but no luck so far.
> >
> > Ravi.,
>
>
> Ah ! you want original image size and a saved image with text.
> I give you it in the zip below.unzip and run the form.Its allow you to change text,font,size,bold/italic for text and save in the original size of your image.
> if you have some learning in gdiplusX you can adapt it at any situation (code in beforedraw and save button).
> https://www.foxite.com/uploads/fb765250-2565-4393-b942-ef078f5e5976.zip
>
> you obtain an image like this:
>
>
> this zip below is the same but is the lastest and more elaborated
>
> https://www.foxite.com/uploads/847cf195-9094-47da-ad91-65c23f825365.zip
>
> regards

Hi Yousfi,

Thanks for the help.
I think, I didn't explain clearly before.

Here is what exactly I need.
I need a program that takes an image and adds some text to it, ideally I want to "extend" the height of the image, meaning if the image is 400x300, I want to make the output 400x380 for example where the lower 80 pix are white and the original image is in the top 300 and make sure image does not distort, (a circle has to stay circle not become an oval) then add the text to the lower 80.

In the attachment, I added the images how I am expecting to be.


https://www.foxite.com/uploads/fd69826f-f9e5-4916-88b2-3ae1172ecb90.zip

TIA,
Ravi.,

ENTIRE THREAD

Text On Image Posted by Ravi Kanth @ 12/26/2008 8:14:58 AM
RE: Text On Image Posted by Anil Sharma @ 12/26/2008 8:53:22 AM
RE: Text On Image Posted by Ravi Kanth @ 12/26/2008 1:24:49 PM
RE: Text On Image Posted by Yousfi Benameur @ 12/26/2008 11:06:58 AM
RE: Text On Image Posted by Ravi Kanth @ 12/26/2008 1:23:54 PM
RE: Text On Image Posted by Yousfi Benameur @ 12/26/2008 4:24:28 PM
RE: Text On Image Posted by Ravi Kanth @ 12/27/2008 7:36:22 AM
RE: Text On Image Posted by Yousfi Benameur @ 12/28/2008 1:01:47 AM
RE: Text On Image Posted by Ravi Kanth @ 12/29/2008 5:22:01 AM
RE: Text On Image Posted by Merinissa Galapon @ 12/29/2008 6:47:17 AM
RE: Text On Image Posted by Ravi Kanth @ 12/29/2008 6:51:31 AM
RE: Text On Image Posted by Yousfi Benameur @ 12/26/2008 8:26:41 PM