-
Notifications
You must be signed in to change notification settings - Fork 39
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
Images not being transferred #15
Comments
Thanks @aegerton. I appreciate the feedback! Would you mind sharing the powerpoint you were testing this on? For 1), are you saying that the image files are just not there at all? That would be surprising to me and perhaps a Windows specific thing that I need to address. (this has all only really been tested on a Mac) For 2), I was aware that .emf files were not rendering but I thought I was going to have to use Libre Office to convert them to jpg or png files. Are you saying that by just using R to rename the extension it worked? That would be great news and something I could implement very quickly! (I admit, I hadn't thought of just changing the extension.
Thank you for trying it out and for your feedback! |
Daniel, I tried it out on several .pptx files, an example of which is attached. You are right, I am using Windows, and no image files appeared in the img sub-directory. If I go to the presentation in PowerPoint and copy the image file across to the img sub-directory, they are then rendered satisfactorily. Furthermore, if I save the Windows meta file (.emf) with a .jpg extension in the same sub-directory and then manually change the file extension in R back to .emf, the rendering works fine. Regarding the number of slides rendered, the Rmd file is indeed correct. However, initially only six slides are rendered for some reason. (I am a novice!) It is only when a change is made to the Rmd file that the full number of slides are rendered. Happy to help! |
Thanks @aegerton, but unfortunately it doesn't look like the file uploaded. Could you try again? |
Apologies, Daniel. I am answering this on an iPad and struggling to attach a file. You can download the file via this link;- https://www.dropbox.com/s/8i1ymz1gat75bj9/HUL%20Introductory%20Presentation%200717a.pptx?dl=0 |
Thanks @aegerton, this does indeed appear to be a Mac/Windows issue. I'll dig into it more and let you know when I've arrived on a solution. Thanks again! |
Thank you, Daniel, for coming up with such a great idea and useful package. |
I can confirm that no images/photos were transferred on Windows 10 Pro. I attach a test pptx file for reproducibility Can't wait to use this awesome package soon! Thanks! Session Info
|
Thanks for confirmation! I have had to put development on hold for a bit because of other duties but hope to resume soon. I appreciate you adding the example pptx. |
Hi @datalorax |
Hi @hackenjoe, I really apologize but I just have not had any time to devote to this since its initial development. So yes, this is still an issue. I will try to work on this soon but unfortunately I can't make any promises. I am unfortunately still swamped with other duties (and this is just a side project/thing I developed for fun). |
This is such a great package. I came here because of the same issue, but I can see that you are still working on it. Thanks for all your hard work! |
Hi @christopherjwilson, I am definitely aware of the issue but unfortunately still haven't had a chance to work on it. 😕 |
This is really an issue that needs to be fixed (for Windows system). I am looking forward to that. Thank you! |
Daniel,
Thanks for a really interesting package. A couple of points:-
1.) For some reason, the Powerpoint images are not coming across into the img folder.
2.) When I bring over the Windows metafiles (.emf) manually as .jpg files and then rename them with the .emf extension in R, they work fine (but not if brought across as .emf files).
3.) The first time that I use the convert_pptx command only six slides are rendered from the .Rmd file, despite all being contained in the .Rmd script.
4.) However, after making any simple change to the .Rmd file, the full number of slides are rendered satisfactorily.
I hope this feedback is helpful.
The text was updated successfully, but these errors were encountered: