1. jaume
  2. Valentina Reports ADK
  3. Mittwoch, April 03 2019, 09:57 AM
  4.  Abonnieren via E-Mail
Hello
I don't know the reason why the reports launched from xojo appears blurred.

I've attached 2 files, both are the same report.

Thank you
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Jaume,

In which format is the report generated?
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
Hello

The report is generated in this way

mPicture = mrpt.PreviewPage( 1)


mrpt is Vreport and mPicture is picture
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Please try to set zoom:
mrpt.PreviewZoom = 100
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
I'm sorry but the result is the same
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Is it on Windows?

What if you save generated picture to the file - is it blurred?

Here's how I modified the example code to check the resolution:
mReport.PreviewZoom = Val( efZoom.Text )
mPicture = mReport.PreviewPage( 1 )

dim f as FolderItem = getfolderitem("test.png")
mPicture.Save( f, Picture.SaveAsPNG )
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
I'm on mac os

Yes, it's still blurred
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Is it blurred at "Actual Size"?

Did you check the resolution of the PNG file?
In my test, for A4 Portrait, it is 787 × 1113 px
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Is it a retina screen? If yes - I think it is enough to set 2x zoom:
mrpt.PreviewZoom = 200
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
Hello,

The png file is 840 x 1188

I've exported report to image from valentina studio. The report exported is also blurred.
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
And what about the retina screen? Is it the case?
Kommentar
There are no comments made yet.
jaume Akzeptierte Antwort
it is blurred in retina display. It's blurred in the samsung 4k monitor attached to mac (default). It is blurred on windows deployment (windows server 2016).
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Please set an appropriate zoom level, for example, for retina screen:
mrpt.PreviewZoom = 200
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories