3,553 questions
0
votes
0
answers
29
views
WS2812 with ESP32 (mosfet used Si2302CDS) not working as expected [closed]
I am currently facing issue with WS2812B and trying to solve this timing when I use below timing the rgb led works fine on 5V power supply but it does not work on below 4.8V
#define FASTLED_WS2812_T1 ...
Advice
0
votes
3
replies
44
views
HTML Colour Picker - Is there a way to show the RGB or CYMK values of the finally selected colour?
From the w3school.com tutorials I've been looking through, I have the following code to show a 'chosen colour' on a web page, and for the user to select that colour and show a colour picker and choose ...
2
votes
1
answer
69
views
Rgb565 to rgb888 error in the Nicla Vision
I'm running into a problem converting raw rgb565 into rgb888. I'm getting psychedelic looking images:
I followed the advice from this forum post, but I have not been able to fix the problem. Has ...
0
votes
1
answer
138
views
Create a Red-Green-Blue (RGB) color on SpatRaster using terra RGB and colorize functions?
I'm trying to use RGB and colorizefunctions from terra to create a RGB color gradient on my SpatRaster r, however, I get errors and I don't know how to fix them.
# Generate random point in a data ...
1
vote
1
answer
91
views
Image not showing when I convert from RGB to CMYK in javascript
I am doing a project where I need to make some filters that change images, and 2 of the filters need to change the colour space. All the other functions that are very similar to this one work ...
0
votes
0
answers
75
views
Why does RGB888 format file with only red channel data display in blue in Microsoft Photos app?
I am working with a Espressif ESP32-CAM module. I can capture and display 128x128 JPEG images which display properly. With the associated Arduino library, I can also convert the JPEG image into ...
1
vote
1
answer
118
views
Converting multiple wavelengths to a single RGB value using the colour-science package
I'm working with a dataset that contains reflectance factor (Rf) values and their corresponding wavelengths, like this:
Rf Wavelength
0.3907051 190
0.3907051 191
0.3907051 192
...
0....
0
votes
0
answers
76
views
How do you modify hue and saturation of a colour encoded as RGBW?
I am writing firmware to control a LED driver which has separate R,G,B, and W (white) channels. The firmware stores the current color in separate R,G,B,W variables.
I must support external requests to ...
-1
votes
1
answer
56
views
Photoshop API color normalization gives wrong hex code
Photoshop API gives text layer as follows
{
"blendOptions": {
"blendMode": "normal",
"opacity": 100
},
"bounds": {
...
3
votes
1
answer
102
views
Double cone model of HSI Color Space to RGB
I've come across a rather trigonometric implementation for converting colours from RGB to HSI. In particular, converting from RGB to the "HSI-colour space, given by a double cone", which I ...
1
vote
0
answers
36
views
Slight Discrepancy in RGB Values Extracted Using PIL/CV2
I’m trying to extract the RGB values from an image using Python’s Pillow library on my MacBook Pro. However, the RGB values I get differ slightly from those identified using online RGB color ...
1
vote
1
answer
148
views
RGB Wheel in SFML
I wanted to create a circle with RGB color effect (Just like RBG color pallet) in SFML. but could not find any method to make it except using an image.
First, I Tried making a RGB rectangle (Just like ...
4
votes
3
answers
406
views
ggplot: Plot point data as RGB colors and add legend
I want to plot the share of three variables of each geographical point.
I thought this would be easily done with RGB values and I managed to do it simply like this:
data <- data.frame(
Variable = ...
0
votes
1
answer
74
views
Imagemagick different colors with same hex code
I'm trying to match colors manipulated with ImageMagick to those generated by LaTeX. The following is a screenshot of Imagemagick's help pages (at https://imagemagick.org/script/color.php). It strikes ...
0
votes
1
answer
43
views
How to save a collection of images in grayscale
library(OpenImageR)
I am trying to convert an rgb images into grayscale then save them
path = list.files("/dat",".jpg",
full.names = T, all.files = TRUE)
imgr=...