The images that are uploaded in SAP though SE78 are stored in table STXBITMAPS.
Kindly check this table, you will get a good idea on how an image is stored in a table and use the corresponding datatypes.
You can also store your image with the datatype - HRTMC_XSTRING. You can see examples on the net. .. Search for upload photos to custom table.