Advertisement Jump to content
Sign in to follow this  
Dwiel

very simple image editing API

This topic is 4886 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I am familiar with lots of ways to implement the loading and rendering of images, but I have a new problem and am not sure where to find a good API. What I need to be able to do is load many jpegs, and 'copy and paste' them into a much larger picture forming a collage. I already have an algorithm witch can determine which picture in a list of many is the best fit for any one color. The goal is to be able to generate those collages made up of many many smaller pictures similar to this: I relaize they also edited their pictures, but hopefully you get the idea. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Just copy/pasting is very simple -- memcpy() of the appropriate scanlines will do it for you.

A library that wraps it up a little bit is GD -- it's used by a lot of web servers to generate images, charts, etc.

A library that can load tons of different bitmap formats is DevIL.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!