0

I am building an app in AngularJS/Javascript, HTML and CSS in a cloud environment (c9.io).

Given this, how do I proceed to create, test an app that takes pictures from the phone album and transforms them (like a filter)? Where do I start and can all of it be done in a cloud environment? Any examples, boilerplates available?

I have come so far that I can manipulate images that are loaded on a server (e.g. <img source='some/path'>) But how do you handle local images that are not uploaded?

Taryn
  • 242,637
  • 56
  • 362
  • 405
AMG
  • 704
  • 1
  • 8
  • 20

1 Answers1

1

You can attach an image through <input type="file">, then select the file from input's FileList. Let's say you have selected an input from DOM. Then you can use File API.

I suggest reading answers here: Can I load a local file into an html canvas element?

Community
  • 1
  • 1
kurideja
  • 198
  • 1
  • 11