www.webdeveloper.com
Results 1 to 6 of 6

Thread: merging JPG files

  1. #1
    Join Date
    Aug 2007
    Posts
    2

    merging JPG files

    Does anyone have experience merging a series of jpg files n a application. For example, take three jpg files merge the second onto the first, then the third onto the second. The images are very similar. For example if image A was a tale with an apple, image 2 was the same table with an orange in a different spot, and image three was the same table with a lemon in another spot. The final image would be the table with all three fruit.

    Can this be done using java or .net?

    Appreciate any ideas out there..

  2. #2
    Join Date
    May 2005
    Location
    Northern Indiana
    Posts
    597
    It would be very difficult to do this in any program without a whole bunch of intelligent code (unless you want a program that would work on these three, and only these three, images). The program would have to analyze the images, find the commonalities, and also know which area to keep in each image (i.e. doing this incorrectly could yield a table with no fruit, rather than 3 fruits).

    Is there are reason you want to do this in a web program instead of some sort of visual graphics application? It could take weeks to create a program from scratch, but you could combine the images in seconds with Photoshop or Gimp.

  3. #3
    Join Date
    Aug 2007
    Posts
    2

    Response to Tweak4

    Thanks Tweak4,

    Argee, this could be more difficult than I thought. We are using flash in a jsp page and layering pgn ( can also use jpg) files. We use the same x and y coordinates but increase the z using transparancy. The image renders correctly on screen but there is not a way to save/export it.

    Joem

  4. #4
    Join Date
    Aug 2006
    Posts
    1,934
    I would think the fruits would be very dim, doing it the way you describe with transparency. But given it's looking like you want, if you need to get a single image, why not just do a screen snapshot, then crop appropriately and save the file?

    Dave

  5. #5
    Join Date
    Jul 2006
    Posts
    125
    if you post the images maybe someone could try.

  6. #6
    Join Date
    Dec 2005
    Location
    American, living in Toronto, ON. CANADA
    Posts
    6,746

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles