Not able to send gif images to whatsapp bot through integration - gif

We are using https://graph.facebook.com/phonenumber/messages along with payload to push response to whatsapp bot. We are able to send png, jpeg images, but not able to send gif images to whatsapp bot.

As per the documentation the Supported Media Types for Image:
Media
Supported Types
Size Limit
image
image/jpeg, image/png
5MB
Thre is no option to send .gif type media.

Related

Get thumbnail image of Vimeo video WITHOUT making a request to the Vimeo API

Looking for a way to obtain a thumbnail image of a Vimeo video WITHOUT (I repeat, WITHOUT) having to do a REST request to the Vimeo API?
(Unfortunately, the following "answer" is over 10 years old and does NOT answer this question: Get img thumbnails from Vimeo?)
Nearly all video providers allow you to obtain a thumbnail image of a video by simply supplying the video ID within a specific URL path (i.e.: YouTube, Matterport, iGuide, etc.)
To be clear - I am NOT looking for a "solution" that uses Javascript or requires a request to be made to the Vimeo API - just a specific URL that can return a thumbnail given a Vimeo video ID.
I also emailed Vimeo API support, and below is the "official" response I received from their support group:
Hi there,
Thanks for your interest in the Vimeo API! Full documentation of the
Vimeo API can be found on our Developer Site:
https://developer.vimeo.com/api/guides/start
Sorry, but it's not possible to get a video's thumbnail links without
first making a request to one of our APIs (oEmbed or our full-fledged
REST API). You can learn about these APIs here:
https://developer.vimeo.com/api/oembed/videos
https://developer.vimeo.com/api/guides/start
So - no way to get a thumbnail of a Vimeo video without making a REST request. Too bad.
Update: 2-Oct-2021
See #Parthiban post - Vimeo has updated their service / documentation:
https://developer.vimeo.com/api/oembed/videos
You can use the Vimeo oEmbed method, which gives a JSON response with the video's basic meta-information including thumbnails. Which doesn't require an authentication method like Vimeo API.
More details in the official documentation here: https://developer.vimeo.com/api/oembed/videos
Check out https://vumbnail.com/
You can simply pass in the id of the video in the url and it will respond with the thumbnail image.
https://vumbnail.com/358629078.jpg
You can also request certain sizes as per the documentation. This appears to be made by a third party so I can't say whether it is well supported and reliable but it appears to do what it claims to do as of the time that I'm writing this answer. Best of luck.

How do I retrieve the image component of an iOS live photo from the Google Drive API?

We fetch a lot of media from Google's Drive API on behalf of our users. We care about photos and videos and we determine which is which via the mime type. The files endpoint is what we use to do this:
https://developers.google.com/drive/v2/reference/files
However, since about mid-2016 Google Photos began backing up iOS live photos, which have a still image component and a video component. My questions is, how do I programmatically determine which is which and once I've detected a live photo, how do I access just the image component?
In practice what I've found is that live photos return as video/mp4 with a file extension of .JPG. However, the only image I have access to is a thumbnail.

Gif size impact on mail size when received in inbox

I have made a html email with a 10 mb gif in, the mail itself, when received is only 84kb. I'm trying to figure out if the 10mb is just downloaded when the mail is opened as any other image, or if it more like streaming a video, so it's downloaded while you watching it.
I can't find any information online on how .gifs are treated by mail clients.
If the image is embedded then the email should be larger.
If it's an img tag with url then it shouldn't be larger.
This blog post discusses the pros and cons of embedding images vs not embedding.
So if its only href, then the image is not present in the e-mail, but only url link to itself. So it will not contains 10MB of image content.
It will download no image, because .gif is not embed to the e-mail; e-mail contains only url to the image. So receiver of the e-mail can click on that url and it will open the image in his browser (and the browser will download that image).

Transmitting rtsp video over webpage with JPEG compression (Eg: http://windofdubai.com/winds/webcam)

I would like to embed .rtsp video on a webpage with jpeg compression. Users can view the live stream without using any plugin. Live Example : http://windofdubai.com/winds/webcam. Anyone can help please.
are you sure this is an rtsp feed, when I look at the source to this page it looks more like mjpeg, most camera's support mjpeg and many also support rtsp. Sometimes you can have both feeds concurrently from the cameras.

Wrong orientation when image captured by HTML5 file api on IOS 6.0

I am using HTML5 file api on mobile web app for image uploading utility.
I am capturing image using camera and upload it to server.
Problem is that if I capture portrait image the uploaded image automatically converted to Landscape.
You'll need to transform the image to correct the orientation. Fortunately, the image should include EXIF data that you can use to do that. If you like, you can do this before the image is uploaded to your server:
Read the image's EXIF data
Use a canvas element to transform the image as appropriate
Export the canvas image into an image file
There's an excellent writeup, including code samples, in this blog post.