Questions tagged [color]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
73 views

pset4 resize size is correct, but the pixel colors are all wrong

I'm trying to resize the image using the "recopy" method Zamyla stated in the video, but I can't figure out why the colors are all messed up. I've tried looking at other questions, but it hasn't ...
0
votes
1answer
53 views

Pset4 Colors random

I've looked through a couple of threads and forum questions but I am not able to figure out what are the problems with my code. It resizes correctly but puts out random colors. // Copies a BMP file #...
0
votes
1answer
117 views

bfSize different colors resize pset4

I just cannot stop getting funky different colors when I resize, and I see it must be some padding issue. I used the specs and peek to compare my file student.bmp with the staff.bmp. It shows in red ...
0
votes
1answer
100 views

pset 4 (resize) - wrong colors on resized image

my program compiles and the dimensions of the resized document are fine; the problem lies in the colors. About half the pixels are fine but everything else is variously colored and I don't have any ...
0
votes
0answers
122 views

After update50, my texts shown in text editor are still plain white

I am ready to do pset2! However, after I run update50 and close and re-open terminals, I found that my texts in text editor are all white as below: I found a question asked before here, and I did run ...
0
votes
1answer
189 views

Pset4 - Resize - Wrong colors

One more "Wrong colors" problem :) I tried to write my code according to Zamyla's pseudo: for each row for each pixel in row write to outfile n times write padding_outfile skip over ...
0
votes
1answer
145 views

pset4 whodunit, is this image good?

Based on this : http://www.rapidtables.com/web/color/gray-color.htm to scale it in its proper shade of grey. Here's the code that I put in between the fread() and frwrite() functions. int ...
0
votes
1answer
2k views

Text editor not displaying color coded text on .php files

Is anyone else having trouble with the text editor not displaying color formatted PHP code? It's working fine for other languages like C or JSON, but all HTML and PHP are displayed in plain white text....
0
votes
1answer
177 views

Resize: color randomization

I am working on resize for PSET4, and more specifically I'm at the point of working out the horizontal resizing (in other words, don't look for the vertical resizing, it's not even started yet). I can ...