Quote from: Zack Green on 14 January 2023, 03:29:56I have just setup imaging library on my RAD STUDIO 10.2 setup, however when trying to use the VCL demo I get errors, Has anybody eles had this problem? if so how did you solve it?
function TPCXFileFormat.LoadData(Handle: TImagingHandle;
var Images: TDynImageDataArray; OnlyFirstLevel: Boolean): Boolean;
const
ifMono: TImageFormat = TImageFormat(250);
ifIndex2: TImageFormat = TImageFormat(251);
ifIndex4: TImageFormat = TImageFormat(252);
ImagingPcx.pas(94,26) Warning: range check error while evaluating constants (250 must be between 0 and 225)
ImagingPcx.pas(94,43) Error: range check error while evaluating constants (250 must be between 0 and 225)
ImagingPcx.pas(95,28) Warning: range check error while evaluating constants (251 must be between 0 and 225)
ImagingPcx.pas(95,45) Error: range check error while evaluating constants (251 must be between 0 and 225)
ImagingPcx.pas(96,28) Warning: range check error while evaluating constants (252 must be between 0 and 225)
ImagingPcx.pas(96,45) Error: range check error while evaluating constants (252 must be between 0 and 225)
ImagingPcx.pas(379) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
Page created in 0.011 seconds with 16 queries.