CN107578378A - A kind of image processing method being used in instant messaging and system - Google Patents
A kind of image processing method being used in instant messaging and system Download PDFInfo
- Publication number
- CN107578378A CN107578378A CN201710795720.5A CN201710795720A CN107578378A CN 107578378 A CN107578378 A CN 107578378A CN 201710795720 A CN201710795720 A CN 201710795720A CN 107578378 A CN107578378 A CN 107578378A
- Authority
- CN
- China
- Prior art keywords
- image
- region
- target image
- triggering command
- communication interface
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 30
- 230000006837 decompression Effects 0.000 claims abstract description 29
- 230000003321 amplification Effects 0.000 claims abstract description 10
- 230000002452 interceptive effect Effects 0.000 claims abstract description 10
- 238000003199 nucleic acid amplification method Methods 0.000 claims abstract description 10
- 230000006835 compression Effects 0.000 claims description 30
- 238000007906 compression Methods 0.000 claims description 30
- 230000001960 triggered effect Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a kind of image processing method being used in instant messaging, comprise the following steps:In response to the first triggering command for the target image in communication interface, to amplify the target image at trigger position according to the first triggering command;In response to the second triggering command for the target image in the communication interface, to receive the interactive information inputted at the input frame of the communication interface.Present invention also offers a kind of image processing apparatus being used in instant messaging.The invention enables user can trigger the decompression target image directly at communication interface, to amplify the image-region that user wishes amplification, obtain the useful information in image, while can input interactive information according to the image-region after amplification.Thus, user mutual efficiency and Consumer's Experience are improved.
Description
Technical field
The present invention relates to communication technical field, and in particular to it is a kind of be used for instant messaging in image processing method and be
System.
Background technology
With the high speed development of internet particularly mobile Internet, the network service instrument based on mobile electronic device is
Through being received by the most network user.Be currently based on the network service tool network means of communication of mobile electronic device with
It is widely used in the work and life at family.
User usually using the network service instrument of mobile electronic device and other user's sharing informations or enters row information friendship
Stream.During user's sharing information or progress information interchange, user may need the content in picture to send word
Or voice messaging.
It is limited to the screen size of mobile electronic device, it is generally the case that picture is in communication interface (such as instant messaging work
The chat interface of tool) shown in small figure, but small figure is usually not see the particular content in Chu's picture.In prior art
In, if user needs the content return information in reference picture, generally require and first click on small figure and enter big figure preview interface,
After being read in big figure preview interface and remembeing image content, communication interface is again returned to, carries out word input or phonetic entry.
Inventor has found that content of the above-mentioned user in the prior art in picture inputs not square when word or voice messaging
Just, the time of cost is long.It is embodied in:On the one hand, user needs to remember the content of picture in big figure preview interface, treats
Information is inputted when returning to communication interface again, whole process needs user to remember image content, causes information input very not square
Just;On the other hand, user's preview picture and the content input information in picture are not carried out synchronously, therefore, if picture
The information that content includes is more, and user is possible to forget some contents in picture when returning to communication interface input information, this
When user need to be again introduced into big figure preview interface and read picture, cause whole input process cumbersome.
The content of the invention
The technical solution adopted in the present invention is:A kind of image processing method being used in instant messaging, including following step
Suddenly:
In response to the first triggering command for the target image in communication interface, to be existed according to the first triggering command
Amplify the target image at trigger position;
In response to the second triggering command for the target image in the communication interface, to receive in the communication interface
Input frame at input interactive information.
Further, it is described that the target image is amplified at trigger position according to the first triggering command, including such as
Lower step:
Processing is compressed to the target image, so that the target image is changed into what is be made up of multiple images region
First compression image;
Described first compression image is compressed processing, with the size to each image in the multiple image-region
It is adjusted, and the multiple image-region is subjected to composition alignment, and is spliced to form the second compression image;
Described second compression image is decompressed, to form decompression target image, by the decompression target image displaying
In the communication interface;
Amplify the decompression target image at trigger position according to the first triggering command.
Further, it is described that processing is compressed to the target image, comprise the following steps:
The target image is divided into multiple images region, each image-region can refer in response to the described first triggering
Make so as to be scaled;
The multiple image-region is compressed processing;
Further, the scaling applies corresponding zoom factor along two directions perpendicular to one another.
Further, the resolution ratio of each image-region is identical.
Further, the decompression target image is amplified at trigger position according to the first triggering command, including such as
Lower step:
In response to the first triggering command, to obtain trigger position corresponding to the first triggering command;
The image-region according to corresponding to the trigger position determines the trigger position;
Amplification shows image-region corresponding to the trigger position, to obtain image information corresponding to described image region.
Especially, present invention also offers a kind of image processing system being used in instant messaging, including:
First respond module, in response to the first triggering command for the target image in communication interface, with basis
The first triggering command amplifies the target image at trigger position;
Second respond module, in response to the second triggering command for the target image in the communication interface, with
Receive the interactive information inputted at the input frame of the communication interface.
Further, first respond module includes:
First compression unit, for being compressed processing to the target image, by the target image be changed into by
First compression image of multiple images region composition;
Second compression unit, for the described first compression image to be compressed into processing, with to the multiple image-region
In the size of each image be adjusted, and the multiple image-region is subjected to composition alignment, and be spliced to form the second pressure
Contract drawing picture;
Decompression units, the described second compression image is decompressed, to form decompression target image;
Display unit, for the decompression target image to be showed in the communication interface;
Amplifying unit, for amplifying the decompression target image at trigger position according to the first triggering command.
Further, first compression unit includes:
Subelement is divided, for the target image to be divided into multiple images region, each image-region can respond
In the first triggering command so as to being scaled;
Subelement is compressed, for the multiple image-region to be compressed into processing.
Further, the amplifying unit includes:
Subelement is responded, in response to the first triggering command, being touched to obtain corresponding to the first triggering command
Send out position;
Determination subelement, for image-region corresponding to determining the trigger position according to the trigger position;
Amplify subelement, image-region corresponding to the trigger position is shown for amplifying, to obtain described image region
Corresponding image information.
The beneficial effects of the present invention are:The application is by the way that target image is compressed and decompression processing, by the mesh
Logo image is divided into multiple images region, i.e., after target image is received from the background, the target image that will be received first converts
To decompress target image, then it is illustrated in again in communication interface, as a result, user can trigger institute directly at communication interface
Decompression target image is stated, to amplify the image-region that user wishes amplification, obtains the useful information in image, while can basis
Image-region after amplification inputs interactive information.Thus, user mutual efficiency and Consumer's Experience are improved.
Brief description of the drawings
Fig. 1 is the flow chart of the image processing method according to an embodiment of the invention being used in instant messaging;
Fig. 2 is the method flow diagram of the amplification target image according to an embodiment of the invention;
Fig. 3 is the system block diagram of the image processing system according to an embodiment of the invention being used in instant messaging.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in figure 1, the technical solution adopted in the present invention is:A kind of image processing method being used in instant messaging,
Comprise the following steps:
S100, in response to the first triggering command for the target image in communication interface, with according to the described first triggering
The target image is amplified in instruction at trigger position;
S200, in response to the second triggering command for the target image in the communication interface, to receive described logical
Believe the interactive information inputted at the input frame at interface.
As shown in Fig. 2 described amplify the target image according to the first triggering command at trigger position, including such as
Lower step:
S110, processing is compressed to the target image, the target image is changed into by multiple images region
First compression image of composition;
S120, by described first compression image be compressed processing, with to each image in the multiple image-region
Size be adjusted, and the multiple image-region is subjected to composition alignment, and is spliced to form the second compression image;
S130, the described second compression image is decompressed, to form decompression target image, by the decompression target image
It is showed in the communication interface;
S140, amplify the decompression target image at trigger position according to the first triggering command.
It is described that processing is compressed to the target image, comprise the following steps:
S111, the target image is divided into multiple images region, each image-region can be in response to described first
Triggering command is so as to being scaled;
S112, the multiple image-region is compressed processing;
Wherein, the scaling applies corresponding zoom factor along two directions perpendicular to one another.
Wherein, the resolution ratio of each image-region is identical.
Amplify the decompression target image at trigger position according to the first triggering command, comprise the following steps:
S141, in response to the first triggering command, to obtain trigger position corresponding to the first triggering command;
S142, the image-region according to corresponding to the trigger position determines the trigger position;
S143, amplification show image-region corresponding to the trigger position, to obtain image corresponding to described image region
Information.
Especially, as shown in figure 3, present invention also offers a kind of image processing system being used in instant messaging, including:
First respond module 100, in response to the first triggering command for the target image in communication interface, with root
Amplify the target image at trigger position according to the first triggering command;
Second respond module 200, in response to the second triggering command for the target image in the communication interface,
To receive the interactive information inputted at the input frame of the communication interface.
First respond module 100 includes:
First compression unit 110, for being compressed processing to the target image, the target image is changed into
The first compression image being made up of multiple images region;
Second compression unit 120, for the described first compression image to be compressed into processing, with to the multiple image district
The size of each image in domain is adjusted, and the multiple image-region is carried out into composition alignment, and is spliced to form second
Compress image;
Decompression units 130140, the described second compression image is decompressed, to form decompression target image;
Display unit 140, for the decompression target image to be showed in the communication interface;
Amplifying unit 150, for amplifying the decompression target image at trigger position according to the first triggering command.
First compression unit 110 includes:
Subelement 111 is divided, for the target image to be divided into multiple images region, each image-region can ring
First triggering command described in Ying Yu is so as to being scaled;
Subelement 112 is compressed, for the multiple image-region to be compressed into processing.
The amplifying unit 150 includes:
Subelement 151 is responded, in response to the first triggering command, to obtain corresponding to the first triggering command
Trigger position;
Determination subelement 152, for image-region corresponding to determining the trigger position according to the trigger position;
Amplify subelement 153, image-region corresponding to the trigger position is shown for amplifying, to obtain described image area
Image information corresponding to domain.
The beneficial effects of the present invention are:The application is by the way that target image is compressed and decompression processing, by the mesh
Logo image is divided into multiple images region, i.e., after target image is received from the background, the target image that will be received first converts
To decompress target image, then it is illustrated in again in communication interface, as a result, user can trigger institute directly at communication interface
Decompression target image is stated, to amplify the image-region that user wishes amplification, obtains the useful information in image, while can basis
Image-region after amplification inputs interactive information.Thus, user mutual efficiency and Consumer's Experience are improved.
It should be noted that term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, commodity or equipment including a series of elements not only include those key elements, but also including
The other element being not expressly set out, or also include for this process, method, commodity or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, other identical element also be present in commodity or equipment.Position relationship is used to be only used for described in accompanying drawing
Exemplary illustration, it is impossible to be interpreted as the limitation to this patent, it is clear that the above embodiment of the present invention is only intended to clearly illustrate
Example of the present invention, and it is not the restriction to embodiments of the present invention.For those of ordinary skill in the art
For, it can also make other changes in different forms on the basis of the above description.There is no need and unable to institute
Some embodiments are exhaustive.The all any modification, equivalent and improvement made within the spirit and principles of the invention
Deng should be included within the protection domain of the claims in the present invention.
Claims (10)
1. a kind of image processing method being used in instant messaging, it is characterised in that comprise the following steps:
In response to the first triggering command for the target image in communication interface, to be triggered according to the first triggering command
Opening position amplifies the target image;
In response to the second triggering command for the target image in the communication interface, to receive in the defeated of the communication interface
Enter the interactive information inputted at frame.
2. image processing method according to claim 1, it is characterised in that described to be touched according to the first triggering command
Send out opening position and amplify the target image, comprise the following steps:
Processing is compressed to the target image, so that the target image is changed into be made up of multiple images region first
Compress image;
Described first compression image is compressed processing, to be carried out to the size of each image in the multiple image-region
Adjustment, and the multiple image-region is subjected to composition alignment, and it is spliced to form the second compression image;
Described second compression image is decompressed, to form decompression target image, the decompression target image is showed in institute
State in communication interface;
Amplify the decompression target image at trigger position according to the first triggering command.
3. image processing method according to claim 2, it is characterised in that described that place is compressed to the target image
Reason, comprises the following steps:
The target image is divided into multiple images region, each image-region can in response to the first triggering command from
And it is scaled;
The multiple image-region is compressed processing.
4. image processing method according to claim 3, it is characterised in that described to scale along two sides perpendicular to one another
To using corresponding zoom factor.
5. according to the image processing method any one of claim 2-4, it is characterised in that the resolution of each image-region
Rate is identical.
6. image processing method according to claim 5, it is characterised in that according to the first triggering command in trigger bit
Put place and amplify the decompression target image, comprise the following steps:
In response to the first triggering command, to obtain trigger position corresponding to the first triggering command;
The image-region according to corresponding to the trigger position determines the trigger position;
Amplification shows image-region corresponding to the trigger position, to obtain image information corresponding to described image region.
A kind of 7. image processing system being used in instant messaging, it is characterised in that including:
First respond module, in response to the first triggering command for the target image in communication interface, with according to
First triggering command amplifies the target image at trigger position;
Second respond module, in response to the second triggering command for the target image in the communication interface, to receive
The interactive information inputted at the input frame of the communication interface.
8. image processing system according to claim 7, it is characterised in that first respond module includes:
First compression unit, for being compressed processing to the target image, the target image is changed into by multiple
First compression image of image-region composition;
Second compression unit, for the described first compression image to be compressed into processing, with the multiple image-region
The size of each image is adjusted, and the multiple image-region is carried out into composition alignment, and is spliced to form the second compression figure
Picture;
Decompression units, the described second compression image is decompressed, to form decompression target image;
Display unit, for the decompression target image to be showed in the communication interface;
Amplifying unit, for amplifying the decompression target image at trigger position according to the first triggering command.
9. image processing system according to claim 8, it is characterised in that first compression unit includes:
Subelement is divided, for the target image to be divided into multiple images region, each image-region can be in response to institute
First triggering command is stated so as to be scaled;
Subelement is compressed, for the multiple image-region to be compressed into processing.
10. image processing system according to claim 8 or claim 9, it is characterised in that the amplifying unit includes:
Subelement is responded, in response to the first triggering command, to obtain trigger bit corresponding to the first triggering command
Put;
Determination subelement, for image-region corresponding to determining the trigger position according to the trigger position;
Amplify subelement, image-region corresponding to the trigger position is shown for amplifying, it is corresponding to obtain described image region
Image information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710795720.5A CN107578378A (en) | 2017-09-06 | 2017-09-06 | A kind of image processing method being used in instant messaging and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710795720.5A CN107578378A (en) | 2017-09-06 | 2017-09-06 | A kind of image processing method being used in instant messaging and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107578378A true CN107578378A (en) | 2018-01-12 |
Family
ID=61031217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710795720.5A Pending CN107578378A (en) | 2017-09-06 | 2017-09-06 | A kind of image processing method being used in instant messaging and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107578378A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010013902A1 (en) * | 2000-02-14 | 2001-08-16 | Takeshi Kawabe | Image sensing apparatus and its control method, and computer readable memory |
CN101237582A (en) * | 2008-03-07 | 2008-08-06 | 北京中星微电子有限公司 | Local dynamic image amplification device and method and image processing system |
CN102300083A (en) * | 2011-09-27 | 2011-12-28 | 杭州华三通信技术有限公司 | Method and equipment for magnifying local region image |
CN104350456A (en) * | 2012-05-30 | 2015-02-11 | 索尼电脑娱乐公司 | Information processing device and information processing method |
CN105843463A (en) * | 2015-01-14 | 2016-08-10 | 阿里巴巴集团控股有限公司 | Method and device for communication information interaction |
-
2017
- 2017-09-06 CN CN201710795720.5A patent/CN107578378A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010013902A1 (en) * | 2000-02-14 | 2001-08-16 | Takeshi Kawabe | Image sensing apparatus and its control method, and computer readable memory |
CN101237582A (en) * | 2008-03-07 | 2008-08-06 | 北京中星微电子有限公司 | Local dynamic image amplification device and method and image processing system |
CN102300083A (en) * | 2011-09-27 | 2011-12-28 | 杭州华三通信技术有限公司 | Method and equipment for magnifying local region image |
CN104350456A (en) * | 2012-05-30 | 2015-02-11 | 索尼电脑娱乐公司 | Information processing device and information processing method |
CN105843463A (en) * | 2015-01-14 | 2016-08-10 | 阿里巴巴集团控股有限公司 | Method and device for communication information interaction |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10812429B2 (en) | Systems and methods for message communication | |
WO2022089330A1 (en) | Method for taking screenshot, apparatus, electronic device, and readable storage medium | |
CN107621886B (en) | Input recommendation method and device and electronic equipment | |
CN112269798B (en) | Information display method and device and electronic equipment | |
CN113285866B (en) | Information sending method and device and electronic equipment | |
CN114500432A (en) | Session message transceiving method and device, electronic equipment and readable storage medium | |
CN102981902A (en) | Intelligent mobile terminal and screen protection method based on same | |
CN112286416A (en) | Information display method and device and electronic equipment | |
CN112163239A (en) | Privacy information protection method and device and electronic equipment | |
CN105653612A (en) | Page rendering method and device | |
TW201926968A (en) | Program and information processing method and information processing device capable of easily changing choice of content to be transmitted | |
CN112748844A (en) | Message processing method and device and electronic equipment | |
CN111027301A (en) | Information processing method, device, terminal equipment and storage medium | |
CN114443203A (en) | Information display method and device, electronic equipment and readable storage medium | |
WO2024088132A1 (en) | Target-image display method and display apparatus, and electronic device and storage medium | |
CN112269504B (en) | Information display method and device and electronic equipment | |
WO2023134599A1 (en) | Voice information sending method and apparatus, and electronic device | |
CN111831186A (en) | Information processing method and device and electronic equipment | |
CN107578378A (en) | A kind of image processing method being used in instant messaging and system | |
WO2023066100A1 (en) | File sharing method and apparatus | |
WO2023046105A1 (en) | Message sending method and apparatus and electronic device | |
WO2022253132A1 (en) | Information display method and apparatus, and electronic device | |
CN115687303A (en) | Data information migration method, device, equipment and storage medium | |
CN114387402A (en) | Virtual reality scene display method and device, electronic equipment and readable storage medium | |
CN113835820A (en) | Graphic code display method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180112 |
|
RJ01 | Rejection of invention patent application after publication |