pixel Questions

3

Solved

Consider this admirable script which draws a (circular) gradient, https://github.com/paiv/AngleGradientLayer/blob/master/AngleGradient/AngleGradientLayer.m int w = CGRectGetWidth(rect); int h = C...
Flowerdeluce asked 2/12, 2017 at 16:57

2

Solved

I'm using Windows Desktop Duplication API to make my own mirroring protocol. I have this piece of code : // Get new frame HRESULT hr = m_DeskDupl->AcquireNextFrame(500, &FrameInfo, &Des...
Aranda asked 26/4, 2017 at 9:37

3

Solved

I have a website which uses pixel to render the pages. But when i view the website in different devices having different screen resolution the whole page will not fit into screen and if i use...
Randirandie asked 6/6, 2013 at 10:32

3

Solved

I'm using Intent to call and show an image from Gallery, and now I made it enable to get me the coordinates of the image in a TextView using these: final TextView textView = (TextView)findViewById...
Ensemble asked 18/10, 2011 at 12:41

1

Solved

I have got a forum with the following HTML structure: <div id="header">Contents</div> <div id="main">Contents</div> <div id="footer">Contents</div> Basically,...
Microtome asked 28/7, 2017 at 12:23

2

Solved

Given a TextView, is it possible to know at runtime the X and Y coordinates of where it is drawn? Is it also possible to know the size (width/length) in pixels?
Radmilla asked 26/10, 2011 at 15:56

3

I am working on an Image Processing Project and I am a beginner at Python and using PIL. Any help would be appreciated. So, what I am doing is, I have an image of space with stars and noise....

3

Solved

I will be retrieving the exact color of a pixel and would like to relate that exact color to a constant like Color.blue. Is there an easy way to "round" to the nearest Color Constant? Additionally,...
Ambulatory asked 13/6, 2011 at 18:6

7

I see APIs in Quartz for drawing lines and circles. But all I want to do is to specify the (x,y) cartesian coordinate to color a pixel a particular value. How do I do that?
Cleland asked 23/11, 2008 at 21:55

2

Solved

I would like to make a game that is internally 320x240, but renders to the screen at whole number multiples of this (640x480, 960,720, etc). I am going for retro 2D pixel graphics. I have achieved...
Aspirin asked 1/1, 2017 at 2:43

2

I began studying assembly this year in my school, and we just started learning about pixels. Our teacher gave us some code and told us to mess around with it, he also told us to try and implement ...
Osmanli asked 4/12, 2015 at 13:50

2

Solved

I was working on homography and whenever I try to check the values of H matrix (type CV_64F) using H.at<float>(i, j) I get random numbers(sometimes garbage value). I want to access pixel valu...
Silverman asked 28/2, 2013 at 7:47

3

Solved

I have following problem and only could solve it partially yet. I am working with XCode 3.2.5, developing for iOS 4+. I simply try to create an Image of pre-defined size, manipulate pixels on it a...
Luminal asked 24/4, 2011 at 15:46

12

Solved

I'm stumped. A client and I are both running Firefox 3.0.12 on XP machines. We view the same page in the same browser on different machines and have different results. Note: All IE browsers are con...
Foxe asked 3/8, 2009 at 21:47

1

Solved

I don't know how to make this algorithm in JavaScript/Node.js that converts bitmaps into svg paths pixel by pixel: // input 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 1 ...
Jerrilyn asked 4/3, 2017 at 11:18

1

Solved

I have calculated object size in terms of pixel from the image containing object. I want to measure object size in real world. Is there any way to find out multiplying factor to measure actual size...
Heterophony asked 4/2, 2017 at 2:5

1

how to erase the colour of particular pixel and pixel area covered with the same colour.I am able to get the particular pixel colour using below swift code but I am not able to get surrounding area...
Crat asked 18/1, 2017 at 6:26

0

I am currently trying to incorporate anti-aliasing into my line drawing algorithms (DDA and Bresenham), I have been instructed by the professor that any anti-aliasing technique is allowed so I did ...
Biforked asked 23/1, 2017 at 6:39

5

Solved

I have a complex js function with an equation in which I actually need to understand how much space in pixels font sizes take up. I have noticed that some font's sizes are different depending on t...
Yacketyyak asked 16/8, 2010 at 17:57

2

Solved

using google (and this site) i have seen some similar questions but my problem is still here: "i want to draw an image (without reading a file) , being able to manipulate every single pixel's colo...
Himes asked 5/9, 2012 at 14:58

6

In C++ using Code::Blocks v10.05, how do I draw a single pixel on the console screen? Is this easy at all, or would it be easier to just draw a rectangle? How do I color it? I'm sorry, but I just c...
Selfreliance asked 11/9, 2012 at 22:7

3

The official W3C documentation says: 1 px = 1/96th of 1 in In my previous 18.5 inch screen, the screen.width was 1367 px and the screen width in inches was 14 inches. By the W3C formula: ...
Angrist asked 8/11, 2016 at 6:48

1

Solved

I've written a GLSL shader for use in Unity3D with my pixelated iOS app. It has two ONE problems: 1) The effect doesn't always stay with the moon, and 2) the lighting doesn't look pixelated. I'...
Leapfrog asked 27/9, 2016 at 4:9

2

When working with BufferedImage using the setRGB and getRGB methods, I noticed two things: the setRGB and getRGB methods can be incredibly slow on some systems (as much as two orders of magnitude...
Footlight asked 3/12, 2010 at 18:26

2

Solved

I'm loading this (very small) image using: UIImage* image = [UIImage named:@"someFile.png"]; The image is 4x1 and it contains a red, green, blue and white pixel from left to right, in that order...
Cockup asked 4/9, 2011 at 16:33

© 2022 - 2024 — McMap. All rights reserved.