Saving a large image into a PDF with multiple pages.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I am trying to save a large image (stored as 9000x4480x3 uint8 format in the memory). Lets say that I stored the image as variable 'image'.
The image consists of 10 plotyy graphs I put together in 5 by 2 fashion. (2 graphs per row and 5 rows of graphs). so each graph is 1800x2240x3 in size.
What I'd like to do is to have a narrow margin of 0.5 inches top,bottom,left and right on a letter size paper and display first 3 rows of graphs stored in 'image' on the first page, then display the rest of 2 rows on the next page.
Basically I want to display 5400x4480x3 of the image on a pdf with 0.5in margins all sides and I want the graphics to occupy the whole non-margin space. Then the bottom 3600x4480x3 of the image should go to the second page of the same pdf BUT occupying only the top two thirds of the page instead of the full space.
I guess essentially I just want to find a way to map an image to a pdf paper with some way to 'scale' it, and specify the margin as well.
I looked into 'saveas', 'imsave', 'print' functions but I just can't find a way to make a nice output. It seems that if a file is large, then the produced pdf is just an empty page. Btw, I am very new to MATLAB please be merciful in explanation. No need to solve the problem for me but please do provide me with enough guidance for me to solve it on my own. Thanks a lot for reading.
0 commentaires
Réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!