Top "Pixel" questions

A pixel is the smallest unit that can be represented or controlled on a display.

How to get the pixel color on touch?

I know this is a common question and there are a lot of answers of this question. I've used some …

iphone ios touch paint pixel
CSS style - percentage vs em vs px?

After reading several articles on the web I´m a bit confused about when to use percent, em or px …

css pixel em
Mac OS Cocoa: Draw a simple pixel on a canvas

I wish I would find an answer for this. I have searched and searched and couldn't the right answer. Here …

objective-c cocoa macos pixel nsimageview
android fast pixel access and manipulation

I'm trying to port an emulator that i have written in java to android. Things have been going nicely, I …

android image android-canvas draw pixel
iPhone Objective C: How to get a pixel's color of the touched point on an UIImageView?

iPhone Objective C: How to get a pixel's color of the touched point on an UIImageView, even if the parent …

iphone objective-c uiimageview pixel uitouch
C++ Getting RGB from hBitmap

Working with bitmaps is very new to me so I've been really struggling with the online tutorials and strategies that …

c++ rgb pixel scanning hbitmap
Drawing "drawables" to a canvas in dp units

I'm trying to figure out if there is a way to draw bitmaps to the canvas in dp units instead …

java android pixel touchscreen
c++ read pixels with GetDIBits()

I'm trying to create a function which is equivalent to the windows API GetPixel() function, but I want to create …

c++ pixel bmp getdibits
How to convert dp to px in xamarin.android?

I want to convert dp to px in my C# code in xamarin.android, but all I could find were …

xamarin xamarin.android pixel pixels density-independent-pixel
Compare two images to check if they are the same

Which is the efficient way to compare two images (Bitmaps), to check if they are the same or not? I've …

.net vb.net image pixel image-comparison