For the game I'm developing, the levels are encoded as .png files with each pixel representing a tile and the colour encoding which tile. In order to try and encode more information in this level file, I hoped to change the transparency of certain pixels accordingly, then in the code I could extract the colour from its transparency, find the right tile and do whatever additional functionality is implied by the transparency value (e.g. add a shadow for that tile or whatever). The problem is, changing transparency values in Paint.net which is the tool I'm using for .pngs also changes the colour, e.g. ff7C3038 is the original solid colour with ff being the transparency value. If I then change this to aa7C3038 in the programme and fill in the desired area it seems to work, except that using the colour picking tool on the area shows the fill colour to be aa7C3037 instead of aa7C3038. The effect is not constant and seems to depend on the darkness of the colour, with light colours actually working as intended and darker colours being even further off. My question is, is there any workaround for this in Paint.net, and if not is there a recommended alternative tool to use? Suggestions for how to solve my original problem are also welcome, although I've considered simply having extra files for extra level information and would prefer if there were a way to do it this way.
Changing transparency values in Paint.net automatically changes colour as well
588 views Asked by Julius S At
1
There are 1 answers
Related Questions in COLORS
- Wrong matches between colors and values when defining colorFactor
- I want write code to predict CIE XYZ from LED driver R,G,B output value
- Finding a specific colour within a bitmap range - VB.net 2022
- In Flutter, is there a way to determine the user's skin color settings for their emojis?
- HDR video publishing
- make selected text visible in PGAdmin 4 Query Editor
- How to change x-axis group labels of my boxplot in R
- flutter stripe_android:verifyReleaseResources'. > A failure occurred while executing com.android.build.gradle.tasks > Android resource linking failed
- I would like a table where cells are colored (defined by values)
- Color Thresholding JS, Average Image Color Detect JS
- Assign visually distinct colors to graphs with undirected edges
- Change text color inside offcanvas navbar
- To set Different Colors For each line in Line Chart Using NPOI excel nuget package in .Net6 Core
- Is there a way to affect the interpolation between translucent colours in WPF?
- How to change the color of an icon when hovered over
Related Questions in TRANSPARENCY
- Blender to Unity Vertex Color (Alpha) Data Doesn't Work
- How to fetch the data of a PNG PHAsset, which is cropped or adjusted?
- Models using Unity URP shader and transparency are overlapping themselves
- Colorize, Transparent and Move Selected Entities on Xbim Control
- Set transparent fill for box plots using px.box
- How to set p5.js alpha channel transparency in a shader?
- Knock-out transparency group, TikZ and SVG
- TextLabels not changing to Visible = false to Visible = true
- Keep transparency after merging 2 videos
- Transparency probleme on my c++ windows.h
- Android: TextView transparent png as background resource not working
- Hiding widgets in a QMainWindow layout with a translucent background on macOS
- Unity Built-in shader, cutout + transparent
- Magick -depth 16 command changes alpha channel data
- How can I create a tkinter python object to be 50% opacity?
Related Questions in PAINT
- Java Swing Paint Performance
- Allow users to resize into negative height / width
- How to use CSS Paint API with React
- Paint-like a pp on Unity too slow
- Performance issues on Chrome when painting many characters at 80-130px font-size range
- How to changes the brush width
- PaintSurfaceView crash
- Color dialog causing an issue when used in a property grid
- Mac Paint Pro .paint file with layers to open in photoshop or other software
- painted a cell pressing button VBA EXCEL
- Creating an Erasor in a PaintApp between 2 Graphics
- I want to create a simple Paint in Java
- how to draw a rectangle from the center in PyQt6?
- How do I draw an Image into a panel?
- How to recognize Surface Pro Pen in flutter dektop application
Related Questions in ALPHA
- Blender to Unity Vertex Color (Alpha) Data Doesn't Work
- How to calculate pooled Cronbach's Alpha after multiple imputation
- PyQT5 QAbstractVideoSurface: Play Video with alpha channel (on windows)
- How do I control the alpha of a geom_point fill?
- How to improve color layer mask to have mid tones?
- how do I change the alpha channel along a path in cairo?
- Compare theoretical and empirical alpha
- REST API to identify Stable Maven Version of any Maven dependency
- How to set p5.js alpha channel transparency in a shader?
- How to add transparency values correctly?
- THREE.js GLTFLoader alpha does not show transparency(shows white background instead)
- "Replacement has x rows" error in code that previously worked (geom_sf/gganimate/shadow_mark)
- overlapping colors in ggplot geom_point
- Three Fiber not showing transparent png texture
- Is the alpha flag for the canvas tag getContext function advisory only?
Related Questions in PAINT.NET
- Using a black and white icon having antialias for white background on a different color background
- Why do .pdn files for paint.net contain a bunch of gibberish?
- MATLAB imread() wrong gray scale
- Changing transparency values in Paint.net automatically changes colour as well
- Can I automate Paint.net actions with PowerShell?
- Delete background of an image and add it without background
- Pinnacle Studio - png transparency - exported wtih Gimp
- How to get layer relation or group info in a psd file?
- Google play storelisting: You need fix your high-res icon. It is not a valid image
- Delete part of canvas and image altogether
- Windows GUI : attempting a Paint.net style pannel
- Images from Paint.NET failed inside Eclipse
- Easy way to change icons color in sprites
- How to reference the Paint.NET assemblies directly using C#
- Make a Map of Buttons?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
No one answered in 6 months, so I will tell you about my site, that to me is the perfect companion to Paint.Net:
https://pixeldatabase.net
My site was originally a Windows Application called Transparency Maker, but I put it online to make it easier for everyone to use.
In this example, I get rid of the black background:
Before Image:
Bitmap Query Language or BQL for short:
Hide
Total < 50
Where Total equals the sum of Red + Green + Blue:
Result:
It looks white here because this page is white.
To me this is a really simple way to remove backgrounds.