|
-
Nov 1st, 1999, 10:13 AM
#1
Thread Starter
Member
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
-
Nov 3rd, 1999, 03:47 AM
#2
Hyperactive Member
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
[email protected]
ICQ# 47799046
-
Nov 3rd, 1999, 06:53 AM
#3
Thread Starter
Member
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
-
Nov 3rd, 1999, 07:02 AM
#4
Hyperactive Member
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: [email protected]
or you could try posting this on the General VB forum. Good luck to you, I wish I could help more.
------------------
Thanks,
Ryan
[email protected]
ICQ# 47799046
-
Nov 8th, 1999, 04:39 AM
#5
New Member
Set the CurrentX and CurrentY properties for the picturebox the pic is in, and then use picture1.print to put text on it...
-
Nov 8th, 1999, 01:20 PM
#6
Thread Starter
Member
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
-
Nov 8th, 1999, 08:38 PM
#7
Frenzied Member
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
[email protected]
A BMW Group Company
-
Nov 12th, 1999, 04:38 PM
#8
Lively Member
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?
-
Nov 14th, 1999, 10:13 AM
#9
Thread Starter
Member
It seems that saving jpegs in VB has an obscure solution.
-
Nov 16th, 1999, 04:12 AM
#10
Lively Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|