I'm working on a PHP project, and I record Images DATA URI in a table called "Images", the thing is that that long string takes lot of place for nothing so its heavy to load.
My questions :
- How can I resize a Data URI image using PHP (knowing that the input and output wanted will be both DATA URI)
- Is there any function or something alike that can compress the DATA URI before put it on my MySQL Database ? (Compress decompress)