This is a migrated thread and some comments may be shown as answers.

Image grayscale

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Emerson
Top achievements
Rank 1
Emerson asked on 05 Jun 2015, 02:43 PM
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

1 Answer, 1 is accepted

Sort by
0
Martin Yankov
Telerik team
answered on 10 Jun 2015, 08:20 AM
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
Tags
General Discussions
Asked by
Emerson
Top achievements
Rank 1
Answers by
Martin Yankov
Telerik team
Share this question
or