Method for dynamically displaying image after gif image is converted to pdf document
A dynamic display, picture technology, applied in editing/combining graphics or text, animation production, image data processing, etc., can solve the problems of missing pictures, unable to display dynamically, etc., and achieve the effect of strong information transmission ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] participate figure 2 , is a flow chart of an embodiment of a method for dynamically displaying pictures after a gif picture is converted to a pdf document in the present invention, and it includes the following steps:
[0030] Step S11: Extract and process each frame in the gif picture, then insert these pictures into the same page of the pdf file, and set the same position coordinates; after such setting, these pictures will be displayed in the same place, this What is displayed at the time is a picture superimposed by these pictures, so it is also necessary to control the display of each picture.
[0031] Step S21: set all pictures to be hidden through the OC dictionary item of the picture object;
[0032] Step S22: When the content is to be rendered, modify the OC dictionary item of each picture through JavaScript script to control whether it is displayed or hidden;
[0033] Step S23: Refresh the current page according to the refresh rate of each frame of the gif ...
Embodiment 2
[0036] participate image 3 , is a flow chart of an embodiment of a method for dynamically displaying pictures after a gif picture is converted to a pdf document in the present invention, and it includes the following steps:
[0037] Step S11': Create a screen annotation in the pdf file, extract each frame in the gif image and insert it into the same page of the pdf file as the content flow of the screen annotation;
[0038] Step S21': When rendering the content of the page, use JavaScript scripts to set the content of the marked AP dictionary item as the image stream to be displayed according to the refresh rate of each frame of the gif image;
[0039] Step S22': refresh the screen label.
[0040] Through the implementation of the above steps, the picture in the pdf file is the same as the original gif picture, and can dynamically display the content of each frame.
[0041] Both of the above two embodiments can dynamically display the image after converting the gif image to...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 