CN103247022A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN103247022A
CN103247022A CN 201210027467 CN201210027467A CN103247022A CN 103247022 A CN103247022 A CN 103247022A CN 201210027467 CN201210027467 CN 201210027467 CN 201210027467 A CN201210027467 A CN 201210027467A CN 103247022 A CN103247022 A CN 103247022A
Authority
CN
China
Prior art keywords
picture
screen size
terminal
described terminal
portable terminal
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
Application number
CN 201210027467
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN 201210027467 priority Critical patent/CN103247022A/en
Publication of CN103247022A publication Critical patent/CN103247022A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an image processing method and device, and belongs to the field of mobile terminals. According to the embodiment of the invention, an image uploaded by a user is received and processed according to the screen size of a mobile terminal, and the processed image is used as a current background image for the mobile terminal and covers the navigator area and the content area of the mobile terminal. Through the technical scheme adopted by the invention, a user-defined skin of an application program can be realized, the presentation modes of the application program are diversified, and the user experience is personalized.

Description

Image processing method and device
Technical field
The present invention relates to field of mobile terminals, particularly a kind of image processing method and device.
Background technology
Development along with portable terminal, portable terminal can set up applications, as browser client or microblogging client etc., so that the user is browsing page, issue microblogging etc. on portable terminal, and for these application programs, its application program skin is that application program itself provides, changing the vision that the skin scheme only changes the navigation area at present presents, and content regions does not change, and not supporting that skin is self-defined, the user can only select the presentation mode dullness from given several skins, poor user experience can't be accomplished the experience personalization.
Summary of the invention
For the experience of personalized user, enrich the presentation mode of application program, the embodiment of the invention provides a kind of image processing method and device.Described technical scheme is as follows:
A kind of image processing method comprises:
Receive the picture that the user uploads;
Screen size according to portable terminal is handled described picture;
As the current background picture of described portable terminal, the picture after the described processing covers navigation area and the content area of described portable terminal with the picture after handling.
Screen size according to portable terminal is handled described picture, specifically comprises:
Obtain the screen size of described portable terminal;
Whether the size of judging described picture greater than the screen size of described portable terminal, if, then according to the described picture of screen size cutting of described portable terminal;
If not, the described picture that then will stretch according to the screen size of described portable terminal.
The transparency scope of the navigation area of described portable terminal and content area is 15% to 65%.
The navigation area of described portable terminal and the transparency of content area are 40%.
A kind of image processing method and device that the embodiment of the invention provides, by receiving the picture that the user uploads, screen size according to portable terminal is handled described picture, as the current background picture of described portable terminal, the picture after the described processing covers navigation area and the content area of described portable terminal with the picture after handling.Adopt technical scheme provided by the invention, it is self-defined to realize that application programs skin carries out, and makes the presentation mode variation of application program, and the user experiences personalization.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of a kind of image processing method of providing of the embodiment of the invention;
Fig. 2 is the process flow diagram of a kind of image processing method of providing of the embodiment of the invention;
Fig. 3 is the synoptic diagram of content area and navigation area;
Fig. 4 is the structural representation of a kind of figure piece treating apparatus of providing of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of a kind of image processing method of providing of the embodiment of the invention.Executive agent among this embodiment is terminal, this terminal can be PC (Personal Computer, PC) or portable terminal, particularly, this portable terminal can be mobile phone, PDA (Personal Digital Assistant, personal digital assistant) or MP3 etc.Referring to Fig. 1, this embodiment specifically comprises:
101, receive the picture that the user uploads;
102, according to the screen size of portable terminal described picture is handled;
103, the picture after will handling is as the current background picture of described portable terminal, and the picture after the described processing covers navigation area and the content area of described portable terminal.
Preferably, according to the screen size of portable terminal described picture is handled, is specifically comprised:
Obtain the screen size of described portable terminal;
Whether the size of judging described picture greater than the screen size of described portable terminal, if, then according to the described picture of screen size cutting of described portable terminal;
If not, the described picture that then will stretch according to the screen size of described portable terminal.
Further, the transparency scope of the navigation area of described portable terminal and content area is 15% to 65%.
Preferably, the transparency of the navigation area of described portable terminal and content area is 40%.
A kind of image processing method that the embodiment of the invention provides, by receiving the picture that the user uploads, screen size according to portable terminal is handled described picture, the picture of using after handling is replaced the current background picture of described portable terminal, and the picture after the described processing covers navigation area and the content area of described portable terminal.Adopt technical scheme provided by the invention, it is self-defined to realize that application programs skin carries out, and makes the presentation mode variation of application program, and the user experiences personalization.
Fig. 2 is the process flow diagram of a kind of image processing method of providing of the embodiment of the invention.Executive agent among this embodiment is terminal, this terminal can be PC (Personal Computer, PC) or portable terminal, particularly, this portable terminal can be mobile phone, MP3 (Moving Picture Experts Group Audio LayerIII, dynamic image expert compression standard audio frequency aspect 3), PDA (Personal Digital Assistant, personal digital assistant) etc.Referring to Fig. 2, this embodiment specifically comprises:
201, terminal receives the picture that the user uploads;
Particularly, terminal is equipped with application program such as browser client, microblogging client, application program on this terminal can provide operation interface for the user, comprises the option that the user is used to upload on this operation interface, as " uploading background picture " option, when detecting the user and clicked this option, this operation interface provides the interface of uploading for the user, and the user can operate in the interface that this is uploaded, and chooses the picture that need upload, and determine to upload, then terminal receives the picture that the user uploads.
202, obtain the screen size of described terminal;
In the present embodiment, because the screen size of different terminals may be different, therefore, need obtain the screen size of terminal, this process of obtaining can be to obtain when application program launching, and preserves, in order to follow-up use, can also be obtaining in real time of carrying out when at every turn receiving picture.Preferably, this screen size can be obtained from the property parameters of this terminal.
203, whether the size of judging described picture is greater than the screen size of described terminal;
If, execution in step 204;
If not, execution in step 205;
Because the dimension of picture difference that the user uploads, follow-up operation are also different, then need the size of picture is judged.
204, according to the described picture of screen size cutting of described portable terminal, execution in step 206;
Need to prove that this is cut out and can carry out according to preset rules, this preset rules can be benchmark with the center picture for according to the picture ratio, keeps a high proportion of the cutting out of the original length and width of picture.
205, the described picture that will stretch according to the screen size of described portable terminal, execution in step 206.
Preferably, this stretches and keeps the original length and width of picture at high proportion.
206, the picture after will handling is as the current background picture of described terminal, and the picture after the described processing covers navigation area and the content area of described terminal.
This step difference with the prior art is that the picture after the processing has not only covered the content area of portable terminal, has also covered the navigation area of portable terminal, has reached the purpose of the theme of unified content zone and navigation area.Fig. 3 is the synoptic diagram of content area and navigation area.
In addition, in order not influence under the situation about browsing, obtain better visual effect, the transparency scope of the navigation area of described terminal and content area is 15% to 65%.Preferably, the transparency of the navigation area of described terminal and content area is 40%.Because navigation area and the set transparency of content area, the picture after this processing can appear, and causes fuzzy effect.
A kind of image processing method that the embodiment of the invention provides, by receiving the picture that the user uploads, screen size according to portable terminal is handled described picture, the picture of using after handling is replaced the current background picture of described portable terminal, and the picture after the described processing covers navigation area and the content area of described portable terminal.Adopt technical scheme provided by the invention, it is self-defined to realize that application programs skin carries out, and makes the presentation mode variation of application program, and the user experiences personalization.
Fig. 4 is the structural representation of a kind of figure piece treating apparatus of providing of the embodiment of the invention.Referring to Fig. 4, this device comprises:
Receiver module 401 is used for receiving the picture that the user uploads;
Processing module 402 is used for according to the screen size of terminal described picture being handled;
Application module 403, the picture after being used for handling is as the current background picture of described terminal, and the picture after the described processing covers navigation area and the content area of described terminal.
Described processing module 402 comprises:
Acquiring unit 402a is for the screen size of obtaining described terminal;
Picture processing unit 402b, whether the size that is used for judging described picture greater than the screen size of described terminal, if, then according to the described picture of screen size cutting of described terminal;
If not, the described picture that then will stretch according to the screen size of described terminal.
Wherein, the transparency scope of the navigation area of described terminal and content area is 15% to 65%.
Preferably, the transparency of the navigation area of described terminal and content area is 40%.
The device that present embodiment provides specifically can be one or more functional modules of portable terminal, belongs to same design with method embodiment, and its specific implementation process sees method embodiment for details, repeats no more here.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an image processing method is characterized in that, comprising:
Receive the picture that the user uploads;
Screen size according to terminal is handled described picture;
As the current background picture of described terminal, the picture after the described processing covers navigation area and the content area of described terminal with the picture after handling.
2. method according to claim 1 is characterized in that, according to the screen size of terminal described picture is handled, and specifically comprises:
Obtain the screen size of described terminal;
Whether the size of judging described picture greater than the screen size of described terminal, if, then according to the described picture of screen size cutting of described terminal;
If not, the described picture that then will stretch according to the screen size of described terminal.
3. method according to claim 1 is characterized in that, the transparency scope of the navigation area of described terminal and content area is 15% to 65%.
4. method according to claim 3 is characterized in that, the navigation area of described terminal and the transparency of content area are 40%.
5. a figure piece treating apparatus is characterized in that, comprising:
Receiver module is used for receiving the picture that the user uploads;
Processing module is used for according to the screen size of terminal described picture being handled;
Application module, the picture after being used for handling is as the current background picture of described terminal, and the picture after the described processing covers navigation area and the content area of described terminal.
6. device according to claim 5 is characterized in that, described processing module comprises:
Acquiring unit is for the screen size of obtaining described terminal;
Whether picture processing unit, the size that is used for judging described picture greater than the screen size of described terminal, if, then according to the described picture of screen size cutting of described terminal;
If not, the described picture that then will stretch according to the screen size of described terminal.
7. device according to claim 5 is characterized in that, the transparency scope of the navigation area of described terminal and content area is 15% to 65%.
8. device according to claim 7 is characterized in that, the navigation area of described terminal and the transparency of content area are 40%.
CN 201210027467 2012-02-08 2012-02-08 Image processing method and device Pending CN103247022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210027467 CN103247022A (en) 2012-02-08 2012-02-08 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210027467 CN103247022A (en) 2012-02-08 2012-02-08 Image processing method and device

Publications (1)

Publication Number Publication Date
CN103247022A true CN103247022A (en) 2013-08-14

Family

ID=48926527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210027467 Pending CN103247022A (en) 2012-02-08 2012-02-08 Image processing method and device

Country Status (1)

Country Link
CN (1) CN103247022A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866620A (en) * 2015-06-09 2015-08-26 腾讯科技(北京)有限公司 Implementation method, device and system of background focus picture
CN105577891A (en) * 2014-10-11 2016-05-11 北大方正集团有限公司 Mobile phone screen setting method and related devices
CN105791086A (en) * 2016-01-26 2016-07-20 腾讯科技(深圳)有限公司 Information processing method, first terminal and second terminal
CN107330853A (en) * 2016-04-28 2017-11-07 优信互联(北京)信息技术有限公司 Shoot picture method and device
CN108052516A (en) * 2017-10-19 2018-05-18 福建中金在线信息科技有限公司 The display methods of picture, device and mobile terminal in multidate information
CN116485504A (en) * 2023-06-19 2023-07-25 深圳索信达数据技术有限公司 Payment card customization method, computer device, and computer-readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577891A (en) * 2014-10-11 2016-05-11 北大方正集团有限公司 Mobile phone screen setting method and related devices
CN105577891B (en) * 2014-10-11 2018-12-21 北大方正集团有限公司 Mobile phone screen setting method, device and mobile phone terminal
CN104866620A (en) * 2015-06-09 2015-08-26 腾讯科技(北京)有限公司 Implementation method, device and system of background focus picture
CN104866620B (en) * 2015-06-09 2018-09-28 腾讯科技(北京)有限公司 The implementation method of background formula focus chart, apparatus and system
CN105791086A (en) * 2016-01-26 2016-07-20 腾讯科技(深圳)有限公司 Information processing method, first terminal and second terminal
CN105791086B (en) * 2016-01-26 2017-11-14 腾讯科技(深圳)有限公司 A kind of information processing method, first terminal and second terminal
CN107330853A (en) * 2016-04-28 2017-11-07 优信互联(北京)信息技术有限公司 Shoot picture method and device
CN107330853B (en) * 2016-04-28 2020-08-07 优信互联(北京)信息技术有限公司 Picture shooting method and device
CN108052516A (en) * 2017-10-19 2018-05-18 福建中金在线信息科技有限公司 The display methods of picture, device and mobile terminal in multidate information
CN116485504A (en) * 2023-06-19 2023-07-25 深圳索信达数据技术有限公司 Payment card customization method, computer device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN103247022A (en) Image processing method and device
US20220035995A1 (en) Comment Addition Method and Electronic Device
US11288310B2 (en) Presenting content items based on previous reactions
RU2626090C2 (en) Method, device and terminal device for processing image
US9119156B2 (en) Energy-efficient transmission of content over a wireless connection
JP4796147B2 (en) Method and device for adjusting the acquisition of electronic content according to the capabilities of a wireless communication device
CN110709807B (en) Method and system for voice-driven dynamic menu
CN105046525A (en) Advertisement delivery system, device and method
US11425062B2 (en) Recommended content viewed by friends
US11706166B2 (en) Presenting reactions from friends
CN104683458A (en) Wallpaper recommendation method and server
CN103577176A (en) Method for realizing independent video play and mobile terminal device for realizing the method
CN103631522A (en) Method and device for defining shortcut operation mode by user on mobile terminal
US11477143B2 (en) Trending content view count
EP4350535A2 (en) Content item module arrangements
US9092052B2 (en) Method and apparatus for obtaining entity-related decision support information based on user-supplied preferences
CN104765600A (en) Page processing method
CA2751031A1 (en) Method and apparatus for continuous stroke input
CN105187692A (en) Video recording method and device
US11037602B2 (en) Advanced video editing techniques using sampling patterns
CN112363660A (en) Method and device for determining cover image, electronic equipment and storage medium
CN103207725A (en) Icon conversion method and device
CN105474146B (en) The method of the touch reaction of electronic device and control electronic device
CN105808061A (en) Desktop arranging method and mobile terminal
CN106815649B (en) Terminal recovery method and device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130814