I'm Using Image picker from react native image picker and I'm trying to upload a video but couldn't do so and I don't find any authentic solution for my code if anyone could be of any help it would be highly appreciated
enter image description here
For video selecting you can use this package
npm i react-native-image-video-picker-editor
and upload the video as formData.
Related
I am having an issue uploading iPhone photos. The default iPhone image is a .HEIC file. Google vision seems to have a hard time reading these file types. It works fine when using .jpg files. Any suggestions?
If you are coding in nodejs maybe use this library to convert and upload:
https://www.npmjs.com/package/heic-convert
There are online tools as well on the web:
https://heictojpg.com/
Heic is not supported directly
You can convert each image and send it to the google API, if you have access to the source iPhone you can change the settings to avoid using Heic as default format.
You can see here relevant question
I want to upload an app information to a website but don't know what is Development phase/doc - PDF how to make it. help me i have to upload it as soon as possible.
thank you in advance.
I am using node.js express app with mongodb. If client upload an portrait image using their iphone, then in browser or andriod phone it will displayed as landscape.
So can anyone tell me how can I remove EXIF data in node.js
Please give some example code.
I have referred this Link but I did not understand that
There's a library for this - https://www.npmjs.com/package/piexifjs
With it you can edit the EXIF data in the binary and overwrite it with empty data if you wish.
In my iOS application I have to upload video to YouTube. So basically I don't know how it is done. So please let me know how I can implement this concept in my application.
Open the video you need to upload in youtube via photo gallery. From there you can easily upload it into youtube by clicking on the default upload button in iPhone . Please take a look at that. Thanks
i'm trying to build a batch image downloader in chrome. Basically, i will overlay a small download square to each image on the page and user clicks on it to download. Or the user can click to download all images on a page. I'm currently stuck on figuring out how to download the images. The best i can come up with is to use XHR to send the image to another server, the user can then retrieve it there.
If anyone have a solution for me. It would be much appreciated!
Jason
I believe you can XHR the images and using the File API you can store them locally.
Take a look at the following site http://www.html5rocks.com/features/file there are additional resources on the right column that has detailed examples and tutorials. Such as http://www.html5rocks.com/tutorials/file/filesystem/
Mohamed Mansour
This code will do the trick for you: https://gist.github.com/1049553
It's very simple usage of a 'feature' in chrome when you open an image in a new tab.