ICON command
|
12-15-2013, 10:13 PM
Post: #1
|
|||
|
|||
ICON command
Anyone can tell me how the png encoding for the ICON command works?
It seems the generated png from DIMGrob is 8 bits, all transparent? My website: ried.cl |
|||
12-15-2013, 10:28 PM
Post: #2
|
|||
|
|||
RE: ICON command
Such a tiny screenshot…
Anyway, the data is simply a hex dump of the PNG, with a leading "magic" number: 89 50 4e 47 0d 0a 1a 0a Graph 3D | QPI | SolveSys |
|||
12-15-2013, 10:46 PM
Post: #3
|
|||
|
|||
RE: ICON command
Correct, but how it is this png data generated. I tried with 8,16,32 bits encodings and no one seems to match the output. In fact, if you create a file using the DIMGROB data, the file is not a proper png (is it a transparent canvas for the png editors I tried)
My website: ried.cl |
|||
12-15-2013, 11:21 PM
(This post was last modified: 12-15-2013 11:31 PM by Tim Wessman.)
Post: #4
|
|||
|
|||
RE: ICON command
Basically, there was not the option we needed to represent our internal screen data. Thus we basically hijacked a 16 bit grey scale to hold the data. What you are probably seeing is the color data represented as 1 RGBt 5551 encoded by the PNG library as a 16 bit per greyscale, and then post processed back into color on the other end.
Cyrille might be able to provide more info here if that doesn't get you enough. Note that is is highly likely that the "ICON" keyword will be refined/changed before long and so the exact syntax and similar is not locked yet. TW Although I work for HP, the views and opinions I post here are my own. |
|||
12-16-2013, 07:14 AM
Post: #5
|
|||
|
|||
RE: ICON command
Hello,
The png is a normal a 8 bit per channel encoded picture... Strangely, not every picture program seems to be able to read/open it... Paint shop pro has no issues... Cyrille |
|||
12-16-2013, 10:49 AM
Post: #6
|
|||
|
|||
RE: ICON command
Hello!
Does anyone know where you can download the program DIMGROBHelper.exe? TIA, Ariel |
|||
12-17-2013, 06:58 AM
Post: #7
|
|||
|
|||
RE: ICON command
here!
|
|||
12-17-2013, 11:52 AM
(This post was last modified: 12-17-2013 11:53 AM by eried.)
Post: #8
|
|||
|
|||
RE: ICON command
(12-17-2013 06:58 AM)cyrille de brébisson Wrote: here! 'Get picture from text' does not work in that version, the other one without the ICON things works properly. And the png encoding isn't normal, maybe paint shop pro is doing something out of the ordinary. I will check this later but I think 'icon' isn't reliable yet, I ended using dimgrob (even when it wastes more program space) My website: ried.cl |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)