CN107562447A - Picture processing device, method and user terminal - Google Patents

Picture processing device, method and user terminal Download PDF

Info

Publication number
CN107562447A
CN107562447A CN201610512204.2A CN201610512204A CN107562447A CN 107562447 A CN107562447 A CN 107562447A CN 201610512204 A CN201610512204 A CN 201610512204A CN 107562447 A CN107562447 A CN 107562447A
Authority
CN
China
Prior art keywords
original image
color
page
module
graphic template
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.)
Granted
Application number
CN201610512204.2A
Other languages
Chinese (zh)
Other versions
CN107562447B (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201610512204.2A priority Critical patent/CN107562447B/en
Publication of CN107562447A publication Critical patent/CN107562447A/en
Application granted granted Critical
Publication of CN107562447B publication Critical patent/CN107562447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention proposes a kind of picture processing device, method and user terminal, and the image processing method includes:Original image is obtained, the original image includes shape data;The shape data of the original image is extracted, to generate the graphic template of the original image;The graphic template is coated to the color to match with current display state.The embodiment of the present invention to original image by carrying out template processing, and reach different skin/themes using code colouring and be multiplexed, reduce the size of application program installation kit, reduce the performance cost that disk is read, and reduce the workload of research staff and user-interface design personnel.

Description

Picture processing device, method and user terminal
Technical field
The present invention relates to Web page picture processing technology field, in particular to a kind of picture processing device, method and use Family terminal.
Background technology
The function that many application programs (Application, App) on the market are all proposed and change skin, switch theme, Wherein different skin/themes needs corresponding different picture, also will be according to different skins even fairly simple picture Skin/theme configures several parts of different pictures.Also, for the picture of some controls, also to distinguish control different conditions (such as Normal condition, highlighted state, selected state, illegal state etc.), multiple pictures are configured, are configured so that multiple pictures can influence to answer With the size of program installation kit, when skin/theme is switched, it can also increase the performance cost that picture is read from disk.
The content of the invention
It is an object of the invention to provide a kind of picture processing device, method and user terminal, and journey is applied to solve to take The space of sequence installation kit, disk reads the big technical problem of expense during the page loads.
To achieve these goals, the technical scheme that the embodiment of the present invention uses is as follows:
In a first aspect, the embodiments of the invention provide a kind of picture processing device, the picture processing device includes:Obtain Module, for obtaining original image, the original image includes shape data;Processing module, for extracting the original image Shape data, to generate the graphic template of the original image;Tint module, for by the graphic template coat with currently The color that dispaly state matches.
Second aspect, the embodiment of the present invention additionally provide a kind of image processing method, and the image processing method includes:Obtain Original image is taken, the original image includes shape data;The shape data of the original image is extracted, it is described original to generate The graphic template of picture;The graphic template is coated to the color to match with current display state.
The third aspect, the embodiment of the present invention additionally provide a kind of user terminal, and the user terminal includes:Memory;Deposit Reservoir;Processor;And picture processing device, the picture processing device are installed in the memory and including one or more The individual software function module by the computing device, the picture processing device include:Acquisition module, for obtaining original graph Piece, the original image include shape data;Processing module, for extracting the shape data of the original image, to generate State the graphic template of original image;Tint module, for the graphic template to be coated into the face to match with current display state Color.
A kind of picture processing device, method and user terminal provided in an embodiment of the present invention, the image processing method lead to Acquisition original image is crossed, the original image includes shape data;The shape data of the original image is extracted, with described in generation The graphic template of original image;The graphic template is coated to the color to match with current display state.The embodiment of the present invention By carrying out template processing to original image, ignore the color data of original image in rendering stage, and paint using code Skin/the theme for reaching different is multiplexed, so as to adapt to the display effect of different skin/themes.Application program is not needed Store the plurality of pictures under different dispaly states in installation kit, reduce the size of application program installation kit, reduce research staff and The workload of user-interface design personnel, the performance cost that disk is read is reduced, efficiency when optimizing application program operation.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the application environment signal of picture processing device provided in an embodiment of the present invention, method and user terminal Figure;
Fig. 2 shows the structured flowchart of user terminal provided in an embodiment of the present invention;
Fig. 3 shows the structured flowchart of picture processing device provided in an embodiment of the present invention;
Fig. 4 shows the flow chart of image processing method provided in an embodiment of the present invention;
Fig. 5, Fig. 6 show the picture schematic diagram under different dispaly states.
Embodiment
Picture processing device, method and the user terminal that the embodiment of the present invention is provided can be applied to as shown in Figure 1 answer With in environment.As shown in figure 1, user terminal 100, remote server 200 are located in wireless network or cable network 300, pass through The wireless network or cable network 300, user terminal 100 carry out data interaction with remote server 200.In the embodiment of the present invention In, at least one application program (Application, APP) is installed in user terminal 100, it is relative with remote server 200 Should, provide the user service.
In the embodiment of the present invention, user terminal 100 be preferably mobile terminal device, such as can include smart mobile phone, Tablet personal computer, E-book reader, pocket computer on knee, vehicle-mounted computer, wearable mobile terminal etc..
Fig. 2 shows a kind of structured flowchart for the user terminal 100 that can be applied in the embodiment of the present invention.As shown in Fig. 2 User terminal 100 includes picture processing device 400, memory 102, storage control 104, and one or more (is only shown in figure One) processor 106, Peripheral Interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components pass through One or more communication bus/signal wire 116 mutually communicates.The picture processing device 400 include it is at least one can be with software Or the form of firmware (firmware) is stored in the memory 102 or is solidificated in the operating system of the user terminal 100 Software function module in (operating system, OS).
Memory 102 can be used for storage software program and module, such as the picture processing device in the embodiment of the present invention and Programmed instruction/module corresponding to method, processor 106 are stored in software program and mould in memory 102 by operation Block, so as to perform various function application and data processing, such as image processing method provided in an embodiment of the present invention.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.In some implementations In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface simultaneously between user terminal 100 and user.In this implementation In example, the Touch Screen 114 supports single-point and multi-point touch operation, for example, the Touch Screen 114 can be to support single-point and more Capacitance type touch control screen or resistance type touch control screen of point touch control operation etc..Support that single-point and multi-point touch operation are Touch Screens 114 It can sense from the same caused touch control operation of one or more positions on the touch screen 11, and the multiple spot that this is sensed Touch control operation transfers to processor 106 to be handled.
It is appreciated that structure shown in Fig. 2 is only to illustrate, user terminal 100 may also include it is more more than shown in Fig. 2 or Less component, or there is the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software or its Combination is realized.
Picture processing device, method and the terminal that the embodiment of the present invention proposes, there is provided a kind of new image processing method. The picture processing device and method is applicable to Android operation system, iOS operating systems, Windows Phone operating systems Deng platform.Specifically, the picture processing device and method that the embodiment of the present invention proposes can be applied to the various of user terminal 100 should With program (such as UC browser clients, Sina weibo client), with to application program in dispaly state (such as mould in the daytime Formula, Night) switching when carry out picture processing, so as to realize original image in application program (page, control etc.) Switching.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be configured to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
First embodiment
Referring to Fig. 3, show the structured flowchart of picture processing device 400 provided in an embodiment of the present invention.It is of the invention real Applying the picture processing device 400 of example offer includes:Acquisition module 410, processing module 420, calling module 430 and module of tinting 440。
Acquisition module 410 is used to obtain original image.
In embodiments of the present invention, application program can configure multiple original images, and these original images can be with answering Corresponding to the different dispaly states (such as day mode, Night etc.) of program the page (such as theme/skin) picture or The control (such as homepage control, returning to control, addition control) of application program under different dispaly states (such as selected state, Highlighted state and disabled state) picture.Original image can include color data and shape data, wherein, face For chromatic number according to the color for being used to characterize the original image, shape data is used for the shape for characterizing the original image.Above-mentioned original graph Piece can be stored in the installation kit of application program, and being downloaded to user terminal 100 from remote server 200 is shown, also may be used Obtained with being downloaded from remote server 200 temporarily.It is locally stored in addition, above-mentioned original image can also be user terminal 100 Picture, the present invention is not intended to limit the source of the original image.
Processing module 420 is used for the shape data for extracting the original image, to generate the picture mould of the original image Plate.
In embodiments of the present invention, the original image under different dispaly states has different color data, but all has There is identical shape data.For example, a certain original image is Night with dispaly state in the case where dispaly state is day mode There is down different color data, but be of similar shape data;A certain original image in selected state, be highlighted shape All there is different color data under state and disabled state, but be of similar shape data.Original image can be to appoint Picture under one dispaly state.
Processing module 420 can isolate the original image when first time obtaining original image from original image Color data and shape data, and delete the color data of the original image, retain the shape data of the original image. Therefore, the original image after being handled by processing module 420 only includes shape, without color.Implement in the present invention In example, color data can will be deleted, the original image of reservation shape data is referred to as graphic template (as deleted number of colours The page or control after).The graphic template can be stored in the memory module of user terminal 100 for subsequently being adjusted With the memory module can be the memory 102 of user terminal 100.
Calling module 430 is used for what is responded the trigger signal calling graphic template and match with current display state Color code.
In embodiments of the present invention, before the page of application program loads a picture, previously according to the figure after loading The current display state matching color code of piece is simultaneously stored in memory module, and color code can be the computer for characterizing color Program code.
In embodiments of the present invention, trigger signal can produce or by light sensor according to the clicking operation of user Device exports according to ambient light.
For example, user can produce trigger signal by clicking on control, the current display state can show for control Show state (such as selected state, highlighted state and disabled state), the graphic template includes deleting number of colours Control after.Calling module 430 can in response to user to the clicking operation of control caused trigger signal, delete described in calling The color code to match except the control after color data and with the control dispaly state.For example user clicks on and applies journey The control of sequence so that the control is shown as into selected state, calling module 430 can in response to user to the clicking operation of control and Caused trigger signal, call the control after deleting color data and the color generation to match with the selected state of the control Code.
For another example user can produce trigger signal with clicking operation button, the current display state can be page Face dispaly state (such as day mode, Night), the graphic template can be to delete the page after color data.Call Module 430 can in response to user to the clicking operation of operation button caused trigger signal, call the deletion color data The rear page and the color code to match with the page dispaly state.For example user's clicking operation button is with by the page Dispaly state switches to Night, and calling module 430 can touch in response to user is caused to the clicking operation of operation button Signal, call the page after deleting color data and the color code to match with Night.Operation button can be Virtual push button and entity button, wherein virtual push button also can be changed color as above-mentioned control.
For another example light sensor can export trigger signal according to ambient light, the current display state includes page Face dispaly state (such as day mode, Night), the graphic template include deleting the page after color data.Call mould Block 430 can respond light sensor and the page after the deletion color data is called according to the trigger signal of ambient light output And the color code to match with the page dispaly state.Such as when the brightness of ambient light is less than a threshold value, it is described Page dispaly state is Night, and light sensor exports the first trigger signal, and calling module 430 can respond this and first touch Signal and call the page deleted after color data and the color code that matches with Night.When ambient light When brightness is more than the threshold value, the page dispaly state is day mode, and light sensor exports the second trigger signal, calls mould Block 430 can respond second trigger signal and call the page deleted after color data and match with day mode Color code.
Calling module 430 calls graphic template and the color code to match with current display state, for follow-up Tint.
Module of tinting 440 is used to coat the graphic template using the color code to match with current display state Color.
In embodiments of the present invention, module of tinting 440 can utilize the color code that calling module 430 calls by picture mould Plate is tinted, and therefore, by tinting, the color of any original image can be changed to and current display state phase by module 440 The color of matching.
For example, the color of original image for it is red, be shaped as square, being preset as should under the day mode of application program Original image is shown in green (shape invariance), then, acquisition module 410 obtains the original image first, and processing module 420 will The original image is handled, and deletes color data (red), retains shape data (square), and the graphic template of generation is only to wrap It is stored in containing round-shaped shape data, and by graphic template in the memory module of user terminal 100.When user's clicking operation Button and when opening the application program, default application is day mode when opening, then calling module 430 is from user terminal The color code of the sign green matched with day mode is called in 100 memory module, and calls the picture mould of the picture Plate, module of tinting 440 recycle the color code to tint the graphic template of the picture, the graphic template are coated The green to match with day mode.In this way, the original image can be shown in green under the day mode of application program.
For another example when the brightness that light sensor detects ambient light is less than a threshold value, current display state is night Between pattern, be preset as under Night, by picture be shown as blueness.Light sensor exports the first trigger signal, calls mould Block 430 responds the first trigger signal and the color code for characterizing blueness is called from the memory module of user terminal 100, and calls The graphic template of the picture through handling well, module of tinting 440 recycle graphic template of the color code to the picture Tinted, the graphic template is coated to the blueness to match with Night.In this way, picture under Night It is shown as blueness.
For another example referring to Fig. 5 and Fig. 6, control 500 is shown as black under normal display state in the application program page (as shown in Figure 5), preset the control 500 and appeared dimmed when being clicked (as shown in Figure 6).When user is in the page of application program When the control is clicked in face, calling module 430 calls the color code for characterizing grey from the memory module of user terminal 100, And call that has handled well to recycle the color code to the control with 500 corresponding graphic template of control, module of tinting 440 The graphic template of part 500 is tinted, and the control 500 is become into grey.In this way, when control 500 is clicked, the control 500 can appear dimmed.
It should be noted that the above embodiments using color as pure color, be shaped as the original image of regular figure, and by The color coated illustrates for the situation of pure color, and in other embodiments of the invention, original image can not be by above-mentioned limit Fixed, for example, the color of original image can also be colored, shape can also be irregular figure, the color being coated with also may be used Think colour, only need to be according to the rule invocation matched in advance color code corresponding with the color being coated with.
Second embodiment
Referring to Fig. 4, show the flow chart of image processing method provided in an embodiment of the present invention.The embodiment of the present invention carries The image processing method of confession comprises the following steps:
Step S100, obtain original image.
In embodiments of the present invention, step S100 can be performed by acquisition module 410.It is former that application program can configure multiple Beginning picture, these original images can be that dispaly states (such as day mode, Night etc.) different from application program are right The page (such as theme/skin) picture or the control (such as homepage control, returning to control, addition control) of application program answered exist The picture of (such as selected state, highlighted state and disabled state) under different dispaly states.Original image can be with Including color data and shape data, wherein, color data is used for the color for characterizing the original image, and shape data is used to characterize The shape of the original image.Above-mentioned original image can be stored in the installation kit of application program, under remote server 200 It is loaded onto user terminal 100 to be shown, can also downloads and obtain from remote server 200 temporarily.In addition, above-mentioned original image Can also be the picture that user terminal 100 is locally stored, the present invention is not intended to limit the source of the original image.
Step S200, the shape data of the original image is extracted, to generate the graphic template of the original image.
In embodiments of the present invention, step S200 can be performed by processing module 420.Processing module 420 can be first During secondary acquisition original image, the color data and shape data of the original image are isolated from original image, and delete institute State the color data of original image, retain the shape data of the original image.Therefore, after being handled by processing module 420 Original image only include shape, without color.In embodiments of the present invention, it can will delete color data, protect Stay the original image of shape data to be referred to as graphic template (such as the page or control after deletion color data).The graphic template It can be stored in the memory module of user terminal 100 for follow-up called, the memory module can be user terminal 100 memory 102.
Step S300, response trigger signal call the graphic template and the face to match with current display state Color code.
In embodiments of the present invention, step S300 can be performed by calling module 430.In embodiments of the present invention, answering Before loading a picture with the page of program, previously according to the picture after loading current display state matching color code simultaneously It is stored in memory module, color code can be the computer program code for characterizing color.
In embodiments of the present invention, trigger signal can produce or by light sensor according to the clicking operation of user Device exports according to ambient light.
For example, user can produce trigger signal by clicking on control, the current display state can show for control Show state (such as selected state, highlighted state and disabled state), the graphic template includes deleting number of colours Control after.Calling module 430 can in response to user to the clicking operation of control caused trigger signal, delete described in calling The color code to match except the control after color data and with the control dispaly state.For example user clicks on and applies journey The control of sequence so that the control is shown as into selected state, calling module 430 can in response to user to the clicking operation of control and Caused trigger signal, call the control after deleting color data and the color generation to match with the selected state of the control Code.
For another example user can produce trigger signal with clicking operation button, the current display state can be page Face dispaly state (such as day mode, Night), the graphic template can be to delete the page after color data.Call Module 430 can in response to user to the clicking operation of operation button caused trigger signal, call the deletion color data The rear page and the color code to match with the page dispaly state.For example user's clicking operation button is with by the page Dispaly state switches to Night, and calling module 430 can touch in response to user is caused to the clicking operation of operation button Signal, call the page after deleting color data and the color code to match with Night.Operation button can be Virtual push button and entity button, wherein virtual push button also can be changed color as above-mentioned control.
For another example light sensor can export trigger signal according to ambient light, the current display state includes page Face dispaly state (such as day mode, Night), the graphic template include deleting the page after color data.Call mould Block 430 can respond light sensor and the page after the deletion color data is called according to the trigger signal of ambient light output And the color code to match with the page dispaly state.Such as when the brightness of ambient light is less than a threshold value, it is described Page dispaly state is Night, and light sensor exports the first trigger signal, and calling module 430 can respond this and first touch Signal and call the page deleted after color data and the color code that matches with Night.When ambient light When brightness is more than the threshold value, the page dispaly state is day mode, and light sensor exports the second trigger signal, calls mould Block 430 can respond second trigger signal and call the page deleted after color data and match with day mode Color code.
Calling module 430 calls graphic template and the color code to match with current display state, for follow-up Tint.
Step S400, the graphic template is coated to the face to match with current display state using the color code Color.
In embodiments of the present invention, step S400 can be performed by module 440 of tinting.Module of tinting 440 can be utilized and adjusted The color code called with module 430 is tinted graphic template, and therefore, by tinting, module 440 can will be any original The color of picture is changed to the color to match with current display state.
A kind of picture processing device, method and user terminal provided in an embodiment of the present invention, by obtaining original image, institute Stating original image includes color data and shape data;The shape data of the original image is extracted, to generate the original graph The graphic template of piece;The graphic template is coated to the color to match with current display state.It is right that the embodiment of the present invention passes through Original image carries out template processing, ignores the color data of original image in rendering stage, and reach not using code colouring Same skin/theme is multiplexed, so as to adapt to the display effect of different skin/themes.Application program installation kit is not needed The middle plurality of pictures stored under different dispaly states, reduce the size of application program installation kit, reduce research staff and user circle The workload of face designer, the performance cost that disk is read is reduced, efficiency when optimizing application program operation.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.

Claims (16)

1. a kind of picture processing device, it is characterised in that the picture processing device includes:
Acquisition module, for obtaining original image, the original image includes shape data;
Processing module, for extracting the shape data of the original image, to generate the graphic template of the original image;
Tint module, for the graphic template to be coated into the color to match with current display state.
2. picture processing device as claimed in claim 1, it is characterised in that the original image also includes color data, institute State processing module and be additionally operable to delete the color data of the original image to retain the shape data of the original image.
3. picture processing device as claimed in claim 2, it is characterised in that the picture processing device also includes:Call mould Block, the calling module are used for the color for responding the trigger signal calling graphic template and matching with current display state Code.
4. picture processing device as claimed in claim 3, it is characterised in that clicking operation of the trigger signal according to user And produce, the current display state includes page dispaly state, and the graphic template includes deleting the page after color data, The calling module is in response to user, to the clicking operation of operation button, caused trigger signal to call the deletion color The page after data and the color code to match with the page dispaly state.
5. picture processing device as claimed in claim 3, it is characterised in that the trigger signal is by light sensor according to ring Environmental light exports, and the current display state includes page dispaly state, and the graphic template is included after deleting color data The page, the calling module are used to respond the trigger signal calling deletion color of the light sensor according to ambient light output The page after data and the color code to match with the page dispaly state.
6. picture processing device as claimed in claim 3, it is characterised in that clicking operation of the trigger signal according to user And produce, the current display state includes control dispaly state, and the graphic template includes deleting the control after color data, The calling module is in response to user, to the clicking operation of control, caused trigger signal to call the deletion color data Rear control and the color code to match with the control dispaly state.
7. picture processing device as claimed in claim 3, it is characterised in that the module of tinting is additionally operable to utilize the color Code coats the graphic template color to match with current display state.
8. a kind of image processing method, it is characterised in that the image processing method includes:
Original image is obtained, the original image includes shape data;
The shape data of the original image is extracted, to generate the graphic template of the original image;
The graphic template is coated to the color to match with current display state.
9. image processing method as claimed in claim 8, it is characterised in that the image processing method is also included described in deletion The color data of original image is to retain the shape data of the original image.
10. image processing method as claimed in claim 9, it is characterised in that the image processing method also includes:Response is touched Signal the color code for calling the graphic template and matching with current display state.
11. image processing method as claimed in claim 10, it is characterised in that the trigger signal is grasped according to the click of user Make and produce, the current display state includes page dispaly state, and the graphic template includes deleting the page after color data Face, the image processing method also include:In response to user, to the clicking operation of operation button, caused trigger signal calls institute State the page after deleting color data and the color code to match with the page dispaly state.
12. image processing method as claimed in claim 10, it is characterised in that the trigger signal is by light sensor foundation Ambient light exports, and the current display state includes page dispaly state, and the graphic template is included after deleting color data The page, the image processing method also includes:The trigger signal that light sensor is responded according to ambient light output calls institute State the page after deleting color data and the color code to match with the page dispaly state.
13. image processing method as claimed in claim 10, it is characterised in that the trigger signal is grasped according to the click of user Make and produce, the current display state includes control dispaly state, and the graphic template includes deleting the control after color data Part, the image processing method also include:The clicking operation of control is deleted described in caused trigger signal calling in response to user The color code to match except the control after color data and with the control dispaly state.
14. image processing method as claimed in claim 10, it is characterised in that the image processing method also includes:Utilize The color code coats the graphic template color to match with current display state.
15. a kind of user terminal, it is characterised in that the user terminal includes:
Memory;
Processor;And
Picture processing device, the picture processing device are installed in the memory and including one or more by the processing The software function module that device performs, the picture processing device include:
Acquisition module, for obtaining original image, the original image includes shape data;
Processing module, for extracting the shape data of the original image, to generate the graphic template of the original image;
Tint module, for the graphic template to be coated into the color to match with current display state.
16. user terminal as claimed in claim 15, it is characterised in that the original image also includes color data, described Processing module is additionally operable to delete the color data of the original image to retain the shape data of the original image.
CN201610512204.2A 2016-06-30 2016-06-30 Picture processing device and method and user terminal Active CN107562447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610512204.2A CN107562447B (en) 2016-06-30 2016-06-30 Picture processing device and method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610512204.2A CN107562447B (en) 2016-06-30 2016-06-30 Picture processing device and method and user terminal

Publications (2)

Publication Number Publication Date
CN107562447A true CN107562447A (en) 2018-01-09
CN107562447B CN107562447B (en) 2021-07-13

Family

ID=60969753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610512204.2A Active CN107562447B (en) 2016-06-30 2016-06-30 Picture processing device and method and user terminal

Country Status (1)

Country Link
CN (1) CN107562447B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381916A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Button masking method, button masking device, button masking medium and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436374A (en) * 2011-09-29 2012-05-02 奇智软件(北京)有限公司 Method capable of customizing skin of user interface
CN103180873A (en) * 2010-10-29 2013-06-26 欧姆龙株式会社 Image-processing device, image-processing method, and control program
CN104462312A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Web page displaying method and browser client side
CN104484664A (en) * 2014-12-31 2015-04-01 小米科技有限责任公司 Human face image processing method and device
CN105426079A (en) * 2015-11-25 2016-03-23 小米科技有限责任公司 Picture brightness adjustment method and apparatus
CN105468158A (en) * 2015-12-22 2016-04-06 努比亚技术有限公司 Color adjustment method and mobile terminal
CN105701165A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Browser mode switching method and switching device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103180873A (en) * 2010-10-29 2013-06-26 欧姆龙株式会社 Image-processing device, image-processing method, and control program
CN102436374A (en) * 2011-09-29 2012-05-02 奇智软件(北京)有限公司 Method capable of customizing skin of user interface
CN104462312A (en) * 2014-11-28 2015-03-25 北京奇虎科技有限公司 Web page displaying method and browser client side
CN104484664A (en) * 2014-12-31 2015-04-01 小米科技有限责任公司 Human face image processing method and device
CN105426079A (en) * 2015-11-25 2016-03-23 小米科技有限责任公司 Picture brightness adjustment method and apparatus
CN105468158A (en) * 2015-12-22 2016-04-06 努比亚技术有限公司 Color adjustment method and mobile terminal
CN105701165A (en) * 2015-12-30 2016-06-22 广东欧珀移动通信有限公司 Browser mode switching method and switching device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381916A (en) * 2018-12-29 2020-07-07 广州市百果园信息技术有限公司 Button masking method, button masking device, button masking medium and computer equipment

Also Published As

Publication number Publication date
CN107562447B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN107748686A (en) Starting guide method, apparatus, storage medium and the intelligent terminal of application program
CN109976821B (en) Application program loading method and device, terminal and storage medium
CN108475184A (en) Electronic equipment and its apply data display method
CN103064535B (en) The method of pointer, touch-control input system and change touch control operation characteristic
CN108924440B (en) Sticker display method, device, terminal and computer-readable storage medium
CN106502689A (en) A kind of display methods of status bar and device
CN104375748A (en) Rapid terminal application program attribute setting method and corresponding terminal
CN107330858A (en) Picture processing method and device, electronic equipment and storage medium
CN103927142A (en) Information processing method, protecting jacket and electronic equipment
CN107765853A (en) Using method for closing, device, storage medium and electronic equipment
CN108459781A (en) Input frame shows control method, device and user terminal
CN106843660A (en) A kind of data processing method and its equipment
CN107479892A (en) Play frame view creation method, device and electronic equipment
CN107463307A (en) Document display method and device
CN104657668A (en) Terminal
CN106251191A (en) The display control method of a kind of terminal screen and terminal
CN108304115A (en) Terminal entry selection method, device and storage medium and terminal
CN104793937B (en) A kind of startup control method and device
CN106874012A (en) Theme background method to set up, device and electronic equipment
CN107562447A (en) Picture processing device, method and user terminal
CN106293658A (en) A kind of interface assembly generates method and equipment thereof
CN104657991A (en) Picture processing method
CN107704598A (en) Waterfall-type webpage loading method, device, terminal and computer-readable recording medium
CN106919672A (en) Information screen method, apparatus and system
US11287949B2 (en) Method and device for displaying icon

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
TA01 Transfer of patent application right

Effective date of registration: 20200528

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant