This seems like a simple request but I can't find how to do it anywhere.
Using add_image_size you can designate maximum width and/or height for an image to be cropped or rescaled but I can't find how to set a minimum width and/or height.
For example, if you have a 2,000px by 1,000px image the code below will resize the image to 600px by 300px image.
add_image_size('gallery-image', 600, 600);
However, what I'm looking for is to set the MINIMUM dimension on an image to be a certain number of pixels. Thus, code that would resize a 2,000px by 1,000px image to 1,200px by 600px.
Does anyone know how to do this?