CN109684606B - Method and device for presenting artistic effect on PDF page - Google Patents

Method and device for presenting artistic effect on PDF page Download PDF

Info

Publication number
CN109684606B
CN109684606B CN201811570396.8A CN201811570396A CN109684606B CN 109684606 B CN109684606 B CN 109684606B CN 201811570396 A CN201811570396 A CN 201811570396A CN 109684606 B CN109684606 B CN 109684606B
Authority
CN
China
Prior art keywords
anchor point
information
anchor
picture
audio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811570396.8A
Other languages
Chinese (zh)
Other versions
CN109684606A (en
Inventor
杨中原
李沛卓
史振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pep Digital Publishing Corp ltd
Original Assignee
Pep Digital Publishing Corp ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pep Digital Publishing Corp ltd filed Critical Pep Digital Publishing Corp ltd
Priority to CN201811570396.8A priority Critical patent/CN109684606B/en
Publication of CN109684606A publication Critical patent/CN109684606A/en
Application granted granted Critical
Publication of CN109684606B publication Critical patent/CN109684606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a device for presenting artistic effect on a PDF page, wherein the method comprises the following steps: acquiring anchor point information of an anchor point on a PDF page, wherein the anchor point information comprises coordinate information and size information; acquiring an anchor point picture of the anchor point in the PDF page according to the anchor point information, and covering the anchor point picture above the anchor point; according to the monitored playing progress information of the audio and the anchor point information, calculating a target area of the current progress of the audio in the anchor point picture; and modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color values of the text content in other areas. The invention can save a large amount of processing and manufacturing cost, and has obvious effect improvement compared with the existing FLASH scheme.

Description

Method and device for presenting artistic effect on PDF page
Technical Field
The invention relates to the technical field of digital processing, in particular to a method and a device for presenting artistic effects on PDF (Portable Document Format ) pages.
Background
Along with the promotion of computer technology and network age, electronic textbooks have been widely used in the education and teaching process of primary and secondary schools. The electronic textbook is a foundation for realizing digital teaching and learning, and is one of core contents for informatization construction of school education.
In the educational field, almost all teaching activities are spread around the teaching material, which means that multimedia resource needs generated under informatization conditions are combined with the teaching material.
At present, a common method for combining multimedia resources and teaching materials is to utilize FLASH technology to produce animation, and click the animation to play when required. The method has troublesome manufacture and high cost, and the FLASH technology is gradually replaced by other technologies, so that the method cannot adapt to the existing software and hardware environment.
Disclosure of Invention
In view of this, the present invention provides a method and apparatus for presenting artistic effects on PDF pages, so as to solve the problems of troublesome production, high cost and unable to adapt to the existing software and hardware environments in the prior art. The technical proposal is as follows:
based on one aspect of the invention, the invention provides a method for presenting artistic effects on a PDF page, comprising the following steps:
acquiring anchor point information of an anchor point on a PDF page, wherein the anchor point information comprises coordinate information and size information;
acquiring an anchor point picture of the anchor point in the PDF page according to the anchor point information, and covering the anchor point picture above the anchor point;
according to the monitored playing progress information of the audio and the anchor point information, calculating a target area of the current progress of the audio in the anchor point picture;
and modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color values of the text content in other areas.
Optionally, each anchor point on the PDF page contains anchor point necessary information, where the anchor point necessary information includes at least: the ID of the anchor point, the content of the anchor point and the audio address corresponding to the anchor point;
the acquiring the anchor point information of the anchor point on the PDF page comprises the following steps: and acquiring anchor point information of the anchor points on the PDF page by adopting a method provided in the software development kit SDK.
Optionally, after overlaying the anchor picture over the anchor, the method further comprises:
and a control used for controlling and displaying the anchor point picture is arranged above the anchor point.
Optionally, the calculating, according to the monitored playing progress information of the audio and the anchor point information, a target area of the current progress of the audio in the anchor point picture includes:
calculating the ratio of the playing progress information of the current monitored audio to the total length of the audio;
and calculating a target area corresponding to the ratio in the anchor point picture according to the ratio.
Optionally, the modifying the color value of the text content in the target area includes:
creating a canvas, and drawing the anchor point picture on the canvas;
acquiring color values of all pixels on the canvas, which correspond to the target area;
judging whether the color value of each pixel is in the color value range in the preset RGB color gamut;
if so, the color value of the pixel is modified to the preset color value of the highlight color.
Based on another aspect of the present invention, there is provided an apparatus for presenting artistic effects on a PDF page, including:
the anchor point information acquisition unit is used for acquiring anchor point information of an anchor point on the PDF page, wherein the anchor point information comprises coordinate information and size information;
the anchor point picture processing unit is used for acquiring an anchor point picture of the anchor point in the PDF page according to the anchor point information and covering the anchor point picture above the anchor point;
the target area calculating unit is used for calculating a target area in the anchor point picture corresponding to the current progress of the audio according to the monitored playing progress information of the audio and the anchor point information;
and the modifying unit is used for modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color value of the text content in other areas.
Optionally, each anchor point on the PDF page contains anchor point necessary information, where the anchor point necessary information includes at least: the ID of the anchor point, the content of the anchor point and the audio address corresponding to the anchor point;
the anchor point information acquisition unit is specifically configured to acquire anchor point information of an anchor point on a PDF page by using a method provided in a Software Development Kit (SDK).
Optionally, the apparatus further comprises:
and the control setting unit is used for setting a control for controlling the display of the anchor picture above the anchor.
Optionally, the target area calculating unit includes:
the first calculating subunit is used for calculating the ratio of the playing progress information of the current monitored audio to the total length of the audio;
and the second calculating subunit is used for calculating a target area corresponding to the ratio in the anchor point picture according to the ratio.
Optionally, the modification unit includes:
a first processing subunit, configured to create a canvas and draw the anchor point picture on the canvas;
a second processing subunit, configured to obtain color values of all pixels on the canvas corresponding to the target area;
the third processing subunit is used for judging whether the color value of each pixel is in the color value range in the preset RGB color gamut;
and the fourth processing subunit is used for modifying the color value of the pixel into the color value of the preset highlight color when the third processing subunit judges that the color value of the pixel is in the color value range in the preset RGB color gamut.
According to the method and the device for presenting the artistic effect on the PDF page, the anchor point information of the anchor point on the PDF page is obtained first, then the anchor point picture of the anchor point in the PDF page is obtained according to the anchor point information, and the anchor point picture is covered above the anchor point. Further monitoring the playing progress of the audio, calculating a target area in the anchor point picture corresponding to the current progress of the audio according to the monitored playing progress information of the audio and anchor point information, and finally modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color values of the text content in other areas. The invention does not need to make special animation resources, only needs to edit the corresponding relation between the text content and the audio on the PDF page like editing lyrics, calculates the current progress of the audio corresponding to the target area in the anchor point picture by monitoring the playing progress of the audio when the audio is played, and further modifies the color value of the text content in the target area to be different from the color value of the text content in other areas, thereby keeping the audio playing progress consistent with the color changing progress of the text content (i.e. anchor point picture) in the target area and presenting the effect of karaoke. The invention has the advantages of simple realization, low cost, effective adaptation to the existing software and hardware environment and remarkable improvement of the effect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for presenting artistic effects on a PDF page according to the present invention;
FIG. 2 is a schematic diagram of an anchor point in a PDF page according to the present invention;
FIG. 3 is a schematic diagram of calculating a target region in an anchor picture according to the present invention;
FIG. 4 is a flowchart of a method for modifying color values of Chinese content in a target area according to the present invention;
FIG. 5 is a schematic illustration of an anchor point in the present invention;
FIG. 6 is another schematic illustration of an anchor point in the present invention;
fig. 7 is a schematic structural diagram of an apparatus for displaying artistic effects on PDF pages according to the present invention;
FIG. 8 is a schematic diagram of a target area calculating unit according to the present invention;
fig. 9 is a schematic structural diagram of a modification unit in the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Limited to the lack of PDF page operability, the primary design objectives of the present invention include, but are not limited to: the scheme for presenting artistic effects on the PDF page can dynamically highlight text content corresponding to the appointed position where the corresponding audio is played on the PDF page, and user experience of a user is enhanced. The artistic effect is, for example, a karaoke effect or the like.
Before the technical scheme provided by the invention is concretely implemented, the applicant firstly needs to explain that 1) the text area in the anchor point range in the PDF page is measurable; 2) Presetting a color value range of characters in an anchor point range in an RGB color range; 3) The highlighting color is preset.
As shown in fig. 1, the method for presenting artistic effects on a PDF page provided by the present invention may include:
step 101, acquiring anchor point information of an anchor point on a PDF page, wherein the anchor point information comprises coordinate information and size information.
As shown in fig. 2, the anchor point in the present invention is an area pointing to specific audio information, which is generally a rectangular area. The anchor information describes coordinates and sizes of the anchor in the PDF page, wherein the coordinate information is coordinate axis xy, and the size information is width and height of the anchor. The coordinate system where the anchor point is located is the entire screen of the device.
The PDF page in the invention is a PDF page after being output by adopting PC end PDF manufacturing software developed based on SDK (Software Development Kit ), each anchor point on the PDF page contains anchor point necessary information, and the anchor point necessary information at least comprises: an ID of the anchor, a content of the anchor, an audio address corresponding to the anchor, and the like.
The present invention operates on PDF pages (also called PDF documents) based on the SDK. Specifically, the method for acquiring anchor point information in the present invention may adopt a method provided in the SDK: - (CGRect) convertPdfRecttToPageViewRect (FSRectF x) direct PageIndex (int) PageIndex.
Step 102, obtaining an anchor point picture of the anchor point in the PDF page according to the anchor point information, and covering the anchor point picture above the anchor point.
According to the method and the device, the area range of the anchor point in the PDF page can be accurately positioned according to the obtained anchor point information of the anchor point, and then the anchor point picture corresponding to the anchor point in the PDF page can be accurately intercepted through the SDK, wherein the anchor point picture is an RGB (red green blue) picture, and is essentially a screenshot of the anchor point in the PDF document.
After the anchor point picture of the anchor point is obtained, the anchor point picture is covered above the anchor point, so that no change is seen from the appearance, but the text content at the corresponding position of the PDF page is covered by one anchor point picture.
Preferably, after the anchor point picture is covered above the anchor point, a control for controlling the display of the anchor point picture can be arranged above the anchor point according to different system software development characteristics. The control is a UI class provided in a system development library, such as UIIMAGE View in a UIKIT class library used in an iOS system.
And step 103, calculating a target area in the anchor point picture corresponding to the current progress of the audio according to the monitored playing progress information of the audio and the anchor point information.
In the practical application process of the invention, when playing the audio, the playing progress of the audio is monitored in real time, so that the playing progress information of the audio is obtained, wherein the playing progress information of the audio comprises the playing position of the audio and the like.
In the invention, the ratio of the playing progress information of the current monitored audio to the total length of the audio is calculated, and the corresponding target area of the ratio in the anchor point picture is calculated according to the ratio. Referring to fig. 3, assuming that the total length of the audio is 10 seconds, the audio is currently played to the 5 th second, and the ratio of the playing progress information of the currently monitored audio to the total length of the audio of 5 seconds to 10 seconds is: 5/10=0.5, i.e. the target area in the anchor picture corresponding to the current playing progress information (i.e. the ratio) of the audio is the hatched portion in fig. 3.
And step 104, modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color values of the text content in other areas.
After the target area in the anchor point picture is determined, the color value of the pixels in the target area is modified to change the display color of the text content, so that the color of the text content is different from that of the text content in other areas, and the effect of karaoke is achieved.
Specifically, the step 104 of the present invention may be implemented by adopting the steps shown in fig. 4, including:
step 1041, creating a canvas, and drawing the anchor point picture on the canvas.
At this point, the anchor picture will be converted into a 16-ary encoded data stream.
Step 1042, obtaining color values of all pixels on the canvas corresponding to the target area.
Specifically, the invention is to acquire 16-ary data of all pixels in the target area.
In step 1043, it is determined whether the color value of each pixel is within the color value range of the preset RGB color gamut. If so, step 1044 is performed, otherwise step 1045 is performed.
In step 1044, the color value of the pixel is modified to a preset color value of the highlight color.
In step 1045, it is determined that the color value of the pixel is not modified.
By adopting the method for presenting artistic effect on the PDF page, when a user reads the PDF electronic teaching material and clicks the anchor point containing the audio content, the text content corresponding to the display can be dynamically highlighted according to the position where the audio is played, so that the effect of karaoke (dynamic lyrics) is achieved. The technical scheme adopted by the invention is that the screenshot of the anchor point is covered above the anchor point, and the pixel color value in the screenshot is modified, so that the original PDF is not affected.
Taking fig. 5 as an example, the content in the anchor point does not occupy the whole anchor point range (the whole picture shown in fig. 5 is the anchor point range), and the speech speed of the content is not uniform, but is divided into four sections shown in fig. 6, the speech speed in each section is uniform, and the speech speeds of different sections are different. To implement such a complex scenario, more refined data support is required. The present invention is illustratively defined and explained below as to the data structure required to achieve the effects of the present invention.
The text segment composed of one or more words whose speed of speech is uniform in the anchor content is the smallest data unit, and an anchor contains one or more such smallest data units (hereinafter, each replaced by item). Each item needs to contain information as shown in table 1 below:
TABLE 1
By applying the method for presenting artistic effect on the PDF page, firstly, the anchor point information of the anchor point on the PDF page is obtained, then the anchor point picture of the anchor point in the PDF page is obtained according to the anchor point information, and the anchor point picture is covered above the anchor point. Further monitoring the playing progress of the audio, calculating a target area in the anchor point picture corresponding to the current progress of the audio according to the monitored playing progress information of the audio and anchor point information, and finally modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color values of the text content in other areas. The invention does not need to make special animation resources, only needs to edit the corresponding relation between the text content and the audio on the PDF page like editing lyrics, calculates the current progress of the audio corresponding to the target area in the anchor point picture by monitoring the playing progress of the audio when the audio is played, and further modifies the color value of the text content in the target area to be different from the color value of the text content in other areas, thereby keeping the audio playing progress consistent with the color changing progress of the text content (i.e. anchor point picture) in the target area and presenting the effect of karaoke. The invention has the advantages of simple realization, low cost, effective adaptation to the existing software and hardware environment and remarkable improvement of the effect.
Based on the method for presenting artistic effects on the PDF page provided by the present invention, the present invention further provides a device for presenting artistic effects on the PDF page, as shown in fig. 7, where the device may include:
an anchor information obtaining unit 100, configured to obtain anchor information of an anchor on a PDF page, where the anchor information includes coordinate information and size information;
an anchor point picture processing unit 200, configured to obtain an anchor point picture of the anchor point in the PDF page according to the anchor point information, and cover the anchor point picture above the anchor point;
a target area calculating unit 300, configured to calculate, according to the monitored playing progress information of the audio and the anchor point information, a target area in the anchor point picture corresponding to the current progress of the audio;
and the modifying unit 400 is configured to modify the color value of the text content in the target area, so that the color value of the text content in the modified target area is different from the color values of the text content in other areas.
In the invention, each anchor point on the PDF page contains anchor point necessary information, and the anchor point necessary information at least comprises: the ID of the anchor point, the content of the anchor point and the audio address corresponding to the anchor point;
the anchor information obtaining unit 100 is specifically configured to obtain anchor information of an anchor on a PDF page by using a method provided in a software development kit SDK.
Preferably, the device for presenting artistic effects on the PDF page provided by the present invention further includes a control setting unit, configured to set a control for controlling to display the anchor picture above the anchor.
As shown in fig. 8, the target area calculating unit 300 in the present invention may include:
a first calculating subunit 301, configured to calculate a ratio of playing progress information of the currently monitored audio to a total length of the audio;
and the second calculating subunit 302 is configured to calculate, according to the ratio, a target area corresponding to the ratio in the anchor point picture.
As shown in fig. 9, the modification unit 400 in the present invention may include:
a first processing subunit 401, configured to create a canvas and draw the anchor point picture on the canvas;
a second processing subunit 402, configured to obtain color values of all pixels on the canvas corresponding to the target area;
a third processing subunit 403, configured to determine whether the color value of each pixel is within a color value range within a preset RGB color gamut;
and a fourth processing subunit 404, configured to modify, when the third processing subunit 403 determines that the color value of the pixel is within the color value range within the preset RGB color gamut, the color value of the pixel to a preset color value of the highlight color.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description of the method and the device for presenting artistic effects on PDF pages provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the examples is only used to help understand the method and the core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method for rendering artistic effects on a PDF page, comprising:
acquiring anchor point information of an anchor point on a PDF page, wherein the anchor point is a region pointing to specific audio information, and the anchor point information comprises coordinate information and size information;
acquiring an anchor point picture of the anchor point in the PDF page according to the anchor point information, and covering the anchor point picture above the anchor point, wherein the anchor point picture is a screenshot of the anchor point in the PDF page, and after the anchor point picture is covered above the anchor point, the appearance presented by the PDF page is the same as that before the anchor point picture is covered above the anchor point;
according to the monitored playing progress information of the audio and the anchor point information, calculating a target area of the current progress of the audio in the anchor point picture;
and modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color values of the text content in other areas.
2. The method of claim 1, wherein each anchor on the PDF page contains anchor necessary information including at least: the ID of the anchor point, the content of the anchor point and the audio address corresponding to the anchor point;
the acquiring the anchor point information of the anchor point on the PDF page comprises the following steps: and acquiring anchor point information of the anchor points on the PDF page by adopting a method provided in the software development kit SDK.
3. The method of claim 1, wherein after overlaying the anchor picture over the anchor, the method further comprises:
and a control used for controlling and displaying the anchor point picture is arranged above the anchor point.
4. A method according to any one of claims 1-3, wherein calculating a target area in the anchor picture corresponding to the current progress of the audio according to the monitored play progress information of the audio and the anchor information comprises:
calculating the ratio of the playing progress information of the current monitored audio to the total length of the audio;
and calculating a target area corresponding to the ratio in the anchor point picture according to the ratio.
5. A method according to any one of claims 1-3, wherein said modifying the color value of the text content in the target area comprises:
creating a canvas, and drawing the anchor point picture on the canvas;
acquiring color values of all pixels on the canvas, which correspond to the target area;
judging whether the color value of each pixel is in the color value range in the preset RGB color gamut;
if so, the color value of the pixel is modified to the preset color value of the highlight color.
6. An apparatus for rendering artistic effects on PDF pages, comprising:
the system comprises an anchor point information acquisition unit, an anchor point information acquisition unit and a storage unit, wherein the anchor point information acquisition unit is used for acquiring anchor point information of an anchor point on a PDF page, the anchor point is an area pointing to specific audio information, and the anchor point information comprises coordinate information and size information;
the anchor point picture processing unit is used for acquiring an anchor point picture of the anchor point in the PDF page according to the anchor point information and covering the anchor point picture above the anchor point, wherein the anchor point picture is a screenshot of the anchor point in the PDF page, and after the anchor point picture is covered above the anchor point, the appearance presented by the PDF page is the same as that before the anchor point picture is covered above the anchor point;
the target area calculating unit is used for calculating a target area in the anchor point picture corresponding to the current progress of the audio according to the monitored playing progress information of the audio and the anchor point information;
and the modifying unit is used for modifying the color value of the text content in the target area so that the color value of the text content in the modified target area is different from the color value of the text content in other areas.
7. The apparatus of claim 6, wherein each anchor on the PDF page contains anchor necessary information including at least: the ID of the anchor point, the content of the anchor point and the audio address corresponding to the anchor point;
the anchor point information acquisition unit is specifically configured to acquire anchor point information of an anchor point on a PDF page by using a method provided in a Software Development Kit (SDK).
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the control setting unit is used for setting a control for controlling the display of the anchor picture above the anchor.
9. The apparatus according to any one of claims 6 to 8, wherein the target area calculation unit includes:
the first calculating subunit is used for calculating the ratio of the playing progress information of the current monitored audio to the total length of the audio;
and the second calculating subunit is used for calculating a target area corresponding to the ratio in the anchor point picture according to the ratio.
10. The apparatus according to any one of claims 6-8, wherein the modifying unit comprises:
a first processing subunit, configured to create a canvas and draw the anchor point picture on the canvas;
a second processing subunit, configured to obtain color values of all pixels on the canvas corresponding to the target area;
the third processing subunit is used for judging whether the color value of each pixel is in the color value range in the preset RGB color gamut;
and the fourth processing subunit is used for modifying the color value of the pixel into the color value of the preset highlight color when the third processing subunit judges that the color value of the pixel is in the color value range in the preset RGB color gamut.
CN201811570396.8A 2018-12-21 2018-12-21 Method and device for presenting artistic effect on PDF page Active CN109684606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811570396.8A CN109684606B (en) 2018-12-21 2018-12-21 Method and device for presenting artistic effect on PDF page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811570396.8A CN109684606B (en) 2018-12-21 2018-12-21 Method and device for presenting artistic effect on PDF page

Publications (2)

Publication Number Publication Date
CN109684606A CN109684606A (en) 2019-04-26
CN109684606B true CN109684606B (en) 2023-09-01

Family

ID=66188722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811570396.8A Active CN109684606B (en) 2018-12-21 2018-12-21 Method and device for presenting artistic effect on PDF page

Country Status (1)

Country Link
CN (1) CN109684606B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567184A (en) * 2009-03-24 2009-10-28 广州酷狗计算机科技有限公司 Method for producing dynamic karaoke lyrics
CN102968407A (en) * 2011-08-31 2013-03-13 汉王科技股份有限公司 Construction method and construction device of double-layer portable document format (PDF) file
CN103914454A (en) * 2012-12-31 2014-07-09 上海证大喜马拉雅网络科技有限公司 Ajax anchor point based full-site seamless syndrome audio playing method and system
CN105609121A (en) * 2014-11-20 2016-05-25 深圳市腾讯计算机***有限公司 Method and device for controlling multimedia playing progress
CN105957544A (en) * 2016-04-21 2016-09-21 腾讯科技(深圳)有限公司 Lyric display method and device
CN107885430A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 A kind of audio frequency playing method, device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567184A (en) * 2009-03-24 2009-10-28 广州酷狗计算机科技有限公司 Method for producing dynamic karaoke lyrics
CN102968407A (en) * 2011-08-31 2013-03-13 汉王科技股份有限公司 Construction method and construction device of double-layer portable document format (PDF) file
CN103914454A (en) * 2012-12-31 2014-07-09 上海证大喜马拉雅网络科技有限公司 Ajax anchor point based full-site seamless syndrome audio playing method and system
CN105609121A (en) * 2014-11-20 2016-05-25 深圳市腾讯计算机***有限公司 Method and device for controlling multimedia playing progress
CN105957544A (en) * 2016-04-21 2016-09-21 腾讯科技(深圳)有限公司 Lyric display method and device
CN107885430A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 A kind of audio frequency playing method, device, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
数字出版时代PDF格式科技论文的重构与优化;马云彤;西安文理学院学报(自然科学版);第第20卷卷(第第5期期);第86-90页 *

Also Published As

Publication number Publication date
CN109684606A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
Muehlenhaus Web cartography
US9430954B1 (en) System for presenting visual items
CN103902662B (en) A kind of examination question generation method based on browser
JP2003114748A (en) Method and system for generating temporary digital ink on medium, computer-readable recording medium, and control program
WO2021031462A1 (en) Courseware operating method and apparatus, computer device, and storage medium
KR102414966B1 (en) Method for providing smart device based digitial education service capable of producing contents per unit region
CN112988002A (en) Method and device for processing picture book, electronic equipment and storage medium
Zheng Research on mobile learning based on augmented reality
CN105045587A (en) Picture display method and apparatus
Gerantabee Adobe flash professional cs6 digital classroom
CN109684606B (en) Method and device for presenting artistic effect on PDF page
Evans Infographics on the brain
CN105321389A (en) Cloud action learning teaching system and its operating method
KR20200110292A (en) Device
CN108319576A (en) A kind of method and device generating picture materials
Swerzenski Producing professionalization: analyzing the discourse of Adobe Premiere’s Learn More tools in shaping student practices
KR20160054062A (en) Apparatus for authoring interactive smart contents
Hurwicz et al. Using Macromedia Flash MX
WO2018098735A1 (en) Synchronous teaching-based message processing method and device
US20100257467A1 (en) Real-time instruction device
Green et al. Beginning Adobe Animate CC
Bencze The Socio-Political Poster in the Digital Age
CN117056290A (en) Information display method, information display device, electronic equipment, storage medium and program product
Simon et al. Gamification Under the Hood-Using Game Technology for Building an Interactive Math Learning System
Junling et al. Bilingual M-Learning Resources Development based on iPad-User Interaction Technology—A Case Study of the Bilingual e-textbook of the Kazak Alphabet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant