Color Converter ? ? ?
11 posts
Page 1 of 1
Color Converter ? ? ?
Can someone please point me to a "working" color converter that can convert RGB to whatever format Giant uses?
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
Re: Color Converter ? ? ?
Giants 'system' use the ratio 1:255. So you just need to divide the classic RGB value by 255.
For example RGB (255, 120, 50) will be approximately 1, 0.47, 0.19
For example RGB (255, 120, 50) will be approximately 1, 0.47, 0.19
Re: Color Converter ? ? ?
I use this one:
http://www.farming2015mods.com/farming- ... rter-v-1-0
or
https://fs17.lt/color-converter-v-1-0/
Or such one
Lg
Andreas
http://www.farming2015mods.com/farming- ... rter-v-1-0
or
https://fs17.lt/color-converter-v-1-0/
Or such one
Lg
Andreas
Last edited by anthu on Thu Oct 03, 2019 9:39 pm, edited 1 time in total.
Re: Color Converter ? ? ?
Roger, TY
It looks like most numbers stop at (7) places to the right of the decimal, so I'm guessing I can cut my converted number off there?
It looks like most numbers stop at (7) places to the right of the decimal, so I'm guessing I can cut my converted number off there?
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
Re: Color Converter ? ? ?
I made this small tool a while ago and posted on my page. Links below.
Color Code Converter
https://docs.google.com/spreadsheets/d/ ... sp=sharing
My page: https://www.facebook.com/je.modding
Color Code Converter
https://docs.google.com/spreadsheets/d/ ... sp=sharing
My page: https://www.facebook.com/je.modding
//Jens Ejvinsson
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Re: Color Converter ? ? ?
This may worked for FS15 and maybe 17 too but is not fully correct
value / 255 is correct but then you have to (power) ^2.2 it again
Re: Color Converter ? ? ?
Thanks,
I checked against paint.net and indeed you need to ^2.2 or ^(1/2.2) depending on which way you convert.
I changed my color converter to reflect this.
//Jens Ejvinsson
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Re: Color Converter ? ? ?
The values we use in the xmls, are usually Linear sRGB values. However, the values you are probably used to work with, like they are shown in Photoshop or other editing software, are regular (Non-Linear) sRGB.
So you will have to covert between the two values. Using ^1/2.2 is a okish approximation, but is not the exact formula. The exact conversion from sRGB to linear sRGB is:
if srgb < 0.04045
linearSRGB = srgb / 12.92
else
linearSRGB = ((srgb + 0.055) / 1.055) ^ 2.4
So you will have to covert between the two values. Using ^1/2.2 is a okish approximation, but is not the exact formula. The exact conversion from sRGB to linear sRGB is:
if srgb < 0.04045
linearSRGB = srgb / 12.92
else
linearSRGB = ((srgb + 0.055) / 1.055) ^ 2.4
Re: Color Converter ? ? ?
Thanks.
I will change to this. Fantastic.
I will change to this. Fantastic.
//Jens Ejvinsson
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Re: Color Converter ? ? ?
Here is the link again, now corrected with the formula provided by Stegei.
https://docs.google.com/spreadsheets/d/ ... sp=sharing
//Jens Ejvinsson
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Farming History: FS11, FS13, FS15, FS17, FS19 (Steam)
Logitech G29, Logitech/Saitek Sidepanel, Logitech F710 Wireless gamepad
PC Gamer - "The Silent Beast" i7-7700K @ 5Ghz, GTX 1070 @ 2.1GHz
Case IH Puma CVX With Tracks
Väderstad Rapid A600-800S Seed Drill
Tutorial compilation for FS19 - list of all my How To guides
Re: Color Converter ? ? ?
This is the function i use
Private Function ConvertToGiantsSystem(ByVal value As Integer) As Double
' Convert the RGB value to the linear sRGB value
Dim srgb As Double = value / 255
Dim linearSRGB As Double
If srgb < 0.04045 Then
linearSRGB = srgb / 12.92
Else
linearSRGB = Math.Pow((srgb + 0.055) / 1.055, 2.4)
End If
' Return the Giants system value
Return linearSRGB
End Function
https://www.dropbox.com/s/0e5mzt1ywad1o ... r.png?dl=0
the picture in the link above works but adding thing to it still
Private Function ConvertToGiantsSystem(ByVal value As Integer) As Double
' Convert the RGB value to the linear sRGB value
Dim srgb As Double = value / 255
Dim linearSRGB As Double
If srgb < 0.04045 Then
linearSRGB = srgb / 12.92
Else
linearSRGB = Math.Pow((srgb + 0.055) / 1.055, 2.4)
End If
' Return the Giants system value
Return linearSRGB
End Function
https://www.dropbox.com/s/0e5mzt1ywad1o ... r.png?dl=0
the picture in the link above works but adding thing to it still
11 posts
Page 1 of 1