Tagged Questions
2
votes
1answer
137 views
How to alter image pixels of a wild life bird?
Hello so I was hoping someone knew how to move or change color and position actual image pixels and could explain and show the code to do so.
I know how to write pixels on a surface or screen-surface ...
3
votes
1answer
188 views
How do I multiply pixels on an SDL Surface?
Okay so I'm able to put blank pixels into a surface and also draw gradient pixels rectangles,etc
But I don't know how to multiply the pixels on a surface so I was hoping someone could provide me ...
-2
votes
3answers
412 views
Trying to figure out SDL pixel manipulation?
Hello so I've found code that plots a pixel in an SDL Screen Surface :
void putpixels(int x, int y, int color)
{
unsigned int *ptr = (unsigned int*)Screen->pixels;
int lineoffset = y * ...