Questions tagged [pixel]

A pixel is the smallest unit that can be represented or controlled on a display. The word pixel is derived from the phrase "picture element".

Filter by
Sorted by
Tagged with
1 vote
1 answer
94 views

How can I save BMP file by using C? [closed]

I've got a subject that copy image and adjust brightness. This is my code #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <windows.h> #define xsize ...
hojun's user avatar
  • 19
0 votes
1 answer
18 views

GUI error undifdend method for the type imagePanel

the program should be able to Open a new image file and save a filtered image to file via a menu in the GUI. Display images (original and filtered) in the GUI frame. Use the GUI to provide a way ...
rickydoda's user avatar
-2 votes
0 answers
33 views

Maze solving from images [closed]

I need help with the execution of a maze solver in python, using images from google, which means there is no one set value for the width of the pathway or the walls. Using pillow, I can convert the ...
olmervii's user avatar
0 votes
1 answer
36 views

Retrieve Pixel Color from Tapped Image Source in Xamarin.Forms

I am working on a Xamarin.Forms project and would like to retrieve the color of a pixel from an image that is set as the source directly in XAML. The user interaction is triggered by tapping on the ...
user avatar
-5 votes
0 answers
27 views

Blend a photo onto another by using pixel averages: Python

I am working on a project that requires me to blend one JPG onto another JPG image without using functions like blend (or other "complex" functions, the task is to do it manually). In order ...
Nio's user avatar
  • 1
0 votes
1 answer
16 views

Formula for converting XY pixel coordinate in 1920x1080 to 1366x768

Here im trying to edit a macro setup for 1920x1080 to 1366x768(im using rn) If in 1920x1080, x=1621 and y=71 How to convert xy value to my resolution 1366x768?
fahmi zikrul's user avatar
1 vote
1 answer
44 views

How to set pixel's intensity in area of image in python

I have a TIFF image from my experiment as follows: However, the background intensity is relatively high, thus I expect to set an area of the image to zero intensity. Do you have any idea to solve ...
Anna's user avatar
  • 11
0 votes
0 answers
19 views

How to scale canvas without blurry edges?

I'm attempting to make a sprite editor using Svelte and I'm able to get basic pixel drawing done, it just looks slightly blurry around the edges and I can't seem to figure out why. <script lang=&...
just a user's user avatar
0 votes
1 answer
20 views

For xlib, how to create a child window with the background pixel or pixmap of its parent window?

I want to create a child window with the background pixel or pixmap of its parent window. But i can not find refer Xlib API. The workaround I can think of is this: create a child window first, and ...
gsm's user avatar
  • 5
0 votes
0 answers
21 views

How to put a NPC on the tile grid in Unity

Note: I believe I already answered my own question while writing it down (Rubberduck); however, I would like to get some validation on my approach, or maybe it is completely wrong. I have this 'Sign' ...
Rick Neeft's user avatar
0 votes
0 answers
65 views

fastest way to get a pixel from a PyCDC image

So I am trying to take a screenshot and get RGB values of around 50,000 pixel from it all in 0.02 seconds or less. I have a screenshot that was captured using windows API and saved in a variable with ...
Vikram Goronwy's user avatar
0 votes
1 answer
65 views

Compare pixels as fast as possible

I am trying to find exact RGB on my screen with python and compare them as fast as possible. The code uses PIL ImageGrab to get the pixels on the screen. Is it possible to make it faster? from PIL ...
user3164474's user avatar
0 votes
0 answers
27 views

Click a pixel in the monitor with Python

I'm playing a game in which coins fall from above and I have to click them before they hit the ground, there are different types of coins, which change their color (one blue, another yellow, etc. ) ...
FabioTambu's user avatar
0 votes
0 answers
28 views

OpenCv to get pixel information from my screen with Arduino?

I want to automate on my computer with Arduino Pro Micro. I need to get the color information and positions of certain pixels on my screen or the pixel information in a window I created. Can I do this ...
YFE's user avatar
  • 1
0 votes
0 answers
45 views

On Pixel7, a NativeNfcTag error occurs about once in five times

On Pixel 7, a NativeNfcTag error occurs about once in five times. When an error occurred, the following log was output. 3833-6542 libnfc_nci pid-3833 E [ERROR:NativeNfcTag.cpp(946)] ...
Masakazu Hibara's user avatar
0 votes
0 answers
20 views

How do I obtain latitude and logitude coordinates from synoptic weather charts

I have collection of images of synoptic weather charts downloaded from Bureau of Meteorology (BoM) (example link) which is in GIF format. I'm interested in obtaining the lat lon coordinates of cold ...
Satz's user avatar
  • 1
-3 votes
1 answer
69 views

Pixelart with WPF/AvaloniaUI [closed]

I started looking into WPF and Avalonia to build a ui with a pixelart look. I get that both are built around vector based graphics and probably not best suited towards pixel graphics. I was not ...
Peter's user avatar
  • 33
0 votes
0 answers
32 views

How to get a good result in converting text outline to pixels

I have been trying to convert text outline to pixels, but unfortuantly I couldn't reach to a good result, look at that attachment (preview), the edges appear jagged and irregular, which detracts from ...
ISMAIL's user avatar
  • 3
0 votes
0 answers
49 views

TYPO3 x Pixel Facebook - Pixel Facebook detects a potentially infringing element in the search form

I'm writing to you because I'm an administrator for a health site that uses TYPO3. On this site, we have installed a Facebook Pixel. For a few days now, it has been detecting a potentially infringing ...
minuit's user avatar
  • 1
1 vote
0 answers
41 views

Listen to changes for a particular pixel on the screen in real time (in Linux)

I'm making a program in C, that needs to detect changes on a particular pixel on the screen, (on Linux using X11),check the color of the pixel and if it is a certain color, do something (ex, print ...
Narcotix's user avatar
0 votes
0 answers
75 views

Unlock bootloader in Google Pixel 3

I have a Google Pixel 3 that's stuck in a boot loop. All it does when I turn it on is, it shows the Google logo repeatedly and nothing happens. I am trying to restore it to factory settings by ...
Babu's user avatar
  • 3
0 votes
1 answer
56 views

Get colour of a pixel from an image file using PowerShell

I'm trying to get the colour of a pixel from an image file using PowerShell. The code I have tried just returns the same values every single time even for different pixels which are different colours. ...
Coder's user avatar
  • 27
0 votes
1 answer
55 views

Fit a large image in a small div

I have a conceptual question. What exactly happens when we fit a large image in the small container? Say I am creating an HTML page to render a 100x100 px image. I have a device with a device pixel ...
Richeek's user avatar
  • 2,110
0 votes
0 answers
150 views

Achieving Pixel-Perfect Display in Unity 2D Game with 32x32 Pixel Art Animations

I am relatively new to game development and currently working on a 2D project in Unity using C# with pixel art animations (32x32px sprites). Despite setting up the project with specific configurations,...
lf80's user avatar
  • 485
0 votes
0 answers
63 views

Screen resolution according to tkinter and PIL?

According to tkinter my screen has (1536x864)px while according to PIL my screen has (1920x1080)px, what is going on here and is there a way to solve this? So I was writing a little program that makes ...
Yorre's user avatar
  • 1
0 votes
0 answers
35 views

What gives THREE.js canvas double size pixles?

I am trying to use THREE.js for the first time and it seems easy enough. However there is one thing that I just can't get right; for some strange reason, the canvas pixels are "double" size. ...
Mr. Developerdude's user avatar
1 vote
0 answers
31 views

How to reduce intrinsic python pillow noise?

In the following code I create a white image in Pillow, and change one pixel value to black. However, when I run the code about 20% of the other pixels also get darker. How might I reduce this noise, ...
FireCWalker's user avatar
0 votes
0 answers
24 views

Facebook PIXEL not Working in the landing page, Advanced matching

The Facebook Pixel was installed on the landing page but the email data was not sent, just the phone number and name error here Manual installation was done, I can only install Facebook manually but I ...
Medeiros's user avatar
0 votes
0 answers
10 views

Finding the correct mosaic art dimensions for a pixelated image to film canister ratio

I would like to make art out of film canisters. I would like to keep the canisters in their original shape which is 1inch wide by 1.75inch tall. I want to be able to input an image - pixelate the ...
filmxenrique's user avatar
0 votes
0 answers
45 views

Camera calibration after recording video - will it work?

I am interested in getting the distance between two pixels from an object in a video (real-world distance). I did not calibrate the camera before recording the video. If i calibrate the camera now, ...
Anna1's user avatar
  • 1
0 votes
1 answer
48 views

Pixel Art Square

I am creating a pixel art of a 64x64 Pixel image on my terminal using Python. The Problem is that it is ASCII and because of that the image always comes out as a rectangle and not as a square as you ...
vince's user avatar
  • 1,067
1 vote
0 answers
310 views

Cinematic Wallpaper for Pixel 7 NOT WORKING

I am using Pixel 7, I am facing an issue, i can't see the cinematic wallpaper option when i set wallpapers. Tried everything from the internet making a cinematic wallpaper in google photos, updating ...
Legion's user avatar
  • 11
0 votes
0 answers
20 views

Sprite sheet in Unity2D URP compressing too much?

Im using URP on unity2d. I managed to set up a good color swap thing for one of my sprites. So I can change all of the colors individually to anything I want. But I need animations on this sprite and ...
Rosa's user avatar
  • 1
0 votes
0 answers
14 views

how use np.argwhere to get the non zero and zero values?

l am using this line of code to get the positions for the red pixel values only: red_pixel_positions1 = np.argwhere(np.all(((substractions>= [0, 50, 50]) & (substractions<= [180, 255, 255])),...
jeremy's user avatar
  • 1
1 vote
1 answer
125 views

How to get pixel color under cursor?

I am looking for a way to get the pixel color value under the cursor. This of course working from any window, not just a 'rust-owned' window like a winit window. I found a few library of window ...
Alexdelia's user avatar
2 votes
2 answers
196 views

Email tracking pixel tracking email opened even when sender is clicking on the email

I am building an email application using gmail api to send an email reference docs to track if the receiver has opened email I am adding 1x1pixel in the email html body. I want to do these two things ...
Cycl0n3's user avatar
  • 669
0 votes
0 answers
47 views

How could I boot my Pixel 3 XL with the compiled android (version is 12.0, and branch name is crosshatch) AOSP kernel with KASAN and KCOV on?

I am here to seek for help as I have stuck in the problem for several weeks, and still have no idea how to deal with it. As I meant to test the android kernel with KASAN and KCOV on with syzkaller ...
cfenice's user avatar
0 votes
0 answers
7 views

Instantaneous manipulation of pixels shown on the screen

I want to build an application where I can change display settings similar to what a TV does. So far, I could only come across manipulating screen brightness where we have a python library to do that ...
THE BLUE FRIEND's user avatar
-1 votes
1 answer
49 views

Issues in Decryption

The input image is grayscale image broken down to 64 pixels block .The encryption function takes 64 pixels(512 bits) as input_value and 64 bit key. We split the input_value to blocks of 8 pixels value....
Some_chirag's user avatar
0 votes
0 answers
18 views

Flutter Pixel 7 SharedPreferences

Good afternoon and thank you in advance. I'm starting a project in Flutter, Pixel 6, with Api 33 it works great, but in Api 33 it doesn't read the file created with Shared properly.... if I query data,...
bcnpmt's user avatar
  • 1
1 vote
1 answer
116 views

How to convert from pixel unit to square inches of an image in android studio?

I am doing an Android Project. I have area of the image in pixel per unit. How can I convert that to square inches I have tested the conversion of unit in one particular image. I have used this ...
Mark Taylor's user avatar
0 votes
0 answers
69 views

Android and UWB

Hey fellow Android devs! I'm diving into Android development and UWB technology. I've got this idea of creating an app that shows an arrow pointing towards another device's direction, like a digital ...
darvdebian's user avatar
0 votes
1 answer
40 views

Pixel trail/ after image using tkinter Canvas.move()

I'm trying to make the game Alien invaders in Python using tkinter. Whilst trying to make the aliens move across the screen I've found they leave a pixel trail/ after image as below. I used canvas....
Ben's user avatar
  • 1
1 vote
1 answer
37 views

Percentage of pixels with a specific value

Is there a transformer that extract me the percentage of pixels with a specific value, and shows it as an attribute? My reader would be a TIFF and the writer would be a CSV file, with the attribute of ...
Jack_ Sk's user avatar
0 votes
1 answer
46 views

Making an image with the 'hip' Haskell library pixelwise

I'm trying to make an image with the hip library for Haskell. The following code works fine when I run it in ghci: let grad_color = makeImageR VU (200, 200) (\(i, j) -> PixelRGB (fromIntegral i) (...
Stéphane Laurent's user avatar
0 votes
0 answers
87 views

Convert Pixel Values to Coordinates - Python

I have a set of pixel values in the format of lower left (x1y1) (e.g. 204.55, 196.33) and upper right (x2y2) (e.g. 314.56, 294.77), and need to convert these values to their corresponding coordinates ...
mdl518's user avatar
  • 327
1 vote
0 answers
212 views

Experiencing a Snapchat pixel issue due to missing hashed email and phone number during initialization

I'm encountering an issue related to the Snapchat pixel in my implementation. The problem seems to be arising from the absence of hashed email and phone number during initialization. I believe this ...
Muhammad Saqib Javed's user avatar
0 votes
0 answers
16 views

How do I add a browser to chrome device mode so I can see what my webpage looks like on devices inside various browsers?

I want to see how my website will look when viewed on various devices (eg. phones). I can use Device Mode in chrome, but the viewport there doesn't include any browser or phone real estate that the ...
wm192's user avatar
  • 11
0 votes
1 answer
78 views

CS50 Pset 4 edges: Image is static

#include "helpers.h" #include <math.h> #include <stdlib.h> #include <string.h> #include <stdio.h> int sq(int x) { return x*x; } void edges(int height, int width,...
Harr's user avatar
  • 101
0 votes
0 answers
20 views

openlayers how render rectangular pixels - TileLayer COG

I have COG geotiff which I would like to render on map. I use fot this: const source = new GeoTIFF({ normalize: false, sources: [ { url: "raster.tif", ...
piorkoo's user avatar
  • 45

1
2 3 4 5
82