1. jaume
  2. Valentina Reports ADK
  3. 水, 4月 03 2019, 09:57 AM
  4.  メールで購読
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