pixel

Getting the pixel co-ordinates of a Google map marker

Is it possible to determine the pixel co-ordinates of a given marker, taking into account current zoom level and visible area of the map? ...

Digital picture processing on iPhone

Hi, I want to write application on iPhone which will: make some digital processing on video from iPhone camera (in real time) send some graphics through TV-Out Could You tell me if this above is possible on iPhone 3G or 3GS? Can I have access to each pixel in video capturing via iPhone camera? ...

WPF Grid pixel alignment issues

I'm using the WPF Grid to align objects, and ran into a rather glaring issue regarding pixel alignment of columns. I tried to remove as many variables as possible, and managed to show the issue in this code: <Window x:Class="Test.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft...

Converting long/lat to pixel x/y, given a zoom-level

I'm trying to develop a page in ASP.NET that will act as a tile-server for a Google Map It will pull a collection of latitude/longitude points from the database, then render them as small red dots on a transparent background, given a zoom-level (default: 15). It will then return the result as a GIF-type image. Have any algorithms or l...

How to manipulate an image at pixel level in C?

How do I read an image in C so that I can have direct control over its pixels (like we do in MATLAB)? I tried the old way: FILE *fp; fp = fopen("C:\\a.tif","r"); that just gives me the ascii form of the image file (I think). How can I get pixel level control over the image and do some basic operations like say, inverting the image? ...

WPF how to show an Image.Source (BitmapSource) pixel position?

Let's suppose I've got an image which shows its source in a scaled way, how could i use a MouseMove event to show in a label or textblock the pixel position in which the cursor is? (I need the pixel coordinates not the coordinates of the image relative to its size) Thanks in advance. ...

Fetching rendered JavaScript from a page (Omniture pixel)?

I have some code (incidentally, it is for Omniture SiteCatalyst) that renders a 1x1 pixel based on some JavaScript object variables I set in the page's source code. The JavaScript eventually creates an img based on the scripting code, but the img src isn't hard-coded into the HTML. How can I figure out what the img src is, given the URL ...

Creating high performance animations in WPF

Hi All, I'm in a situation that requires many animations with effects like transparency to be applied but when there are about 10 of them running, my application slows down to a grinding halt! :( I also, tried implementing a particle like effect using a frame by frame manual animation using the CompositionTarget.Rendering event, which ...

How can I turn on (change color) of a single pixel by coordinates in WPF.

Hello.I have seen similar questions on here but haven't found an answer.I'm taking a computer graphics course in college and we are taught different algorithms that are used to display shapes.My assignment is to choose any development platform and implement these algorithms.Since I have experience developing in WPF, I want to use it for ...

Is there a way to get pixel data from Internet Explorer?

Excanvas.js allows IE to work with the canvas tag, but the getImageData method is not supported. Is there any way at all to get the value of a specified pixel in IE (img or VML or whatever other ways bitmaps from a server can be displayed in IE)? I'm assuming there's not. I'm trying to get rid of a server hit to improve responsiveness ...

Working with bitmap in WPF

Is there any sane way to work with bitmaps in WPF? I'd like similar functionality as System.Drawing.Bitmap: be able to load image from file and get and set the color of particular pixels. I know about WriteableBitmap, but I don't want to work with Arrays of gods-know-what (I couldn't find that on MSDN), or pointers. I just want to read ...

css columns shrinking 100% pixel value

Hi, I have a page which is divided up into 3 divs, left center and right. I don't want to display anything in the left and right, they just frame the page. #leftDiv { background-color: Gray; width: 10%; left: 0px; top: 0px; position: absolute; height: 100%; } #rightDiv { background-color: Gray; h...

how to get the RGB value of a pixel inside the Form workspace.

im creating a macro and need to check some pixels to make sure the mouse clicks the right spot. How wold you go about checking the RGB value of pixels in c#? ...

Geting a inverted result from using FromArgb R = B? where does this fail?

the R and B gets error when using this logic, i cant seem to find what im doing wrong, my workaround in the end were i flip the r and b is not good at all and im trying to find where the logic breakes. the label1.Text = colorX; shows R=255, G=0, B=0 when it shold be R=0, G=0, B=255, where does this fail? using System; using System.Coll...

What type of Pixel Interpolation is used by OpenGL?

Hello, I would like to know what type of Pixel Interpolation is used by OpenGL. Does it use one of the Standard Pixel Interpolation techniques like Nearest Neighbor, Bilinear or Bicubic? ...

How to measure the pixel width of a digit in a given font / size (C#)

I am trying to calculate the pixel width of Excel columns, as described in this post, using the official formula from the OpenXML specification. However, in order to apply this formula, I need to know the Maximum Digit Width of the Normal font, which is the pixel width of the widest numeric digit. The OpenXML specification gives this exa...

IIS7 URL rewrite with pixel tracking?

I'm trying to setup a PNG image to handle pixel tracking in IIS7 Url Rewrite, but it doesn't seem to be working with the way I'm entering it. Any idea what I am doing wrong? <rule name="PixelTracking"> <match url="^pixel([0-9]*).png?OrderTotal=([0-9]*)&amp;OrderID=([0-9]*)" /> <action type="Rewrite" url="^Confirm.aspx?StoreID={R:1}...

Haskell pixel drawing library linux

I wish to draw individual pixels on a screen in a window or something for real-time display in haskell. I'm just getting started with haskell (but not functional programming, and not graphics), so I'm trying to create some rudimentary graphics things with it. I have tried to use SDL, but the following code gives me a blank screen: imp...

Set the LSB of Java java.awt.Color RGB components

Is there a method for changing the LSB value of java.awt.Color RGB components? ...

How are things represented visually?

Hello, I'm a beginner and I was wondering how pictures,video,windows and buttons etc are represented visually on the screen. I'm not asking whether it was made from for example gtk or wxwidgets, My question is what is the fundamental idea behind making the pixels come up the way they do. And what exactly does GUI library use to put them ...