Giter Club home page Giter Club logo

camera-ui's People

Contributors

okland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

camera-ui's Issues

MediaStream.stop() deprecation

Thanks for a fantastic package @okland. Getting this message, and wondered if you'd seen it?

'MediaStream.stop()' is deprecated and will be removed in M47, around November 2015. Please use 'MediaStream.active' instead.

How to setState in callback instead of Session variable?

Hello,

I'm trying to save state in callback like

MeteorCameraUI.getPicture( { cameraOptions }, function( error, data ) {
      if (error) {
        console.log(error);
      } else {
        this.setState({
          image_data: data
        });
      }
    });

... getting: TypeError: this.setState is not a function

Also tried with setting binding like this

MeteorCameraUI.getPicture( { cameraOptions }, function( error, data ) {
      if (error) {
        console.log(error);
      } else {
        this.setState({
          image_data: data
        });
      }
    }.bind(this));

same result.

Does not work on real device

Hi friend, I'm using your library for user profile management but it does not work on my physical android device in the simulator if I load the images.
It gives me the option to select and search for a photo but it does not show it to me on the screen. Any suggestions.

Picture on android is rotated

Android is in the portrait mode, camera as well.
The final picture gets rotated.

If I rotate camera into horizontal position, it works ok.

same issue on mdg:camera

any idea how to solve?
android 5.0.2, samsung galaxy s5

A way to crop photos to square proportions

Is there a way to automatically crop images to a square when using this library? My photos are coming back rectangular, and when I stick them in a square space in a template, they are being squeezed in one direction or the other. I'm new to Meteor, so perhaps there is a better way to handle this, but I thought this would be a good place to ask. Thanks for your help!

iOS photo rotate in portrait mode

Hi,

With iOS,

When I choose a photo from gallery, if this one is portrait mode, the photo rotate 90ΒΊ. else if landscape mode works correcly.

any idea?

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.