1. jaume
  2. Valentina Reports ADK
  3. Среда, Апрель 03 2019, 09:57 AM
  4.  Подписаться через 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
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Jaume,

In which format is the report generated?
Комментарий
There are no comments made yet.
jaume Ответ принят
Hello

The report is generated in this way

mPicture = mrpt.PreviewPage( 1)


mrpt is Vreport and mPicture is picture
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Please try to set zoom:
mrpt.PreviewZoom = 100
Комментарий
There are no comments made yet.
jaume Ответ принят
I'm sorry but the result is the same
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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 )
Комментарий
There are no comments made yet.
jaume Ответ принят
I'm on mac os

Yes, it's still blurred
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
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
Вложения
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Is it a retina screen? If yes - I think it is enough to set 2x zoom:
mrpt.PreviewZoom = 200
Комментарий
There are no comments made yet.
jaume Ответ принят
Hello,

The png file is 840 x 1188

I've exported report to image from valentina studio. The report exported is also blurred.
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
And what about the retina screen? Is it the case?
Комментарий
There are no comments made yet.
jaume Ответ принят
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).
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Please set an appropriate zoom level, for example, for retina screen:
mrpt.PreviewZoom = 200
Комментарий
There are no comments made yet.
  • Страница :
  • 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. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories