Change LBV/LSV preview image quality

Hi,

Is there any way to improve the quality of the preview file generated by LlCreateSketch? At present, the resulting LBV/LSV file has a fixed resolution of 400x400 and is heavily compressed. I’d like to be able to set a larger size and lower compression.

My idea is to have a small thumbnail to make it easier for the user to choose visually between different designs, but with sufficient quality to be able to correctly identify the differences.

Many thanks and best regards.

Carlos Torres.

P.S.: Could it be that in earlier versions (LL10 or LL16) this file was of higher quality? I am currently working with LL31 for Delphi - FireDAC based.

Hi Carlos,

At present, the Sketch file can only be configured externally in terms of colour depth; the 400×400 dimensions are fixed and cannot be adjusted.

The colour depth can be specified via the LL_OPTION_SKETCH_COLORDEPTH option using the LlSetOption API.

Contrary to what the documentation currently states (which we will, of course, revise), the default value in version 31 is already set to “24” - as shown in this excerpt from the C++ header file:

...
#define LL_OPTION_SKETCH_COLORDEPTH    (83) /* default: 24 */
...

Ok, thank you very much anyway for your help.

I’ll keep thinking of a way to get a good-quality thumbnail to use in my label selector.

Thanks again and best regards!
Carlos.