Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

appending images  RSS feed

 
ramesh kumar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am having two images in jpg format i want to append two images so that they should be in same file one after another
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "one after another"? JPEG only supports a single image per file. Do you want both images combined into a single one, possibly next to one another, or on top of each other? You'd have to use graphics to do that.
 
Lorre Porre
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is impossible to create a multi-page jpg file. But it is possible to create a multi-page tiff file. So if you convert the jpg's to tiff files this is no problem. To convert them you need to use the JAI API.
I have the code to create multipage tiff files if you are interested.

Greetz,
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!