I am using the chat completions API with gpt-4-vision-preview. It works great for my jpeg and png images, but I notice the API does not support .bmp images.
Is there any straightforward way I can use .bmp images? I know I can manually convert and re-upload or write a python script. But I would prefer not to do that given I already have the image URLs.
Preprocessing the images for vision not only lets you ensure a wide variety can be sent, but you can also control costs, understanding the “tiles” pricing structure, and for example keeping the largest dimension under 1024px for maximum 4 tiles, or 512px for just one.
Images can be sent directly in the request by conversion to UTF-8 base64.