Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify jpeg, with VB ?

Status
Not open for further replies.

eequalsmc2plus1

Programmer
Aug 26, 2002
28
ZA
Hi

Anyone know something about jpeg file formats and whether it would be possible for me to write an exe that would take a jpeg and add another picture to it ?
If yes, can you give me some pointers ? What to look up etc.

Thanks
Damian
 
yes, but you need some software that can write a jpg file.
There is a free demo version at but it adds a watermark to the jpg. I use ImgX ( which is a bit overkill for just saving jpg but it does the job nicely.

Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
So wouldnt it be possible to write that code in VB that adds the watermark to the jpeg ?
If your can figure out the jpeg format and all that stuff, it should be possible ??? Right ?
 
of course.... Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
I do not know of any places where the jpg format is described in such detail that you can replicate it.
I suspect that it is not an easy job, the jpg format is no where as simple as a bitmap or similar.....
However if you prove me wrong I would me very interested to have a look at the solution [pipe] Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
For basics on how it works:

For a 'C' library try:

For several other links to JPG details:
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
There was (long away and far ago), a book / publication which specialized in the arcania of file formats. I haven't noticed anything recently (ten years?), but the original had everthing from dbase to tiff, along with sample code to read most of these and translate the results into 'useful' information. I realize that many file formats are considered proprietary, however if / when they are decoded without 'inside' information, it is my understanding that one would be free to divulge the information freely. It SEEMS, to me, that there would still be a market for this (although I no longer work in graphics).

MichaelRed
m.red@att.net

Searching for employment in all the wrong places
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top