A web-based nine-cut graph drawing method
A nine-cut picture and webpage technology, applied in the direction of program control devices, can solve single problems, achieve the effect of saving picture resources and adapting to the screen size
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] In the actual application process, not every nine-cut image needs to be redrawn and scaled. Some applications only need to judge whether it is a nine-cut image, and some applications need to be scaled based on the judgment. Therefore, the present invention will be further described for different situations in practical applications in combination with the flow chart below.
[0031] The implementation method of judging whether it is a nine-cut graph ( figure 1 ):
[0032] 1. Draw the original picture on the web page on the Canvas canvas that supports Html5 through javascript language;
[0033] 2. Obtain the pixel values of the first row, first column, last row and last column of the picture on the Canvas canvas. The representation method of the pixel value is RGBA, R means Red, G means Green, B means Blue, A Indicates transparent Alpha, and the value of RBGA is the value of each pixel of the picture;
[0034] 3. According to whether the pixel values of the first r...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com