Add (ai gen)

This commit is contained in:
2023-10-01 20:49:25 +08:00
parent b03ceb3868
commit b8fbfcdac2

View File

@@ -174,6 +174,11 @@ private static function getFilteredImages(string $raw_html, string $proxy, strin
continue;
}
if ($height > $width)
{
continue;
}
$interventionImage->resize(800, null, function ($constraint) {
$constraint->aspectRatio();
});