Use webapp to get iPhone image flash status - javascript

I am writing a web app that allows iphone users to upload images. Based on some research it looks like iphones will strip EXIF data before uploading images. Is there some way I can extract flash status before iphone uploads the image?
relevant post:
https://www.flickr.com/help/forum/en-us/72157700799502582/
Thanks in advance.

Related

How to open form input images on default image viewer of an operating system in javascript?

Are there any ways to open an image which has been uploaded by <input type="file" /> , through the default image viewer of an operating system in the client side using plain javascript. ? I went through several resources but did not get a proper answer for this problem.
Here is what I am trying to achieve... This is for a completely client sided application without any backend. The user uploads few image files through html file input. I want the user to open the images he uploaded through the default image viewer of his OS. If user is using android, it should be opened through google photos or whatever user has selected default. If user is using Windows OS, it should be opened through windows photo viewer or something he has selected default. Likewise user should be able to open the image through their default photo viewer in their respective operating system in the device?
Are there any APIs or libraries for this approach? Only if there are no any solutions, are there any other better approaches to achieve this effect?

FineUpload - deleting local copy of uploaded image

I'm using fineupload S3 in an angular mobile web application to handle the capture and upload of images from the device camera.
I have a requirement to make sure that the captured images are not displayed in the device gallery and not stored on the device. (image and video)
The deleteFile function of fineupload doesn't appear to handle this task and it instead looks like its designed to delete the uploaded file from the server.
So i'm looking for a solution to either prevent the device from storing the captured images in the first place or to delete the files once they've been uploaded.
As far as I know the browser (either mobile or desktop) does not have the privileges to manipulate the file system. If your using cordova/phonegap you should try removing the photo with the file system API provided by them.

Extracting EXIF data with JavaScript

I'm evaluating image upload techniques using Canvas for a mobile web app. The sticking point is reading EXIF data client-side. Other discussions on this site point towards the excellent Blueimp JavaScript Image Load. I particularly want to extract from EXIF:
date & time of photo taken
Geopositioning - latitude & longitude of photo taken
Testing the Blueimp script on Firefox v.33.1 on Windows Vista using a photo taken on an iPhone (with geo data), it successfully extracts all the EXIF data including date, time & geocoords. Running the same test with the same photo on iOS and it only extracts a tiny amount of EXIF data - just the dimensions and orientation (I'm using iPhone 5, iOS 8.1), nothing else. Why is this? Is there a fix or an alternative JavaScript EXIF extraction tool to recommend?
Suggestions very gratefully received as this is doing my head in!! Thanks in advance.
Please note: I don't want to do it server-side with PHP because this requires uploading the full image, which can be slow on mobile bandwidth, hence going for the canvas option to resize images client-side.
After more reading around on this issue, a similar question was asked here a year ago, with no satisfactory responses. According to one commenter, uploaded files on iOS devices only get access to a sanitized version of the file for privacy reasons. This means what useful stuff like time/date and GPS is stripped out of a file before it is made available to the browser.
Which kind of scuppers this idea. :(

Stream Images using a local server

I want to stream images (print screens of the server) using a local server (apache). For an example i will go to the website using a machine on the same network and then this web site will show me set of images at a speed around 30fps (then i will see it as a video). The image quality has to be good.
At the moment i can go to this website using a machine connected to local network. But i cannot figure out a way to stream images. And I have no knowledge of PHP..
Is this possible to achieve??
Can anyone point me in the right direction...
Thanks.
ffmpeg can help you create videos from images. It has a cli binary that can do the task.
Ref: https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

HTML5, JS Based PDF Reader for Web App

Well, after a lot of searching, i realy can't find a solution for my problem. I'll explain what is about.
Im building a series of apps for iPhone, iPad, Android phone, Android Tablet, using HTML5, PhoneGap.
The app is alredy coded and done, using ChildBrowser plugin for PhoneGap. So basically, i upload PDF files of magazine on my server, the app, download it and you read it on your phone or tablet.
ChildBrowser is a good solution, but for something small. My pdf files are about 15mb each, so you need to wait while it download the whole pdf file and then it will come on the screen. It is a pretty rough solution for a magazine.
I tried pdf.js but it cant render graphics of the pdf.
I saw flexpaper zine, but its too expensive.
Anybody have any ideas please?
Thank you!
I don't know much about this, but one of my favorite magazines, Full Circle Magazine, uses Scribd last I knew. I don't know how it works, but it may be worth looking into.
There are Two options either you can cut your single pdf(15mb) files into number of single page pdf and load as as user request(more often load next 2 3 before user completes reading the previous page) or convert each page in pdf to jpg image and load in to web view .bot these technique require tools for either slicing or converting pdf.

Categories

Resources