Why we need to create database from external software?

You can store the path to an image in a data table:

and you can store references to textures in an array.

What are you trying to do?