To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81093





------- Additional comments from [EMAIL PROTECTED] Wed Sep 12 12:33:50 +0000 
2007 -------
@rene:

Actually you cannot obtain the binary form from the human readable one, with the
SampleICC library it's the other way around.

I'm sorry, it's going to be a long description, but I think it's better to have
a clear picture of the matter.

The steps I followed were:
1) got the SampleICC library from http://sampleicc.sourceforge.net.
2) hacked it to compile under Debian testing, current.
3) from a sample application in the sample library source code I obtained the
base code of a custom application and by modifying it I got what I needed to
build the binary ICC profile file (an application I named: create_sRGB_profile),
according to both the suggestions of ICC Consortium and IEC61966-2.1 (the
primary sRGB profile info source). The data in the profile binary file is
composed by the create_sRGB_profile application as this:
- the constant data are from the ICC recommendations and hardcoded in
create_sRGB_profile;
- the look up tables are computed by create_sRGB_profile.
- the other data (strings, other kind of constants) are hardcoded in
create_sRGB_profile.

What could we do?
1) the SampleICC library files have a header that's neither GPL nor LGPL (I'll
attach an example file), I don't know if it qualifies to be added as a tool to
the OOo source tree. If the library file header is fine with OOo build tools
license requirements, than:
2) the whole SampleICC library along with what I wrote to obtain a C++ header
file containing the profile to be added during the PDF/A-1 export can be added
to OOo source tree, so at build time:
- build SampleICC library,
- build  create_sRGB_profile, the header file generated by it moved in a
suitable position (in solver ??)
- then build vcl.
This procedure will assure a way to change the sRGB profile, should the need
arise in the future.

But while I successfully build the library and used it under Debian, I don't
know what to do under the other platforms OOo is built under. It can be a little
tricky, especially for me.
Besides I don't have the slightest idea of what to do to add a new module, what
to do to make vcl build dependent on it, etc...

I'll attach the 'human readable' form of the profile, where there is the
copyright note rene suggested (in the first hundred of lines, the remaining,
>3000, are numerical look up tables).


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to