1. jaume
  2. Valentina Reports ADK
  3. Wednesday, April 03 2019, 09:57 AM
  4.  Subscribe via email
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
Attachments (2)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Jaume,

In which format is the report generated?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
jaume Accepted Answer
Hello

The report is generated in this way

mPicture = mrpt.PreviewPage( 1)


mrpt is Vreport and mPicture is picture
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 2
Sergey Pashkov Accepted Answer
Please try to set zoom:
mrpt.PreviewZoom = 100
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 3
jaume Accepted Answer
I'm sorry but the result is the same
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 4
Sergey Pashkov Accepted Answer
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 )
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 5
jaume Accepted Answer
I'm on mac os

Yes, it's still blurred
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 6
Sergey Pashkov Accepted Answer
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
Attachments (2)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 7
Sergey Pashkov Accepted Answer
Is it a retina screen? If yes - I think it is enough to set 2x zoom:
mrpt.PreviewZoom = 200
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 8
jaume Accepted Answer
Hello,

The png file is 840 x 1188

I've exported report to image from valentina studio. The report exported is also blurred.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 9
Sergey Pashkov Accepted Answer
And what about the retina screen? Is it the case?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 10
jaume Accepted Answer
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).
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 11
Sergey Pashkov Accepted Answer
Please set an appropriate zoom level, for example, for retina screen:
mrpt.PreviewZoom = 200
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 12
  • Page :
  • 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