CN105892839B - A kind of screenshot processing method and device based on instant messaging tools - Google Patents
A kind of screenshot processing method and device based on instant messaging tools Download PDFInfo
- Publication number
- CN105892839B CN105892839B CN201510038777.1A CN201510038777A CN105892839B CN 105892839 B CN105892839 B CN 105892839B CN 201510038777 A CN201510038777 A CN 201510038777A CN 105892839 B CN105892839 B CN 105892839B
- Authority
- CN
- China
- Prior art keywords
- mosaic
- screenshot
- user
- grid
- bitmap
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The application provides a kind of screenshot processing method and device based on instant messaging tools, this method comprises: carrying out shot operation using screenshot tool in instant messaging tools;Screenshot editor is carried out for the specific region of the screenshot bitmap of user's selection, is drawn using ceramic mosaic graphic pattern or graphic style covers the specific region;And the switching of ceramic mosaic graphic pattern or graphic style in the region is carried out according to user's selection.By applying this method or device, it is ensured that the user privacy of screenshot in instant messaging tools use process improves the aesthetic measure of screenshot, and the experience sense that user uses can be improved in further mosaic handoff functionality, enhances interest.
Description
Technical field
The present invention relates to field of computer technology, and in particular, to a kind of screenshot processing side based on instant messaging tools
Method and device, more particularly, instant messaging tools operation end carry out mosaic graphics edition and pattern switching method and
Device.
Background technique
With being widely used for instant messaging tools, the grabgraf function being generally configured with is also increasingly by the concern of user
With like, especially during instant messaging, truncated picture can be sent in time, to user bring greatly just
Benefit.But the partial information that usually accepting object can be not intended to see containing user in the image of transmission, and these information are not
Positioned at edge, not can be carried out cutting, and use image Fuzzy Processing, similar to mosaic image be treated as developer from however
Right selection.
In computer generated image mosaic technical field, the element for being combined into mosaic is dazzling, is spectators
The visual information of more great meanings is presented.Image-mosaics generation technique has widened the art application and business application of mosaic
Range.With the rapid development of digital imaging technology, image processing techniques is widely used.In computer generated image horse
Gram technical field is matched, especially a large amount of theme picture concerneds are generated online in mosaic joining method field, the figure often obtained
Information content as in is insufficient for big demand, and dull and generation technique is cumbersome, and producing efficiency is low, is not able to satisfy instant messaging work
The needs of tool.
It how to be always in time an attracting problem plus mosaic figure layer to screenshot, it is so-called to add Marseille to picture
Gram, refer to original image that through algorithm partition, each region is known as a scale, to each scale with one at several small regions
It is new to be substituted with scale similar in original image, to obtain a kind of process of flaking artistic effect.As people are to this
The research of problem, a variety of different methods for adding mosaic to mosaic picture are suggested and realize.
The characteristics of traditional mosaic picture is that each small scale is the color lump with same color.Nowadays, with
The development of digital media technology, the image that people can touch is more and more, the information content for including in a large amount of image
It is huge.As a result, it is thought that the small picture with certain content can be used replace having the color lump of same color as
The basic unit for forming mosaic picture introduces new element while retaining the feature of traditional mosaic picture, to give
Audience brings bigger visual impact.
In existing image procossing, by the fritter for being divided into several same sizes of original image grid equalization, in this way
Division the problem of generating mosaic picture be converted into how matching each fritter, selected from scale library with it is former
The problem of most like scale of figure scale, that is, single scale matching.But this processing needs to carry out individual horse to each scale
Sai Ke is handled and is integrated in the situation of original bitmap, and the time of processing and memory consumption are very big, is not suitable for instant messaging work
The use of tool.Still an alternative is that do not classify to original image scale, identical matching process is used to each scale,
The color characteristic of picture is mainly investigated during matching, this processing bring user experience is mutually on duty again, and picture is not beautiful enough
It sees.
In the application for being similar to instant messaging tools, there is mosaic function at present, but the function only passes through
Single color or fuzziness handles original screenshot, original screenshot cannot be carried out to beautyization merge freely to select with user
It selects.
In third-party application, Xiamen Mei Tuwang Science and Technology Ltd. provides a easy picture editor's tool, should
In tool, user, which needs to open, first is stored in local picture file, then selects mosaic tool, is applied on the image
It smears, the region that user smeared adds mosaic effect, and changeable mosaic pattern by algorithm process.But for
Third party software is embedded in for locally applied in use, the processing of especially image special-purpose software is called and handles, real
It will be become very poor with property, and user is needed to have such application environment.Moreover, all there is no mosaic sample in current application
Formula handoff functionality although playing the function of protection privacy, is a lack of autonomous without entertainment and user for a user
The experience sense of operation.
Summary of the invention
For the drawbacks described above for overcoming the prior art, the present invention proposes a kind of screenshot processing method based on instant messaging tools
And device.
According to an aspect of the present invention, it proposes a kind of screenshot processing methods based on instant messaging tools, comprising:
Shot operation is carried out using screenshot tool in instant messaging tools;The specific region of the screenshot bitmap of user's selection is cut
Figure editor, is drawn using ceramic mosaic graphic pattern or graphic style covers the specific region;And it is selected to carry out Marseille according to user
The switching of gram pattern or graphic style.
According to another aspect of the invention, it is proposed that a kind of screenshot processing unit based on instant messaging tools, comprising: figure layer
Overlay module and figure layer switching module;Wherein, the specific region that figure layer overlay module is used to select user is using mosaic figure
Perhaps graphic style covers original screenshot figure layer switching module for selecting progress ceramic mosaic graphic pattern or figure according to user to case
The switching of pattern.
Pass through the technical solution of application the application, it is ensured that the screenshot especially in the instant messaging tools use process of the end PC
User privacy, and the aesthetic measure of screenshot can be improved, user's use can be improved in further mosaic handoff functionality
Experience sense, enhance interest.
Detailed description of the invention
Fig. 1 is a kind of hardware environment of screenshot processing method or device based on instant messaging tools according to the present invention
Figure;
Fig. 2 is a kind of overview flow chart of the screenshot processing method based on instant messaging tools according to the present invention;
Fig. 3 is a kind of stream of the tool selection step of screenshot processing method based on instant messaging tools according to the present invention
Cheng Tu;
Fig. 4 is a kind of mosaic graphic plotting step of screenshot processing method based on instant messaging tools according to the present invention
Rapid flow chart;
Fig. 5 is a kind of general function block diagram of the screenshot processing unit based on instant messaging tools according to the present invention.
In order to clearly realize the structure of the embodiment of the present invention, certain size, structure and device are labelled in figure,
But signal needs are only for, are not intended to limit the invention in the specific dimensions, structure, device and environment, according to specific
Need, these devices and environment can be adjusted or be modified by those skilled in the art, the adjustment that is carried out or
Person's modification still includes in the range of appended claims.
Specific embodiment
In the following with reference to the drawings and specific embodiments to a kind of screenshot processing based on instant messaging tools provided by the invention
Method and apparatus are described in detail.
In the following description, multiple and different aspects of the invention will be described, however, for common skill in the art
For art personnel, the present invention can be implemented just with some or all structures or process of the invention.In order to explain
Definition for, specific number, configuration and sequence are elaborated, however, it will be apparent that these specific details the case where
Under the present invention also can be implemented.It in other cases, will no longer for some well-known features in order not to obscure the present invention
It is described in detail.
It is appreciated that the technical solution of the application can be applied to the end PC, while it also can be applied to mobile terminal, the movement
End includes but is not limited to that portable mobile communication tool, Portable movable computer, portable tablet device and individual digital help
The equipment such as reason.
Although scheme described herein is illustrated from instant messaging tools is applied to, it will be appreciated that this technology side
Case can be applied in the different application such as other meanss of communication, text-processing, which has the subsequent mosaic processing of screenshot
With the demand of switching.
It is appreciated that as described in the background art, it is certain to eliminate for using mosaic function to carry out graphics edition
Graphic feature, this has different disclosures in the prior art.Also, the current mosaic function has carried out online picture editor
Through obtaining good application in some image processing softwares.But in the application of amateur graphics process, after screenshot
Continuous processing requires that third-party application is called to handle, this brings greatly not convenient and incompatible in the application.Especially, exist
In the technical field of instant messaging tools, the timeliness of communication and the timeliness of file transmission are emphasized, then using third-party application
Greatly reduce the good experience of user.In the application of instant messaging tools, which rests on simply at present
Smearing function, original figure is carried out to the covering of fundamental region using some mosaics ashing grid, there is no will be fabulous
User experience accounts for, although certain features of image are hidden, can not keep the beauty of original screenshot figure.
In addition, instant messaging tools rather than image processing tool, it will be understood that carry out Marseille using different graphic styles
The picture processing of gram function, can either switch at any time in processes or replace graphic style, it will bring to user fabulous
Sensory experience, and make different figures processed can preferably and used mosaic figure in mosaic processing
Pattern is combined.
In the first embodiment of the application, a kind of screenshot processing method based on instant messaging tools is provided, specifically,
A kind of method handled with mosaic function or figure brush come the screenshot online based on instant messaging tools, this method packet are provided
It includes and the specific region of user's selection is covered into original screenshot using ceramic mosaic graphic pattern or graphic style, and selected according to user
Carry out the switching of ceramic mosaic graphic pattern or graphic style.
Wherein, mosaic is a kind of a kind of widely used image (video) processing means, this means is by picture or shadow
The effect for being deteriorated as the color range details of specific region and color lump being caused to upset.Because this pattern is seemed by one by one
Sub-box composition, just vivid this pattern is referred to as mosaic.Illustrated with RGB, R (red, red), G (green, green) and
Three kinds of every kind of color intensity values having within the scope of 0-255 of B (blue, blue), digital more high chroma are brighter.For example, shiny red
Using R value 255, G value 0 and B value 0, colored light can be watered down and be brightened by non-colored light.If blue light and white light meet, the result is that producing
Raw more bright light blue coloured light, so the difference of the value of R, G, B carrys out blend color.
For example, have the small color lump of many different colours in a picture, the pixel of these color lumps is very small and is laid out
Close and numerous, allowing to carry out mosaic and drawing or add mosaic to draw layer is exactly to add a figure layer, is selected according to user
It determines process range, is filled within the scope of figure layer process using mosaic grid.Wherein, mosaic grid is usually minimum lattice
The range of sub- integer, so generally all being gone to define single mosaic grid with rectangle or square, with single mosaic grid
Layer is drawn to fill the mosaic of user's selection.
As described above, the present processes and system can be applied to the end PC or mobile terminal device, specifically, right
In the present processes, can by mouse, touchpad, touch ball, the control key on touch screen or function button and carry out
Operation.By calling local application, starts the mosaic screenshot function in instant messaging tools, screenshot unit is called to realize
The editing and processing that screenshot edit cell carries out pattern generally can be used for the screenshot in mosaic screenshot.Wherein, such as Fig. 1 institute
Show, physically includes server end perhaps cloud multiple client and server end or cloud for instant messaging tools
End is connected, and server end and cloud are used to carry out information exchange with each client, and forward the information before client.
In the information forwarded before client, there are pictorial information or further shot image informations, and the picture is in visitor
Family end can carry out editing and processing using screenshot edit cell.When user is when carrying out interacting instant information, using screenshot
Unit carries out screenshot processing for pattern shown by screen, gets the picture file of frame choosing.User calls screenshot editor single
Member handles the screenshot.Wherein, user selects the part handled in selection screenshot bitmap, to the region of the selection
Part carries out graphics process.
Further, it as shown in Fig. 2, the method for the present embodiment includes: step 1, is selected according to user, determines and carry out mosaic
It draws or graphic style selects;Step 2, the graphic style bitmap tiling that the mosaic schema of drafting or user is selected or
Person's switching, is added in a covered manner in screenshot bitmap.
Wherein, user selectes screenshot button in instant messaging tools, after carrying out shot operation, shows screenshot toolbar,
User can according to need to select to carry out mosaic plot or pattern selection.Generally, screenshot bitmap can be located at bottom
Layer, the screenshot editor carried out form a new figure layer on screenshot bitmap with coverage mode, which, which is used to cover, cuts
The information sent is not intended in figure.
In the processing of new figure layer, the mode that can be selected is set as mosaic plot and graphic style in this application
Selection, mosaic plot are to cover selected part by mosaic and can choose different mosaic types;Figure sample
Formula selection is example graph pattern used by arranging selected part.The mosaic plot and graphic style selection can be used
Toolbar or function button are operated.Note that screenshot editor can be automatic calling edit cell after screenshot, or
Person is edit cell to be recalled after calling in screenshot picture in chat window automatically, that is, screenshot editor can be in screenshot
It carries out, progress can also be separated.
For operating in step 2, either screenshot edit cell carries out mosaic and draws still graphic style selection, finally
Editor's schema of formation is covered on screenshot bitmap with new figure layer.And mosaic is drawn, it is on screenshot bitmap
Draw a new figure layer;Graphic style is selected, is the figure layer or replacement one to select a new graphic style
The figure layer of graphic style is covered later on original screenshot bitmap.
Further, as shown in figure 3, step 1 includes: step 11, the top layer tool of user's selection is determined;Step 12, if
User's selection is mosaic drawing tool, then adds mosaic and draw layer;If user's selection is graphic style, call
Figure Brush Tool.
Wherein, after the completion of screenshot, automatic spring or select tools column, the tool on the default Tool column is all in unselected
State is selected, user carries out tool selection at this time, current top layer tool is determined according to the user's choice, if selection is Marseille
Gram drawing tool or graphic style tool, then handled by the way of current.If selection is not above-mentioned two work
Tool, then exit the process of this method.
Wherein, step 2 further includes mosaic bitmap plot step, as shown in figure 4, the mosaic bitmap plot step packet
Include: step 21, the region of record user's selection saves drawing area;Step 22, according to screen capture module provide background bitmap and
The single mosaic grid size of user configuration determines the position of each mosaic grid of drawing area;Step 23, according to every
The position of a grid and the drawing area of preservation determine the area size for drawing mosaic grid;Step 24, by each grid into
Row is drawn, and the bitmap of the mosaic schema of selection and the grid area of drafting progress alpha is mixed to get mosaic plot.
Wherein, it is replaced for carrying out the selection that mosaic is drawn with graphic style, need clear and records user's selection
It is ashed region or overlay area.When being handled by mosaic drafting, the grid provided in user's select tools column is needed
The information such as size, pattern, determine mosaic draw in pattern attribute.
Wherein, step 21 includes: step 211, records user's mouse down starting point of mouse-over and end between bouncing
Point is saved into a mosaic and draws in element;It step 212, the use of the color of the interface setting paintbrush of offer is ARGB
(0xFF, 0xFF, 0xFF, 0xFF) then draws straight line by vertex of the every two adjacent point of preservation, and the region of the drafting
It is saved in memory in a manner of bitmap.
Wherein, step 22 further comprises: background bitmap is taken out by the interface that screen capture module provides, then with background position
On the basis of the upper left corner of figure, each row and column mosaic lattice on background bitmap are determined according to the mosaic grid size of user configuration
The position of son.Certainly, this selection of reference frame can require to change according to different beautifications, select different location as just
Beginning position, to strengthen the aesthetic measure of initial position.
Wherein, the step of being drawn each grid in step 24 includes: to set all pixels in each grid
It is set to a color, this color value is the average value that the pixel color within the scope of entire grid is corresponded on background bitmap.
Wherein it is preferred to calculate the value of each pixel of the first row first, then full line is replicated, and the duplication of such bulk memory can
To improve speed.It is of course also possible to select the value of each pixel of Nth row, the pixel of two rows or multirow is either selected
Value, then carry out integral multiple duplication, to improve speed.Similarly, the processing mode can be applied to come in a manner of column into
Row.
Wherein, this method further includes tool revocation step, which includes: to draw to remove top in layer in mosaic
Draw element;Further, after removal, if current mosaic figure layer, which does not include, draws element, current mosaic figure layer is removed.
Mosaic processing or graphic style are handled, since the artificial degree of selection is very high, the case where user misoperation can also be deposited
So providing revocation mode or re-calling the mode of processing after cancelling.For revocation, it can be set by keyboard button
It sets and provides revocation button in perhaps toolbar for the new figure layer cancellation or removal on screenshot bitmap.
In the second embodiment of the application, a kind of device of screenshot processing based on instant messaging tools is provided, or
Be properly termed as screenshot editing device, specifically, provide it is a kind of with mosaic function or figure brush come online based on instant messaging
The device of the screenshot processing of tool, which includes figure layer overlay module and figure layer switching module, wherein figure layer overlay module is used
Original screenshot is covered using ceramic mosaic graphic pattern or graphic style in the specific region for selecting user, figure layer switching module is used for
The switching of progress ceramic mosaic graphic pattern or graphic style is selected according to user.For instant messaging tools, at it
When using shot operation, screenshot tool and screenshot edit cell are usually called.It is appreciated that the device of above-mentioned screenshot processing can be with
It is a part in screenshot edit cell, is also possible to independent functional device.So in the following description, will no longer retouch
State the operation of basic screenshot unit and the operation of basic screenshot edit cell.
Further, as shown in figure 5, this it is a kind of based on instant messaging tools screenshot processing device in, figure layer switch mould
The tiling of graphic style bitmap or switching of mosaic schema or user's selection that block is used to draw, are folded in a covered manner
It is added in screenshot bitmap.
Further, figure layer overlay module further includes that tool selection submodule and tool call submodule, wherein tool selection
Submodule is used to provide user's tool of selection, determines the top layer tool of user's selection;Wherein, tool calls submodule to be used for root
According to the top layer tool that user selects, corresponding implementation tool is provided, wherein implementation tool includes mosaic drawing tool and figure
Brush Tool.Wherein, it if user's selection is mosaic drawing tool, adds mosaic and draws layer;If user selects
Be graphic style, then call figure Brush Tool.
Wherein, the device that should be handled based on the screenshot of instant messaging tools further includes mosaic bitmap drafting module, the horse
A match gram bitmap drafting module includes that drawing area selects submodule, grid position to determine that submodule, grid area determine submodule
With mosaic rendering submodule.Wherein, drawing area selection submodule is used to record the region of user's selection, saves and draws area
Domain.Wherein, grid position determines submodule for the single Marseille according to the screen capture module background bitmap provided and user configuration
Gram grid size, determines the position of each mosaic grid of drawing area.Wherein, grid area determines submodule for basis
The position of each grid and the drawing area of preservation determine the area size for drawing mosaic grid.Wherein, mosaic draws son
Module carries out alpha for drawing each grid, by the bitmap of the mosaic schema of selection and the grid area of drafting
It is mixed to get mosaic plot.
Wherein, further, drawing area selection submodule is used for: record user's mouse down mouse-over between bouncing
Beginning and end, be saved into mosaic and draw in element;Drawing area selection submodule is also used to: using offer
Interface setting paintbrush color be ARGB (0xFF, 0xFF, 0xFF, 0xFF), be then with the every two adjacent point of preservation
Straight line is drawn on vertex, and the region of the drafting is saved in memory in a manner of bitmap.
Wherein, grid position determines that submodule is also used to: taking out background bitmap by the interface that screen capture module provides, then
On the basis of the upper left corner of background bitmap, each row and column on background bitmap are determined according to the mosaic grid size of user configuration
The position of mosaic grid.
Wherein, mosaic rendering submodule is also used to draw each grid, comprising: will be all in each grid
Pixel is arranged to a color, this color value is the pixel color corresponded within the scope of entire grid on background bitmap
Average value.Wherein it is preferred to calculate the value of each pixel of the first row first, then full line is replicated, such bulk memory
Speed can be improved in duplication.It is of course also possible to select the value of each pixel of Nth row, two rows or multirow are either selected
Then the value of pixel carries out the duplication of integral multiple, to improve speed.
Wherein, which further includes tool revocation module, for drawing the drafting member for removing top in layer in mosaic
Element.Further, tool revocation module is also used to after drawing element and removing, and removes current mosaic figure layer.
It is appreciated that some specific processing modes used in method, can directly be run in a device, and
And the device is also not necessarily limited to the functional specification of above-mentioned apparatus, can call directly certain operational processes in the above method, so,
For some detailed descriptions in method, will not further repeat in a device.
Finally it should be noted that above embodiments are only to describe technical solution of the present invention rather than to this technology method
It is limited, the present invention can above extend to other modifications, variation, application and embodiment, and therefore, it is considered that institute in application
There are such modification, variation, application, embodiment all within the scope of spirit or teaching of the invention.
Claims (12)
1. a kind of screenshot processing method based on instant messaging tools, comprising:
Shot operation is carried out using screenshot tool in instant messaging tools;
After shot operation, call the screenshot edit cell of the instant messaging tools, show screenshot toolbar, for user into
Row tool selection, wherein the screenshot toolbar includes mosaic drawing tool and graphic style;
If user's selection is mosaic drawing tool, according to the mosaic drawing tool that user selects, addition mosaic is drawn
Preparative layer;According to the grid size or style information of user's selection, the pattern attribute in ceramic mosaic graphic pattern drafting is determined, for user
The specific region of the screenshot bitmap of selection carries out screenshot editor, is drawn using ceramic mosaic graphic pattern and covers the specific region;
If user's selection is graphic style, according to the graphic style that user selects, figure Brush Tool is called;For user
The specific region of the screenshot bitmap of selection carries out screenshot editor, covers the specific region using the graphic style that user selects;And
And
Record user selects the specific region of the screenshot bitmap, according to user's selection carry out ceramic mosaic graphic pattern in the region or
The switching of person's graphic style.
2. the screenshot processing method according to claim 1 based on instant messaging tools, further comprises:
The graphic style bitmap tiling that the mosaic schema of drafting or user select perhaps is switched to cover or replace
Mode is added in screenshot.
3. further comprising that mosaic bitmap is drawn according to claim 2 based on the screenshot processing method of instant messaging tools
Step processed, the mosaic bitmap plot step include:
Step 21, the region of record user selection, saves drawing area;
Step 22, it according to the single mosaic grid size of the screen capture module background bitmap provided and user configuration, determines and draws
The position of each mosaic grid in region;
Step 23, according to the drawing area of the position of each grid and preservation, the area size for drawing mosaic grid is determined;
Step 24, each grid is drawn, the bitmap of the mosaic schema of selection and the grid area of drafting is carried out
Alpha is mixed to get mosaic plot.
4. the screenshot processing method according to claim 3 based on instant messaging tools, wherein by each lattice in step 24
The step of son is drawn include:
All pixels in each grid are arranged to same color, which is to correspond to entire grid on background bitmap
The average value of pixel color in range;The value of each pixel of a line or multirow is calculated first, is then carried out whole
The row duplication of several times.
5. the screenshot processing method according to claim 3 based on instant messaging tools, wherein step 22 is further wrapped
It includes:
Background bitmap is taken out by the interface that screen capture module provides, on the basis of the upper left corner of the background bitmap, according to user
The single mosaic grid size of configuration determines the position of each row and column mosaic grid on background bitmap.
6. according to the method described in claim 1, further comprising: drawing the drafting member for removing top in layer in mosaic
Element;After drafting element removal, current mosaic figure layer is removed.
7. a kind of screenshot processing unit based on instant messaging tools, comprising: figure layer overlay module and figure layer switching module;Its
In, figure layer overlay module is used to carry out shot operation using screenshot tool in instant messaging tools, after shot operation, adjusts
With the screenshot edit cell of the instant messaging tools, screenshot toolbar is shown, carry out tool selection for user, wherein described cut
Figure toolbar includes mosaic drawing tool and graphic style;If user's selection is mosaic drawing tool, according to user
The mosaic drawing tool of selection, addition mosaic draw layer;According to the grid size or style information of user's selection, horse is determined
Pattern attribute in match gram pattern drafting covers the specific region of the screenshot bitmap of user's selection using ceramic mosaic graphic pattern drafting
Lid, according to the graphic style that user selects, calls figure Brush Tool if user's selection is graphic style;For user
The specific region of the screenshot bitmap of selection covers the specific region using the graphic style that user selects, and figure layer switching module is used
Select the specific region of the screenshot bitmap in record user, according to user's selection carry out ceramic mosaic graphic pattern in the region or
The switching of graphic style.
8. the screenshot processing unit according to claim 7 based on instant messaging tools further includes that mosaic bitmap is drawn
Module, the mosaic bitmap drafting module include: that drawing area selects submodule, grid position to determine submodule, grid area
Determine submodule and mosaic rendering submodule;
Wherein, drawing area selection submodule is used to record the region of user's selection, saves drawing area;Grid position determines son
Module is used for the single mosaic grid size according to the screen capture module background bitmap provided and user configuration, determines drawing area
Each mosaic grid position;Grid area determines submodule for according to the position of each grid and the drafting area of preservation
Domain determines the area size for drawing mosaic grid;Mosaic rendering submodule will be selected for drawing each grid
Mosaic schema and drafting grid area bitmap carry out alpha be mixed to get mosaic plot.
9. the screenshot processing unit according to claim 8 based on instant messaging tools, wherein grid position determines submodule
Block is further used for, and takes out background bitmap by the interface that screen capture module provides, on the basis of the upper left corner of the background bitmap,
The position of each row and column mosaic grid on background bitmap is determined according to the single mosaic grid size of user configuration.
10. the screenshot processing unit according to claim 7 based on instant messaging tools, wherein figure layer switching module is also
For:
The tiling of graphic style bitmap or switching that the mosaic schema of drafting or user are selected, are superimposed in a covered manner
Into screenshot bitmap.
11. the screenshot processing unit according to claim 8 based on instant messaging tools, wherein mosaic draws submodule
Block is also used to: all pixels in each grid being arranged to same color, the color value is whole to correspond on background bitmap
The average value of pixel color within the scope of a grid;The value of each pixel of a line or multirow is calculated first, then
Carry out the row duplication of integral multiple.
12. the screenshot processing unit according to claim 7 based on instant messaging tools, further comprises: tool revocation
Module after drawing element and removing, removes the mosaic for drawing the drafting element for removing top in layer in mosaic
Figure layer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038777.1A CN105892839B (en) | 2015-01-26 | 2015-01-26 | A kind of screenshot processing method and device based on instant messaging tools |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510038777.1A CN105892839B (en) | 2015-01-26 | 2015-01-26 | A kind of screenshot processing method and device based on instant messaging tools |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105892839A CN105892839A (en) | 2016-08-24 |
CN105892839B true CN105892839B (en) | 2019-10-08 |
Family
ID=56999207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510038777.1A Active CN105892839B (en) | 2015-01-26 | 2015-01-26 | A kind of screenshot processing method and device based on instant messaging tools |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105892839B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105678714B (en) * | 2016-02-05 | 2020-12-29 | 网易传媒科技(北京)有限公司 | Image processing method and device |
CN106897001A (en) * | 2017-01-18 | 2017-06-27 | 珠海格力电器股份有限公司 | Screen capturing method and device |
CN107426222B (en) * | 2017-07-28 | 2019-11-26 | Oppo广东移动通信有限公司 | Information protecting method, device, storage medium and electronic equipment |
CN109213407B (en) * | 2018-08-17 | 2021-01-08 | 维沃移动通信有限公司 | Screenshot method and terminal equipment |
CN109271089A (en) * | 2018-09-14 | 2019-01-25 | 天津字节跳动科技有限公司 | Picture code printing method and device |
CN109710362B (en) * | 2018-12-26 | 2020-02-07 | 掌阅科技股份有限公司 | Screenshot processing method, computing device and computer storage medium |
CN109960527B (en) * | 2019-02-22 | 2020-08-18 | 北京三快在线科技有限公司 | Configuration method, device and equipment applied to equipment terminal and readable storage medium |
CN112445398A (en) * | 2019-09-04 | 2021-03-05 | 上海掌门科技有限公司 | Method, electronic device and computer readable medium for editing pictures |
CN112748844B (en) * | 2020-12-31 | 2022-12-20 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
CN115291777A (en) * | 2022-08-04 | 2022-11-04 | 维沃移动通信有限公司 | Screen capturing method and device, terminal and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739697A (en) * | 2008-11-25 | 2010-06-16 | 王源源 | Synthesis method of picture mosaic pattern and system therefor |
CN104299186A (en) * | 2014-09-30 | 2015-01-21 | 珠海市君天电子科技有限公司 | Method and device for conducting mosaic processing on picture |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8890894B2 (en) * | 2012-06-28 | 2014-11-18 | The University Of Utah Research Foundation | Seam processing for panorama weaving |
-
2015
- 2015-01-26 CN CN201510038777.1A patent/CN105892839B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739697A (en) * | 2008-11-25 | 2010-06-16 | 王源源 | Synthesis method of picture mosaic pattern and system therefor |
CN104299186A (en) * | 2014-09-30 | 2015-01-21 | 珠海市君天电子科技有限公司 | Method and device for conducting mosaic processing on picture |
Also Published As
Publication number | Publication date |
---|---|
CN105892839A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105892839B (en) | A kind of screenshot processing method and device based on instant messaging tools | |
US5469536A (en) | Image editing system including masking capability | |
EP3077898B1 (en) | Editing options for image regions | |
JP3510287B2 (en) | Color image halftoning method | |
RU2530272C2 (en) | Method and apparatus for creating user interface | |
TWI325567B (en) | Method and system for enhancing portrait images that are processed in a batch mode | |
Haeberli | Paint by numbers: Abstract image representations | |
CN104410916B (en) | A kind of online live broadcasting method and equipment | |
JP4398726B2 (en) | Automatic frame selection and layout of one or more images and generation of images bounded by frames | |
US8406566B1 (en) | Methods and apparatus for soft edge masking | |
WO2022042180A1 (en) | Wallpaper generation method and apparatus, terminal, and storage medium | |
Yang et al. | Realization of Seurat’s pointillism via non-photorealistic rendering | |
CN107408401A (en) | The user's sliding block for simplifying adjustment for image | |
CN111282277A (en) | Special effect processing method, device and equipment and storage medium | |
Aharoni-Mack et al. | Pigment-based recoloring of watercolor paintings | |
CN104536656B (en) | For generating the method and system of the smart machine operation detail page | |
JP6011092B2 (en) | Image processing apparatus, image tone conversion method, and program | |
US20060114505A1 (en) | Online image processing systems and methods | |
JP2005078158A (en) | Image processing device, image processing method, program and recording medium | |
EP1374169A2 (en) | Application of visual effects to a region of interest within an image | |
CN107180453A (en) | The edit methods and device of character face's model | |
JP3192116U (en) | Image processing device | |
CN107992256A (en) | Window control method, apparatus and system | |
KR20180117826A (en) | Method and apparatus for production of webtoon movies | |
CN115002555B (en) | Theme making method, device and equipment applied to live broadcasting room |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |