Click to See Complete Forum and Search --> : Text on pictures
scotty
Nov 1st, 1999, 09:13 AM
Hello...
I am trying to figure out how I can put text over a jpeg picture and then resave it.
I would prefer a way without having to display the picture full size.
Any ideas or direction?
Thanks.
Scott
Gimpster
Nov 3rd, 1999, 02:47 AM
Could you be more specific? Are you trying to do this while inside your program? Or are you just trying to get a picture to use somewhere else? Please clarify.
------------------
Thanks,
Ryan
corneslen@hotmail.com
ICQ# 47799046
scotty
Nov 3rd, 1999, 05:53 AM
I need to build a program to "brand" real estate pictures with a few word description and web address. I am familiar with
Loadpicture... it seems Savepicture only saves in BMP. I need to save in Jpeg...
I thought about finding a VB paint program and modifying it but haven't had much luck finding one.
Any ideas? If this needs to be done in C++ I have Visual C++, although not very familiar with it.
Thanks...
Scott
Gimpster
Nov 3rd, 1999, 06:02 AM
Well, I can't answer your question, there. I know that VB can open and view jpegs, however, I don't know how to edit them, or save them again in VB. You can probably do it, but it sounds like an API function to me. Send a message to Aaron Young, though, explaining your problem, he's really good, and he can probably answer your question. His email is: aarony@redwingsoftware.com
or you could try posting this on the General VB forum. Good luck to you, I wish I could help more.
------------------
Thanks,
Ryan
corneslen@hotmail.com
ICQ# 47799046
darkelf
Nov 8th, 1999, 03:39 AM
Set the CurrentX and CurrentY properties for the picturebox the pic is in, and then use picture1.print to put text on it...
scotty
Nov 8th, 1999, 12:20 PM
Thanks for all the advice...
Feel like I'm making progress...tried
picture1.print [string]
...it puts words on the picture, but I can't save the picture with the words on it.
Tried researching autoredraw but no luck...
Ideas?
Scott
Mark Sreeves
Nov 8th, 1999, 07:38 PM
You can't do picture1.print with vb5
Is this possible with vb6?
You could load the picture directly onto a form and then printtext onto the form and then savepicture from there...
------------------
Mark Sreeves
Analyst Programmer
Mark.Sreeves@Softlab.co.uk
A BMW Group Company
jkurpias
Nov 12th, 1999, 03:38 PM
The Kodak Image Edit Control that ships with VB permits all kinds of annotations printed over an image file. It opens JPEG's but only saves as TIFF, AWD or BMP! I believe Kodak has a more complete implementation of the thier control and I have requested more info from them.
Does anyone have any more info on the Kodak Image Edit Control?
scotty
Nov 14th, 1999, 09:13 AM
It seems that saving jpegs in VB has an obscure solution.
jkurpias
Nov 16th, 1999, 03:12 AM
Try this link: http://vbaccelerator.com/
Click on VBMedia under Code
Select the first item "Saving pictures to JPEG"
The code saves a picturebox image as a jpeg but the compression settings don't seem to work.
But, I can't get text printed on an image to save to either bmp or jpeg! Have you had any success?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.