Quantcast
Channel: Active questions tagged pixel - Stack Overflow
Browsing all 71 articles
Browse latest View live

Regarding the Facebook pixel code to track certain events and multiple...

Regarding the Facebook pixel code to track certain events and multiple Facebook IDs on one site, im trying to learning using pixel code to run the adI have never previously used pixels as a Facebook...

View Article



Image may be NSFW.
Clik here to view.

GODOT 4 cuts off pixel in pixelart

I converted a project from godot 3.5 to godot 4.2.1 and changed texture import from linear to nearest, so it is pixel art. In the editor it works fine, but for some reason, it is doing some weird...

View Article

Width of string in Pixels

Can anyone tell how can I calculate width of a string in pixels,provided font size in pixels?I have to do it in C under linux?

View Article

Image may be NSFW.
Clik here to view.

C++ Pixels In Console Window

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 can't...

View Article

Image may be NSFW.
Clik here to view.

How to tell pdf generation tool to make PDF of specific pixel width across...

BackgroundI would like to do a preview of a PDF from LaTeX like Overleaf, sort of like their LaTeX text on the left and PDF preview on the right:However, I am just going to be making math equations...

View Article


What's the theory behind computing variance of an image?

I am trying to compute the blurriness of an image by using LaplacianFilter. According to this article: https://www.pyimagesearch.com/2015/09/07/blur-detection-with-opencv/ I have to compute the...

View Article

how do i test the color of a pixel in p5.js

i am making a simple raycaster in p5.js(making my own 3d) and i cannot find how to make it read the pixels color.i tried to dofor (let m = 0; m < 30; m++) { for (let i = 0; i < 100; i++) { sx +=...

View Article

Image may be NSFW.
Clik here to view.

Flutter get display size setting

i need to detect current display size setting. How can i detect it?

View Article


How to get number of pixels does this text take up? [duplicate]

I write the program in which user can set his own text on the display, but this text can be wider than the window and he gone away from visible space. I need to know how much this text take up for...

View Article


Image may be NSFW.
Clik here to view.

How to display a ImageView pixelated without interpolating low res files?

I want to load a ImageView with a png file with low resolution. I want to display the pixels but the ImageView is displaying it blurry with interpolation. How can this be avoided? I want to display all...

View Article

Finding geographic coordinates of a camera picture pixel

I'm trying to find the geographic coordinates of pixels though a camera picture. I have the camera coordinates, the azimuth and elevation of it. I also have the FOV of the image. In my web application...

View Article

hardware conversion of image pixel format in ffmpeg?

I am trying to decode an online rtmp video stream into RGB format frames, and then encoding RGB frames into an online stream.TaskHere is what I do now:decoding a video stream to get images(RGB) --->...

View Article

Image may be NSFW.
Clik here to view.

Imagemagick results of +transparent (remove all colors but one) produces...

I have images generated. It's pixel-perfect images (no interpolation, 1 pixel=1color, 5 colors only, etc.)I want to separate each color in different files, so I use ImageMagick CLI commands to obtain...

View Article


Combine several PNGs onto one canvas so that they use a minimum of space

I tried to connect several images with an alpha channel on 1 canvas, but the images are connected one after another (as I wrote in the code), but I am interested in how to make sure that all available...

View Article

Image may be NSFW.
Clik here to view.

Why is it adding me a random pixel on the screen?

I'm making the snake game and I got to the part where there are (for now) 3 asterisks that make the snake. When I move from vertical to horizontal and from horizontal to vertical it adds another...

View Article


Plotting of the sinosuidal functions according to the pixel in Python

I want to plot two sinusoidal functions. The generation of the plotting should be done according to the pixel size, like pixel by pixel. Any help regarding how to do this? The code I used to generate...

View Article

Flutter UI issue...A RenderFlex overflowed by 12 pixels on the right

I am developing a UI for my application using Flutter, and I finished it five days ago. Later, I started working on another application's UI. Now, when I suddenly opened my previous application, I...

View Article


Anti-aliasing - Unweighted Area Sampling

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 some...

View Article

How would I go about detecting brightness in a specific area

I would like to make a robot to automatically play a guitar hero type of game, however all of the notes are the same color. These notes are bright and stand out, so I think that finding the average...

View Article

Image may be NSFW.
Clik here to view.

How can one convert pixel coordinates after rotation on an expanded image?

In the image below, there is a 100x100 square (dimension is always known, say "z"), so the center point is z/2, which is to be rotated by 45 degrees in a clockwise direction. In the 100x100 example...

View Article
Browsing all 71 articles
Browse latest View live




Latest Images