Image grayscale

2 posts, 0 answers
  1. Emerson
    Emerson avatar
    2 posts
    Member since:
    May 2015

    Posted 05 Jun 2015 Link to this post

    Hello,

    I am creating an application to capture images.

    How can I capture the images in grayscale or black and white?

    Can anyone help me?

    thank you
  2. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 10 Jun 2015 Link to this post

    Hello Emerson,

    The Telerik Platform does not provide such functionality out of the box. You implementation depends on your scenario.

    1. Normally, the Camera app on the device should handle this feature. The Cordova Camera plugin actually starts the device Camera app which should take the picture, edit it and return it to your app. This is the most common scenario.

    2. If you want to let the user take a picture and then convert it to grayscale in your app, you can use a third party JS library for this like camanJS. This library lets you manipulate images. You can then do with them whatever you like.

    Can you please share your app scenario, so that I can better understand what you need?

    Regards,
    Martin Yankov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top