-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import PDFs as an image background #17
Comments
I'd like to have this feature too; it'll come not long after I implement customisable backgrounds :) |
What's the hard part in this ticket, in relation to #183 (comment) ? Is it not just a matter of converting the PDF to an image ? |
There's just more moving parts. Converting the PDF to an image looks fairly simple with pdf_image_renderer. Ideally I'd like to resize each page to match the PDF dimensions which would take some refactoring. Just as a side note, I won't be very active here for a bit since I have exams |
I've tried the background image support and indeed it's much different as it ruins my musical staffs (I guess it's due to changing aspect ratio and the image NOT being vectorial as a PDF would be?). |
Would increasing the maximum image size in settings help with this? Also if aspect ratio is a problem, you can change the background image fit in the editor menu |
On Fri, Feb 03, 2023 at 04:03:29AM -0800, Adil Hanney wrote:
Would increasing the maximum image size in settings help with this? Also if aspect ratio is a problem, you can change the background image fit in the editor menu
I cannot find that setting, where would I find it ?
…--strk;
|
I had version 0.6.0 this not seeing it. After upgrade I see the setting, but my PNG sheet is 8Kb and the max choice for that setting is 2000 (bytes?) so nothing changes. |
The maximum is 2000x2000 pixels, how big is your png? |
On Fri, Feb 10, 2023 at 02:11:16AM -0800, Adil Hanney wrote:
The maximum is 2000x2000 pixels, how big is your png?
835x1181 pixels. Raising the max to 2000 doesn't make the look better
for me. You can find the image here:
http://strk.kbt.io/tmp/blank.png
…--strk;
|
Since that's smaller than 2000px, it won't be compressed at all. |
On Fri, Feb 10, 2023 at 09:28:59AM -0800, Adil Hanney wrote:
Since that's smaller than 2000px, it won't be compressed at all.
Are you by chance talking about the thumbnail on the home screen, since thumbnails are resized to 300px?
My image is a PNG with size, in pixel, of 835 x 1181
Still the staff lines are not readable. Would an SVG be loadable ?
|
I'm not sure why that particular image displays incorrectly. It's most likely a Flutter bug. |
Yes, it looks like the screenshot you sent. Will try the SVG path. |
As of version 0.9.3 I'm happy with the PDF background display, thank you ! |
I love this app. In particular the feature of synchronising. Great would be the ability to import PDF files and draw on the PDF. As an example if you get in advance the presentation slides of a lecture in university you could mark important parts and write your own ideas direct on the slides.
Depends on #271
The text was updated successfully, but these errors were encountered: