title: How to create sprites from single images?
body: <p>I need a solution to create one big image with sprites from ~100 single images periodically without intervention because the number of images and the images itself are changing over time. To create the sprites with e.g. <a href="http://css-sprit.es/" rel="nofollow noreferrer">http://css-sprit.es/</a> or any other toolu with a GUI would not be feasible. </p>
  
  <p>Each image has a different width and height. Images formats are png, gif, jpg. My approach would be write a custom java program to concatenate the images vertically into one big image and create a json file to provide the coordinates for later processing. A google search returned me this java awt based tutorial:
  <a href="https://sites.google.com/site/javagamescorner/home/creating-sprites" rel="nofollow noreferrer">https://sites.google.com/site/javagamescorner/home/creating-sprites</a></p>
  
  <p>Is there another way you would recommend to create sprites? There are a lot of (too?) complex tools and libraries and maybe there is an easier solution. </p>
  
  <p>This Stackoverflow thread mentions a lot of java libraries: <a href="https://stackoverflow.com/questions/2407113/open-source-image-processing-lib-in-java/">open source image processing lib in java</a></p>