Low Resolution @ MBS pdf.Insertpicture

Hi everybody!

Did anyone face low resolution or blurry pictures when insert Pictures to a PDF using MBS plugins?
So, I have a good resolution picture, but when I do:

call pdf.InsertPicture(construplanurLogo, x, y, 181, 48)

Any suggestions?

What type of picture?
What is set as resolution in DynaPDF?
Or maybe email me test project?

[quote=345092:@Christian Schmitz]What type of picture?
What is set as resolution in DynaPDF?
Or maybe email me test project?[/quote]
Ok I’ll send it. Its a JPEG
I don’t have resolution set in dynaPDf

[quote=345092:@Christian Schmitz]What type of picture?
What is set as resolution in DynaPDF?
Or maybe email me test project?[/quote]

[quote=345092:@Christian Schmitz]What type of picture?
What is set as resolution in DynaPDF?
Or maybe email me test project?[/quote]
of Course, I got it:

I used pdf.SetResolution(xxx)

I notice that If you don’t assign this, approx it sets a resolution of 72dpi
:smiley:

Still waiting for test project with problems.

You have a jpeg there. Maybe you better use InsertInsert and pass it right away?

What is “InsertInsert”? And the right way?

You can pass the jpeg string buffer directly here:

InsertImageFromBuffer(PosX as Double, PosY as Double, ScaleWidth as Double, ScaleHeight as Double, Buffer as string, index as Integer = 1) as Integer