View Issue Details

IDProjectCategoryView StatusLast Update
0037912FPCPackagespublic2020-10-21 08:07
ReporterRuben Assigned To 
Status newResolutionopen 
Summary0037912: FCL-PDF images not displayed correctly
DescriptionImages are not rendered correctly
Steps To Reproducefunction Timage2PDF.convert(bitmap:Tstream): TMemoryStream;
var PDF:TPDFDocument;
    UnitOfMeasure: TPDFUnitOfMeasure;
  P.PaperType:= ptA4 ;
  IDX:=PDF.images.Addfromstream(bitmap, TFPReaderBMP, false);
  P.DrawImageRawSize(0,P.GetPaperHeight - H,W,H,IDX);
TagsNo tags attached.
Fixed in Revision
Attached Files



2020-10-12 00:03


download (12).pdf (4,196 bytes)

Maxim Ganetsky

2020-10-21 02:09

reporter   ~0126437

FCL-PDF belongs to FPC project. Moving.

Anton Kavalenka

2020-10-21 08:07

reporter   ~0126438

1st - there is no complete code example
2nd - the PDF document creation initialized in such a manner:

D.Infos.ApplicationName := ApplicationName;
D.Infos.CreationDate := Now;
D.Infos.KeyWords:='some keywords';

D.Options := [poPageOriginAtTop{,poSubsetFont},poCompressFonts,poCompressImages,poUseImageTransparency,poUTF16Info];

PDF Options is a property of PDF document, but in proposed by Reporter code snipped they are simply not used.

Issue History

Date Modified Username Field Change
2020-10-12 00:03 Ruben New Issue
2020-10-12 00:03 Ruben File Added: download (12).pdf
2020-10-21 02:09 Maxim Ganetsky Summary Fcl-pfd images not displayed correctly => FCL-PDF images not displayed correctly
2020-10-21 02:09 Maxim Ganetsky Steps to Reproduce Updated View Revisions
2020-10-21 02:09 Maxim Ganetsky LazTarget => -
2020-10-21 02:09 Maxim Ganetsky Note Added: 0126437
2020-10-21 02:10 Maxim Ganetsky Project Packages => FPC
2020-10-21 08:07 Anton Kavalenka Note Added: 0126438