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
Printable View
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
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
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
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
Set the CurrentX and CurrentY properties for the picturebox the pic is in, and then use picture1.print to put text on it...
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
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
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?
It seems that saving jpegs in VB has an obscure solution.
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?