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
586 Views Asked by Julius S At
1
There are 1 best solutions below
Related Questions in COLORS
- X3DOM Inline Background skyColor
- Set Background Color on UIButton when Disabled?
- WPF text control with colors only
- Trying to make a random pixel in a bitmap a new color, but it is giving an error why
- background is not working properly
- LWJGL Drawing colored text to the screen issue
- Python: list of strings, change color of character if found (using xlsxwriter)
- How to plot colors on CIE 1931 Color Space in Matlab?
- Change all MenuItems ForeColor at once when click a button
- Selectioncolor doesn't work within KeyPress event
- Change color button in Kivy
- Matlab - Using symbols in gscatter
- Java replacing the background of an image
- Java JMapViewer: How can I change the color of a MapPolygon?
- How do I change symbol type colors on D3js?
Related Questions in TRANSPARENCY
- How can I add a transparent tkinter image in Python 3.3.2?
- Transparent RichTextBox with Graphic not showing Text
- How to remove UINavigationBar transparency in iOS8?
- Fluid login form with different transparency of background holder
- Set mesh transparency Meshlab
- Android OpenGL Transparent Texture Draws Black
- Is it possible to have a element transparent and see through his parent opaque background
- In CSS3, using `transparency` with `gradient` doesn't work?
- OpenLayers3: best way to display multiple WMS layers in trasparency
- Windows Form Application - Transparent PictureBox Image overwrites Form Transparency
- WS_EX_TOOLWINDOW with TransparencyKey causes Win32Exception
- ImageMagick: How to make both black and white transparent?
- Clear Transparent Background for QWidget
- How can I apply a fade-out-text effect with a transparent-to-white gradient?
- Trouble with Transparent Background in scene created with Three.js Editor
Related Questions in PAINT
- When is Datagridview's Paint and Cellpainting called?
- try to combine all line of texts which have different format in one bitmap
- Making Standard Dial Range on JFreeChart thicker
- Draw things after board is drawn with paint (JPanel) (java)
- Java Paint and JButton
- how to override the paint method without stopping its functionality
- Various paint objects in Activity
- Clear Transparent Background for QWidget
- Android SurfaceView: textsize changing in Paint is not smooth
- The method paint(Graphics g) of JComponent does not see the field
- Use keyListener to update paint().
- Android Canvas focus in selected area
- Carousel slider with description below changing
- Java swing Button is invisible after revalidate() until clicked
- Python Recursion Function Causes Pygame to Freeze
Related Questions in ALPHA
- javascript strokeRect opacity not setting to 1
- how to infer alpha value from pair of opaque images
- png uncompressed by CGContextDrawImage is different from orign png image in xcode
- How can I put a device-independent bitmap into the Windows clipboard using just direct WinAPI? (No MFC or other wrappers)
- Animation of setAlpha for UILabel not working
- Add a semi-transparent layer to UIImage using Core Graphics
- SWIFT iOS --- UIApplication.sharedApplication() functions reseting all labels/alphas/hidden properties etc
- Adjust alpha of UIColor
- Sequence Action With EnumerateChildNodeWithName
- How to deal with etc1 alpha channel
- Swift animatewithDuration() instantly completes
- React Native clickable Image with Alpha
- Swift 3 (SpriteKit): Changing the alpha value of the parent which affects all children
- ggplot scale alpha continuous fill color
- Reverse overplotting alpha value in ggplot2
Related Questions in PAINT.NET
- How can I load a skybox dds file into paint.NET for editing?
- How to save psd layers in png using PSD-plugin for Paint.NET?
- Why do .pdn files for paint.net contain a bunch of gibberish?
- AutoHotkey's MouseClickDrag issues in dealing with selecting Paint.NET images squared area?
- measure distance in pixels on image
- Does Paint.Net still provide its source code
- How to copy selection top left pixel values in Paint.Net
- Using a black and white icon having antialias for white background on a different color background
- MATLAB imread() wrong gray scale
- Images from Paint.NET failed inside Eclipse
- Changing transparency values in Paint.net automatically changes colour as well
- How to draw in DP (Android)
- Pinnacle Studio - png transparency - exported wtih Gimp
- How to find the most common int in a 2d array of ints?
- Why is this particular image causing my application to crash with an OutOfMemoryException?
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)
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?
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.