A Colorpicker and RGB-tools

Re: A Colorpicker and RGB-tools

Postby ukoenig » Sun Dec 10, 2017 2:06 pm

Marc,

with this first idea You can collect colors from different images
The 10 fixed colors are replaced with a browser

Image
Last edited by ukoenig on Sun Dec 10, 2017 5:01 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A Colorpicker and RGB-tools

Postby Marc Venken » Sun Dec 10, 2017 2:54 pm

Maybe you can also drag and drop images into the project?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1431
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: A Colorpicker and RGB-tools

Postby ukoenig » Sun Dec 10, 2017 5:03 pm

The first tests adding colors from different sets to a project.

With the replaced radios a project is not limited to 10 like before ( browser with color preview )
Project < Test 1 > uses colors from different charts or photos.
The button < New > adds a new record using the project-name of the selected row.
Clicking inside the image, the name of the chart is added together with the colorvalue.
The button < Pack > is used for both dbf's
You can copy the color-values from the new browser ( edit cells ).
The image of the colorset keeps the aspect ratio.
I added a colorcounter to the project ( index on project + number )
Now You can define the order how to show the colors.
Export to EXCEL needed :?:

At the end I will define a language-file :!:

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip

Image

regrds
Uwe :D
Last edited by ukoenig on Tue Dec 12, 2017 2:28 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A Colorpicker and RGB-tools

Postby Marc Venken » Sun Dec 10, 2017 7:34 pm

Almost done !! Great.

There is a error on saving :

Error description: Error DBFCDX/1020 Data type error: VALRGB2

Stack Calls
===========
Called from: .\RGB.PRG => SAVE_CGRP( 1498 )
Called from: .\RGB.PRG => (b)FROM_BMP( 980 )

And how to get a new file fast into the dialog ? Drag and drop ?

Is it possible that the colorpicker can get the values anywhere on the screen en not just in the second dialog ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1431
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: A Colorpicker and RGB-tools

Postby ukoenig » Sun Dec 10, 2017 8:21 pm

Marc,

The button < save to project > belongs to the old fixed 10 color solution.
I deleted this option as well the 10 colorpage from the setup-section.
Sure we can save a color from the desktop ( not only from dialog two )
Maybe a switch is needed ( select from dialog or from desktop )
As well a resizebutton will be added to dialog two that only the small
projectbrowser will be visible together with the small colorpicker dialog.

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A Colorpicker and RGB-tools

Postby ukoenig » Tue Dec 12, 2017 2:29 pm

Many new functions added.

There is a new autosave-option.
How it works :
Select a startposition from inside the projectbrowser
The hotkey will do a autoappend saving the projectname + the selected numer + 1 and the colorvalues.
No need to add a new record before selecting a new color.
A xbrowse seekfield is added ( index on projectname + number ).
With the radios, You can do a quick resize of the project-dialog ( same like the color-picker ).

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip

usage from inside a image-browser ( xNView )
With xNView You can define the thumbnail-size before starting to pick colors.

Image

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A Colorpicker and RGB-tools

Postby ukoenig » Wed Dec 13, 2017 8:57 pm

Changed the project-section to collect colors.
Now there is a better overview ( 19 colors ).
To save space, You can select the browser-column -> Dec, RGB or Hex

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip

Image

I'm still testing the relation between the project-browser and the color-collector
There is a index on < project + object + number >
The project-name will be the company-name and the project-image could be a logo.
The colorlist will show the different object-names with a running number the color and the value.

Image

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A Colorpicker and RGB-tools

Postby ukoenig » Thu Dec 14, 2017 2:02 pm

Added the projectfilter to the browser

Download

http://www.pflegeplus.com/DOWNLOAD/Colorpick6.zip

Image

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: A Colorpicker and RGB-tools

Postby Marc Venken » Thu Dec 14, 2017 2:22 pm

Very nice work.

Will try it out.
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1431
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 99 guests