pixel Questions
3
I was developing a application that changes color image to gray image. However, some how the picture comes out wrong. I dont know what is wrong with the code. maybe the parameter that i put in is w...
Striking asked 7/1, 2011 at 16:36
2
Solved
I'm using google maps in my application, and I have a webserver with a databse filled with lat/lon values. I want to mark them on the map, but I also want to cluster them together if they are withi...
Pleistocene asked 4/8, 2010 at 23:16
6
Solved
Why do we need these 3 particular image types?
If I have a button on my app with a background image say, 50 pixels x 50 pixels, why do I need 3 versions of this image? What's stopping me from just...
Superintendency asked 2/9, 2015 at 13:24
2
Solved
I want to detect a specific pixel value (let's say 128 in a unsigned 8 bit 1-channel image) in a cv::Mat image and replace the value of all the pixels with that specific value with another value (r...
4
Solved
Information to clarify the terminology from here.
Hardware pixel: A physical pixel on the display. For example, an iPhone 5 has a screen with 640 horizontal hardware pixels.
Device-independen...
1
Solved
I am creating images with a byte[] array in C#, and then converting them to a Bitmap in order to save them to disk.
Here's a few extracts from my code:
// Create an array of RGB pixels
byte[] pix...
4
I want to draw double colored line with 1px lines of 2 different colors.
I have a lot of code so I'm putting it after trying to explain.
If I use uiview drawRect method it works fine when I switch...
Downthrow asked 2/5, 2013 at 6:9
3
I'm having problem with lightening picture. I know I could do this by increasing/decreasing pixel's values, however it's not what I'm looking for. I've been told that there's a way that do not requ...
1
Solved
How can I get the RGBA pixel color of a point from a WKWebView?
I have a working solution for the UIWebView, but I would like to use the WKWebView instead. When I tap on a point of the screen I'm ...
Untouchability asked 24/6, 2015 at 22:35
1
Problem :
After a month, I'm coming back to the prototype for painting on sprite for my mini game. As you see in this thread I've figured out the solution for painting on sprite and because of big...
Tennyson asked 13/7, 2015 at 17:19
1
Solved
I enjoy making "animations" in c++ such as a MandelBrot Set zoomer, Game of Life simulator etc. by setting pixels directly to the screen frame-by-frame. The SetPixel() command makes this incredibly...
3
Solved
I'm developing in qt 5.3 on android device. I can't get the screen resolution.
With the old qt 5 version this code worked:
QScreen *screen = QApplication::screens().at(0);
largh=screen->availab...
Reseau asked 11/7, 2014 at 19:3
2
Solved
Whenever a non-integer pixel value is used for the border of an element, the browser simply truncates the value to become an integer. Why is this the case?
I'm aware that the border will not actua...
Motion asked 14/6, 2015 at 23:35
1
Is it possible to pack analytics code within an image and have that code fire when the image is loaded on a webpage?
The image would be inserted onto a page through a file upload form field such a...
Forzando asked 4/6, 2015 at 3:7
0
1
In Unity3d we have RaycastHit.textureCoord but it doesn't exist anymore in 2D. I was searching about this problem, a lot but I didn't find anything useful.
So I want to know the solution for this ...
Fungi asked 3/5, 2015 at 17:22
2
If a browser has to deal with the following CSS:
font-size: 12pt;,
how does it calculate the effective size on the screen? Can it know the dpi's of the screen (via some OS function) or is it just a...
5
Solved
I have images with polygons in it. There are black lines going through these polygons. I need a way to remove these black lines with a minimum alteration of the polygons.
What I have tried so far:
...
Schnorkle asked 26/3, 2015 at 20:40
1
In my HTML i have a <div> (call it the panel) with fixed width that contains some text; that text is set to font-size: 25px; line-height: 25px; in the accompanying CSS. It so happens that the...
Wow asked 13/3, 2015 at 15:6
2
From my experience up to now the pixel size is something very relevant and intepreted differently based on many factors. My question is how do pixels work in html pages.
For example we can set the...
Warbler asked 9/1, 2015 at 11:9
2
Solved
What does "reference pixel" mean and what is the difference between it and the "hardware pixel"? Is it the "CSS pixel" or is that a different thing? How does the reference pixel enhance the web pag...
Arlettaarlette asked 17/3, 2015 at 8:45
2
Solved
I'm aware of AVFoundation and its capture support (not too familiar though). However, I don't see any readily-accessible API to get pixel-by-pixel data (RGB-per-pixel or similar). I do recall readi...
Dateless asked 2/6, 2012 at 19:5
3
Solved
I am working with Images in Java, I have designed more over 100+ images(.png) format, They were all Trasparent and Black Color Drawing.
The problem is, Now I have been asked to change the color of...
Simony asked 20/6, 2013 at 7:58
2
Solved
I'm trying to edit an image in a way such that all white pixels are converted to transparent pixels (with 0 alpha value). Basically I want to get rid of the background.
I know of the image file's...
3
Solved
I'm trying to figure out if there is a way to draw bitmaps to the canvas in dp units instead of pixels. For example: the following code scales the drawable to 100 * 100 px. How can I instead change...
Ambassadress asked 17/6, 2011 at 21:3
© 2022 - 2024 — McMap. All rights reserved.