Write it yourself vs adopting software

Is the library you're about to write part of your core business? Do you really believe you're the first to stumble upon this problem? If you are in the business of camera software, analyzing available solutions for on camera editing software and deciding to write your own if those solutions don't seem suitable is valid. Building your own data-base for images likely isn't.

That isn't to say that you can't start new open source projects if your endeavors leads you to believe that some niche is going unfilled, but you should commit to the understanding that the open-source project is ancillary to your business, and the work might have to be charitable.

My general rule with software is that if it's not your business, don't write it yourself. - Martin Fowler, Domain Specific Languages