cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify an image in Word document??

HarishM2
Level 6
Hi,

How to identify an image in Word document..

I tried selecting all> copy to clipboard> get clipboard 
But it only able to identify the text.. is there. Way I can identify whether NY image is present in the document or not.??

------------------------------
Harish
RPA Developer
------------------------------
1 BEST ANSWER

Best Answers

Hi Harish,

To address your concern, you can save the Word file as web page. The embedded images will be extracted from the document, and placed in the same location where you saved the web page. From there, you can determine its image file type.

or 

You could change the extension of a .docx or .docm document to .zip, then open the zip archive (which is what  .docx & .docm files really are) and examine the images in the media folder directly - their types will be indicated by their extensions. Change the zip archive's extension back afterwards - or work on a copy of the document.


Thanks
------------------------------
Nilesh Jadhav
Senior RPA Specialist
ADP
India
------------------------------
Nilesh Jadhav.
Consultant
ADP,India

View answer in original post

2 REPLIES 2

Hi Harish,

To address your concern, you can save the Word file as web page. The embedded images will be extracted from the document, and placed in the same location where you saved the web page. From there, you can determine its image file type.

or 

You could change the extension of a .docx or .docm document to .zip, then open the zip archive (which is what  .docx & .docm files really are) and examine the images in the media folder directly - their types will be indicated by their extensions. Change the zip archive's extension back afterwards - or work on a copy of the document.


Thanks
------------------------------
Nilesh Jadhav
Senior RPA Specialist
ADP
India
------------------------------
Nilesh Jadhav.
Consultant
ADP,India

Thanks I tried the converting to html   it worked as you mentioned. Basically I'm  exploring other options . Till now I can only see converting to html is  the best option.


DO you know how can I identify  whether page number is present in the word document or not? . I  used code stage but it is returning page number whether page number is visible to the normal user or not it is returning the page number. What I really want is to check whether page number exist or not ?

------------------------------
Harish
RPA Developer
------------------------------