This one's a bit of a two-parter, as either could solve my problem.
Upsizing featured image when selected image smaller than specified thumbnail size
If a file is uploaded that's smaller than the smallest set thumbnail size - such as a 100x100 image when the thumbnail size is 150x150, Wordpress doesn't force upsize. Is there any way that I can force an upsize, other than using an external source like Imagemagick?
Convert uploaded GIF to JPG in every instance
An alternative to forcing an upsize would be to create a JPG alternative to any uploaded GIF file. Right now, GIFs larger than the thumbnail size - such as a 200x200 GIF when the thumbnail size is 150x150 - automatically have a static JPG thumbnail generated.
I'm generating thumbnails programmatically with:
// Inserts metadata and creates thumbnails for uploaded file
$attach_id = wp_insert_attachment($attachmentMeta, $newFile, $post_id);
$attach_data = wp_generate_attachment_metadata($attach_id, $newFile);
wp_update_attachment_metadata($attach_id, $attach_data);
// Adds the thumbnail to the post
update_post_meta($post_id, '_thumbnail_id', $attach_id);
While I could do all of this with Imagemagick, I'd prefer to use Wordpress's own capabilities to get it done. Any help would be greatly appreciated!