LumaTone 1.1.1 (Create duotone, tritone, sepia like images)
LumaTone 1.1.1 (Create duotone, tritone, sepia like images)
LumaTone 1.1.1 (OSX / Windows / Linux)
LumaTone is a small (batch) utility I created with PureBasic to apply a color scheme to images based on the luma value of each pixel.
Things you can do with it are for example to create a duotone or sepia effect.
It's mainly targeted at working with jpeg photos but you can use for example png as well.
Be ware though that png encoding can be very slow for large images.
The utility is cross platform and portable meaning that user presets are stored in a small .dat file in the same folder as the app itself and nothing is installed on the computer.
In fact, if you place multiple OS versions in the same folder on a usb stick, you should be able to use it where you go.
The OSX version is not signed so you have to right-click the file the first time to give permission to open it.
I'm not very familiar with Linux so I can only hope it works on distributions other than the one I used to create it.
A thank you to J. Baker for creating the app icon and to Keya for solving the problems with libjpeg-turbo on Windows.
Hope you enjoy it
Examples
Input
Output
Input
Output
Screenshot (Windows 10)
Current build :
LumaTone_1_1_1_OSX_x64.zip
LumaTone_1_1_1_Windows_x86.zip
LumaTone_1_1_1_Linux_x64.zip
Previous build :
LumaTone_1_1_0_OSX_x64.zip
LumaTone_1_1_0_Windows_x86.zip
LumaTone_1_1_0_Linux_x64.zip
Changelog :
v1.1.1 Added a slider to control the brightness of source images and added a click to refresh for the large preview window.
v1.1.0 Added grabbing screen colors ( [ctrl] + [G] ) and changed png encoder
v1.0.5 Added full size preview window ( open with [ctrl] + [P] )
v1.0.0 Initial release
LumaTone is a small (batch) utility I created with PureBasic to apply a color scheme to images based on the luma value of each pixel.
Things you can do with it are for example to create a duotone or sepia effect.
It's mainly targeted at working with jpeg photos but you can use for example png as well.
Be ware though that png encoding can be very slow for large images.
The utility is cross platform and portable meaning that user presets are stored in a small .dat file in the same folder as the app itself and nothing is installed on the computer.
In fact, if you place multiple OS versions in the same folder on a usb stick, you should be able to use it where you go.
The OSX version is not signed so you have to right-click the file the first time to give permission to open it.
I'm not very familiar with Linux so I can only hope it works on distributions other than the one I used to create it.
A thank you to J. Baker for creating the app icon and to Keya for solving the problems with libjpeg-turbo on Windows.
Hope you enjoy it
Examples
Input
Output
Input
Output
Screenshot (Windows 10)
Current build :
LumaTone_1_1_1_OSX_x64.zip
LumaTone_1_1_1_Windows_x86.zip
LumaTone_1_1_1_Linux_x64.zip
Previous build :
LumaTone_1_1_0_OSX_x64.zip
LumaTone_1_1_0_Windows_x86.zip
LumaTone_1_1_0_Linux_x64.zip
Changelog :
v1.1.1 Added a slider to control the brightness of source images and added a click to refresh for the large preview window.
v1.1.0 Added grabbing screen colors ( [ctrl] + [G] ) and changed png encoder
v1.0.5 Added full size preview window ( open with [ctrl] + [P] )
v1.0.0 Initial release
Last edited by wilbert on Wed May 31, 2017 3:04 pm, edited 18 times in total.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: GrayTone 1.0.0
@wilbert,
Very nice, thank you.
I appreciate the time you have spent in getting this 'just right'.
Very nice, thank you.
I appreciate the time you have spent in getting this 'just right'.
DE AA EB
Re: GrayTone 1.0.0
Thanksdavido wrote:I appreciate the time you have spent in getting this 'just right'.
I tried to get it right of course so it's nice to hear this comment.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
- BasicallyPure
- Enthusiast
- Posts: 536
- Joined: Thu Mar 24, 2011 12:40 am
- Location: Iowa, USA
Re: GrayTone 1.0.0
Wilbert,
It's working fine with Linux Mint 17.1
I see you have solved the problem of setting the transition points when blending between different colours.
As you know I was only able to make it work with transitions at 50%, 25%, and 12.5%.
If you don't mind me asking is the fact that you provide the choice of up to nine colours an arbitrary one or
is that a requirement for your algorithm?
It's working fine with Linux Mint 17.1
I see you have solved the problem of setting the transition points when blending between different colours.
As you know I was only able to make it work with transitions at 50%, 25%, and 12.5%.
If you don't mind me asking is the fact that you provide the choice of up to nine colours an arbitrary one or
is that a requirement for your algorithm?
BasicallyPure
Until you know everything you know nothing, all you have is what you believe.
Until you know everything you know nothing, all you have is what you believe.
Re: GrayTone 1.0.0
Glad to hear it is working on another computer as well when it comes to Linux.BasicallyPure wrote:It's working fine with Linux Mint 17.1
It's mainly a design choice. To get the processing speed I was aiming for, the only option I could think of was to use a lookup table. So for that part there is no special algorithm.BasicallyPure wrote:I see you have solved the problem of setting the transition points when blending between different colours.
As you know I was only able to make it work with transitions at 50%, 25%, and 12.5%.
If you don't mind me asking is the fact that you provide the choice of up to nine colours an arbitrary one or
is that a requirement for your algorithm?
The procedure that precomputes the lookup table now expects this kind of input (maximum 9 colors at fixed intervals of 12.5%) but I could also have created it differently.
It's just that these values felt right to me as they give enough flexibility and ease of use at the same time.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: GrayTone 1.0.0
very nice! I find the app title confusing though because I thought it was for grayscale conversions only, but i see it's actually for any duotone (i think thats correct term?) ?
Re: GrayTone 1.0.0
ThanksKeya wrote:very nice!
It can be used for duotone (it is the correct term) but also to give you an effect like tritone or sepia coloring.Keya wrote:I find the app title confusing though because I thought it was for grayscale conversions only, but i see it's actually for any duotone (i think thats correct term?) ?
For me the title was logical. Because it's a two step process (color -> gray > toning) and can do more than only a duotone effect I thought to combine the words Grayscale and Duotone / Tritone / Quadtone into GrayTone. I can see now the title can be confusing. Don't know if it would be wise to rename it (and if so how to name it) or just state clearer what it can do (maybe with some more screenshots). I modified the topic title to make it at least a bit clearer.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: GrayTone 1.0.0
It's only new, so definitely rename it. I too thought it was just another app for grayscaling images, and almost didn't read this thread because of it. Rename it to something like "ImageTone" or "ToneChange" or such.wilbert wrote:Don't know if it would be wise to rename it
Re: GrayTone 1.0.0 (Create duotone, tritone, sepia like ima
or EasyTone? AnyTone? ToneItDownToots? WtfIsTone?Dude wrote:Rename it to something like "ImageTone" or "ToneChange" or such.
For the user though isn't it essentially just color -> toning? - the internal gray middle stage is transparent to them?wilbert wrote:For me the title was logical. Because it's a two step process (color -> gray > toning)
just playing devils advocate though! and my suggestions are usually wrong lol
Re: GrayTone 1.0.0 (Create duotone, tritone, sepia like ima
DTMF_Tone?Keya wrote:EasyTone? AnyTone? ToneItDownToots? WtfIsTone?
Re: LumaTone 1.0.0 (Create duotone, tritone, sepia like ima
@Dude, @Keya,
Okay, name has been changed from GrayTone to LumaTone
Okay, name has been changed from GrayTone to LumaTone
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: LumaTone 1.0.0 (Create duotone, tritone, sepia like ima
I tried using your app to colorize grayscale images and generally it is very interesting ^^
I like the idea of selecting some palette of colors and then applying each of them to some range of gray.
But it surely lacks of real-time preview for such thing, would be better something like having list of input files and selected list element becomes preview, instead of that apple.
Also I like the way you making GUI, drag&drop is definitely better than annoying standart files dialogs requesting too much actions, in my utils I often did such way too (however, in PB adding drag&drop is not so easy as it was in VB6).
I like the idea of selecting some palette of colors and then applying each of them to some range of gray.
But it surely lacks of real-time preview for such thing, would be better something like having list of input files and selected list element becomes preview, instead of that apple.
Also I like the way you making GUI, drag&drop is definitely better than annoying standart files dialogs requesting too much actions, in my utils I often did such way too (however, in PB adding drag&drop is not so easy as it was in VB6).
"50 lumatones of grey" :3wilbert wrote:@Dude, @Keya,
Okay, name has been changed from GrayTone to LumaTone :wink:
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"
Re: LumaTone 1.0.0 (Create duotone, tritone, sepia like ima
The whole idea of that relatively small preview was to have everything respond in real-time to any color change you make. Updating a full 12 or 20 megapixel image every time wouldn't be fast enough.Lunasole wrote:But it surely lacks of real-time preview for such thing, would be better something like having list of input files and selected list element becomes preview, instead of that apple.
You can however drop an image file on the preview area (is also mentioned in the help). It will be scaled down and replace the apple so you can use your own preview image. I chose the apple as a standard image because it covers a large range of tones.
I prefer not to work with a list of images for the preview. What I maybe could do is make the preview tabbed to easily switch between a few preview images if one preview is not enough.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: LumaTone 1.0.0 (Create duotone, tritone, sepia like ima
Works fine here as well, nice software !
Re: LumaTone 1.0.0 (Create duotone, tritone, sepia like ima
ThanksFred wrote:Works fine here as well, nice software !
CanvasGadget was very helpful when creating it.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)