It isn't a programming requirement — I've been trying to get just the right colour in some documents and this forest green is the colour I want.

The question is not clear. You can use xnconvert to process multiple files by adding processing rules. Gimp has tools for changing Saturation, brightness, and tone.PBJim wrote: Thu May 23, 2024 7:58 pm Following on from this, is it practical to use PureBasic to change the pixels in a PNG from one RGB to another RGB? It could save me a day's time re-doing a new colour in a batch of PNG files![]()
Code: Select all
hdc = GetDC_(0)
Delay(3000)
Global pt.point,col
GetCursorPos_(@pt)
col = GetPixel_(hdc,pt\x,pt\y)
SetClipboardText("$"+Hex(col))
MessageRequester("color","$"+Hex(col))
That's fantastic, thanks Idle. Not late at all, I'd already found the colour of the desktop using my old Paint Shop Pro, but this is just so easy — addictive even.
DeanH, I know what you mean about colour changes — nothing to do with this really, but a system application I'm working on is console-based and I noticed when using Windows 11 that Microsoft has changed most of the console colours, completely disregarding the former colour effects chosen by developers like us. The combinations used in the application no longer look good — their new colours are watery/lacking in definition.DeanH wrote: Thu May 23, 2024 11:40 pm Last week I spent two days making adjustments to deal with color changes in Windows 11 vs. 10.