insert_image will not insert png file
See original GitHub issueinsert_image will not insert png file
Hi,
I am using XlsxWriter to insert_image but it appears give an error saying cannot identify image file.
I am using Python version 2.7 with django and XlsxWriter 0.9.2 and Excel version 2010.
Here is some code that demonstrates the problem:
frontSheet.insert_image('B1',
'/opt/folder/cc.png',
{'x_scale': 0.5, 'y_scale': 0.5})
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Cannot insert picture from file - Microsoft Community
I am using Word 16.42 on a mac, and I cannot insert a picture from file, that option (Insert > Pictures > Picture...
Read more >How to Insert a Picture in Word - CustomGuide
1. Click in your document where you want to insert your picture. 2. Click the Insert tab. 3. Click Pictures button.
Read more >How To Insert image in Word Document app on phone
hello, in this tutorial we'll see how to insert images into Word Document App on phoneSee How to Convert Handwriting Image to Text...
Read more >Insert Picture in Word Document (and wrap text / without ...
Insert picture in word document ? Let's do it! In this tutorial I will show you how to insert an image in Word...
Read more >Copy, insert graphics - Adobe Support
Learn to place graphics, import images, and insert pictures or other Adobe files into InDesign documents.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you post the output of the following three commands run against the image file used in that example:
I suspect the image file may be empty. That would generate an error similar to what you are seeing:
Post the output from the above commands and we’ll see.