Is there any chance I could filter images by DPI?

Doubt it, but maybe the great Bubble community has an idea.

Is there a way to get this data about an image so you can store it in the database? Perhaps imgix or another 3rd party API enables this?

I do not think any third party services provide an API for this functionality

Using PHP you could get the image’s data pretty easily in a couple of lines of code…
Below is a function which could help you out…

function get_dpi($filename){
$a = fopen($filename,‘r’);
$string = fread($a,20);
fclose($a);

$data = bin2hex(substr($string,14,4));
$x = substr($data,0,4);
$y = substr($data,0,4);

return array(hexdec($x),hexdec($y));

}
(You would need to modify it for your needs…but it should put you on the right track)

After that upload this code onto a server which supports PHP, and then call this file from your Bubble editor using the API Connector…

You can pass the image as a parameter and modify the PHP code to return the info you want on the image…
eg the dpi etc…

This is just a work around to the problem, since I am unable to locate any third party companies providing this functionality…

Keep you guys updated if I am able to locate any…