From ec6302d5249c6f4aeac068c294bb1ba4497072cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 5 Oct 2019 18:49:34 +0200 Subject: [PATCH] Updated scaling sample to fit v2.0 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdad112..6caa72d 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,10 @@ The plugin supports vector scaling using QImageReader's setScaledSize() method, so when used like in the following example: ```cpp QImageReader reader(file, QString::number(zoom).toLatin1()); -reader.setScaledSize(QSize(512, 512)); +reader.setScaledSize(QSize(1024, 1024)); reader.read(&image); ``` -you will get 512x512px tiles with a pixel ratio of 2 (= HiDPI tiles). +you will get 1024x1024px tiles with a pixel ratio of 2 (= HiDPI tiles). ## Build ### Requirements