CN106406702B - A kind of image display method and device - Google Patents

A kind of image display method and device Download PDF

Info

Publication number
CN106406702B
CN106406702B CN201610833902.2A CN201610833902A CN106406702B CN 106406702 B CN106406702 B CN 106406702B CN 201610833902 A CN201610833902 A CN 201610833902A CN 106406702 B CN106406702 B CN 106406702B
Authority
CN
China
Prior art keywords
target photo
target
distance
rule
cut
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.)
Expired - Fee Related
Application number
CN201610833902.2A
Other languages
Chinese (zh)
Other versions
CN106406702A (en
Inventor
王坤辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201610833902.2A priority Critical patent/CN106406702B/en
Publication of CN106406702A publication Critical patent/CN106406702A/en
Application granted granted Critical
Publication of CN106406702B publication Critical patent/CN106406702B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a kind of image display method and devices, without adjusting Pictures location, and then to simplify full screen display process before full-screen picture is shown.The described method includes: receiving the selection operation to Target Photo in picture group;It include an at least picture in the picture group;Determine the scaling point in the Target Photo;Wherein, after amplifying the Target Photo based on the scaling point, the both sides up and down of amplified Target Photo and/or the right and left can be overlapped with the both sides up and down of the touch screen and/or the right and left;Amplify the Target Photo based on the scaling point, so that the Target Photo is displayed in full screen.Full screen display process, without adjusting the position of Target Photo, is simplified before Target Photo full screen display using method provided by the present invention.

Description

A kind of image display method and device
Technical field
The present invention relates to Internet technical field, in particular to a kind of image display method and device.
Background technique
With the continuous development of taking photograph of intelligent mobile phone function, the effect of papery picture is gradually replaced digital photo. Compared to papery picture, digital photo is not only convenient for storing, and can by provide the community of picture sharing function, platform, Website or mobile phone apply upper sharing picture, to realize and interacting between other users.
In the prior art, user can share plurality of pictures simultaneously, after sharing, show it in the form of thumbnail He is user, for example, user has shared 9 pictures, this 9 picture is shown in the form of nine grids, is opened up in each grid Show the thumbnail of a picture, 9 pictures are shown simultaneously to realize.When user wants one picture of viewing, point The picture is hit, mobile terminal can be displayed in full screen the picture when receiving the clicking operation.Full screen display picture it Before, the mobile picture is overlapped the central point of the picture with center's point of screen, is then put according to center picture pair graph piece Greatly, to enable the both sides up and down of the picture or the overlapping margins of the right and left and screen.
However, such full screen display mode, the central point of picture are not overlapped with center's point of screen, can not just be put Greatly, thus, in most cases, before being displayed in full screen to picture, require adjustment picture position, the mistake of full screen display Journey is comparatively laborious.Thus, how to propose a kind of image display method, before full-screen picture is shown, without adjusting Pictures location, And then simplify full screen display process, it is a technical problem urgently to be resolved.
Summary of the invention
The present invention provides a kind of image display method and device, to before full-screen picture is shown, without adjusting picture Position, and then simplify full screen display process.
The present invention provides a kind of image display method, comprising:
Receive the selection operation to Target Photo in picture group;It include an at least picture in the picture group;
Determine the scaling point in the Target Photo;Wherein, after amplifying the Target Photo based on the scaling point, amplification The both sides up and down of Target Photo afterwards and/or the right and left being capable of both sides up and down with the touch screen and/or the right and left weights It closes;
Amplify the Target Photo based on the scaling point, so that the Target Photo is displayed in full screen.
The beneficial effects of the present invention are: a scaling point is determined in the Target Photo for needing to be displayed in full screen, and is being based on being somebody's turn to do After scaling point amplification target picture, Target Photo can be made to be displayed in full screen.Due to being not necessarily to using central point as scaling point, thus, Before Target Photo full screen display, without adjusting the position of Target Photo, full screen display process is simplified.
In one embodiment, the scaling point of the determination picture, comprising:
Determine the cut-off rule of the Target Photo;Be parallel in Target Photo the cut-off rule two sides and the segmentation The distance between line ratio, equal to being parallel to distance ratio between two sides of the cut-off rule and the cut-off rule in touch screen;
Determine the straight line where the central point of the Target Photo and the line of touch screen center point;
The intersection point of the cut-off rule and the straight line that determine the Target Photo is the scaling point in the Target Photo.
The beneficial effect of the present embodiment is: determining cut-off rule and the Target Photo central point and the touch of Target Photo Shield the line of central point, and using the intersection point of the cut-off rule and the line as the scaling point of Target Photo.To only it needs to be determined that The intersection point of two straight lines is assured that in Target Photo, can be achieved with the scaling point of full screen display without adjusting Pictures location, To provide a kind of simple scaling point method of determination.
In one embodiment, the cut-off rule of the determination Target Photo, comprising:
Obtain Target Photo first object while and the second mesh of first distance and Target Photo when touch screen first object Mark second distance while with the second target of touch screen;The first object is parallel while with second target;
Determine the ratio of the first distance and second distance;
The cut-off rule is determined according to the ratio of the first distance and second distance, so that the cut-off rule and the figure The ratio of piece first object side and the second target back gauge is equal to the ratio of the first distance and second distance.
In one embodiment, described that the Target Photo is amplified based on the scaling point, so that the Target Photo is complete Screen display, comprising:
When amplifying the Target Photo based on the scaling point, if the both sides up and down of the Target Photo and/or left and right Both sides are overlapped with the both sides up and down of the touch screen and/or the right and left, it is determined that the Target Photo has been displayed in full screen;
Stopping continues to amplify the Target Photo.
The beneficial effect of the present embodiment is: two sides of the same direction in any two parallel edges and screen in picture When coincidence, determine that Target Photo has been displayed in full screen, and stop continue amplification target picture, thus avoid continue amplification picture and Cause completely to show.
In one embodiment, the method also includes:
When receiving the clicking operation to the Target Photo of full screen display, the mesh is reduced according to the scaling point It marks on a map piece, so that the Target Photo size restoration is the size before amplification;
Or
When receiving the clicking operation to the Target Photo of full screen display, the target figure of full screen display is closed Piece, and show the picture group.
The beneficial effect of the present embodiment is: full frame mode is exited by the way that setting is a variety of, to make to exit full frame mode It is more diversified.
The present invention also provides a kind of image display apparatus, comprising:
Receiving module, for receiving the selection operation to Target Photo in picture group;It include at least one in the picture group Picture;
Determining module, for determining the scaling point in the Target Photo;Wherein, the mesh is amplified based on the scaling point Mark on a map after piece, the both sides up and down of amplified Target Photo and/or the right and left can with the both sides up and down of the touch screen and/ Or the right and left is overlapped;
Amplification module, for amplifying the Target Photo based on the scaling point, so that the Target Photo is displayed in full screen.
In one embodiment, the determining module, comprising:
First determines submodule, for determining the cut-off rule of the Target Photo;The segmentation is parallel in Target Photo The distance between two sides of line and the cut-off rule ratio, equal to be parallel in touch screen two sides of the cut-off rule with it is described Distance ratio between cut-off rule;
Second determines submodule, for determining the central point of the Target Photo and the line institute of touch screen center point Straight line;
Third determines submodule, for determine the Target Photo cut-off rule and the straight line intersection point be the target Scaling point in picture.
In one embodiment, described first submodule is determined, comprising:
Obtain Target Photo first object while and the second mesh of first distance and Target Photo when touch screen first object Mark second distance while with the second target of touch screen;The first object is parallel while with second target;
Determine the ratio of the first distance and second distance;
The cut-off rule is determined according to the ratio of the first distance and second distance, so that the cut-off rule and the figure The ratio of piece first object side and the second target back gauge is equal to the ratio of the first distance and second distance.
In one embodiment, the amplification module, comprising:
4th determines submodule, is used for when amplifying the Target Photo based on the scaling point, if the Target Photo Both sides up and down and/or the right and left be overlapped with the both sides up and down of the touch screen and/or the right and left, it is determined that the target Picture has been displayed in full screen;
Stop submodule, continues to amplify the Target Photo for stopping.
In one embodiment, described device further include:
Module is reduced, for when receiving the clicking operation to the Target Photo of full screen display, according to the contracting A diminution Target Photo is put, so that the Target Photo size restoration is the size before amplification;
Processing module, it is full frame aobvious for closing when receiving the clicking operation to the Target Photo of full screen display The Target Photo shown, and show the picture group.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of image display method in one embodiment of the invention;
Fig. 2 is the flow chart of image display method in one embodiment of the invention;
Fig. 3 is the block diagram of image display apparatus in one embodiment of the invention;
Fig. 4 is the block diagram of image display apparatus in one embodiment of the invention.
Specific embodiment
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Fig. 1 is the flow chart of image display method in one embodiment of the invention, as shown in Figure 1, picture is shown in the present invention Method can be used for terminal, this method comprises the following steps S101-S103:
In step s101, the selection operation to Target Photo in picture group is received;Scheme in picture group including at least one Piece;
In step s 102, the scaling point in Target Photo is determined;Wherein, it after based on scaling point amplification target picture, puts The both sides up and down of Target Photo after big and/or the right and left can be overlapped with the both sides up and down of touch screen and/or the right and left;
In step s 103, based on scaling point amplification target picture, so that Target Photo is displayed in full screen.
Full screen display process when the present embodiment is mainly used in while showing the thumbnail of plurality of pictures.For example, providing When showing the picture of user in the community of picture sharing function, platform, website or mobile phone application, opened up in the form of thumbnail Show, the picture that user shares every time as a picture group, in the form of two-dimensional grid to all pictures in the picture group into Row shows that every picture is corresponded in a grid being shown in two-dimensional grid with breviary diagram form, for example, user has shared 9 Picture is then shown with 3 × 3 two-dimensional grid, and user has shared 4 pictures, then is opened up with 2 × 2 two-dimensional grid Show.While in exhibiting pictures group, coordinate of all pictures in two-dimensional grid in picture group is stored.
For user in the picture group that browsing oneself or other users are shared, all pictures in the picture group are with thumbnail What form was shown, if more clearly to watch certain picture, need to be displayed in full screen the picture.
In the present embodiment, when user needs to be displayed in full screen Target Photo, clicking operation is carried out to Target Photo, terminal is in root Before amplifying according to the clicking operation of the user received to Target Photo, the scaling point in the Target Photo, picture are determined After amplifying according to the scaling point, any two parallel edges of picture and two parallel edges of equidirectional upper touch screen can be made It is overlapped.That is, can directly be zoomed in and out according to the scaling point in the present embodiment, it is not necessary that Target Photo is placed in touch screen Center can be carried out amplifying, thus, simplify the process of full screen display.
The beneficial effects of the present invention are: a scaling point is determined in the Target Photo for needing to be displayed in full screen, and is being based on being somebody's turn to do After scaling point amplification target picture, Target Photo can be made to be displayed in full screen.Due to being not necessarily to using central point as scaling point, thus, Before Target Photo full screen display, without adjusting the position of Target Photo, full screen display process is simplified.
In one embodiment, as shown in Fig. 2, above-mentioned steps S102 can be implemented as following steps S201-S203:
In step s 201, the cut-off rule of Target Photo is determined;Two Bian Yufen of cut-off rule are parallel in Target Photo The distance between secant ratio, equal to two ratios of distance between side and cut-off rule for being parallel to cut-off rule in touch screen;
In step S202, the straight line where the central point of Target Photo and the line of touch screen center point is determined;
In step S203, the intersection point of the cut-off rule and straight line that determine Target Photo is the scaling point in Target Photo.
In the present embodiment, determine the cut-off rule of Target Photo, wherein be parallel in Target Photo two sides of cut-off rule with The distance between cut-off rule ratio, equal to two ratios of distance between side and cut-off rule for being parallel to cut-off rule in touch screen.
The straight line where the central point of Target Photo and the line of touch screen center point is determined, by the straight line and Target Photo Cut-off rule scaling point of the intersection point as Target Photo.
For example, touch screen the right and left is long side, upper and lower both sides are short side, and (picture is left on the basis of the right and left for picture Right both sides are overlapped with touch screen the right and left, are considered as full frame), determine the cut-off rule of target, the Target Segmentation line and touch screen are left The ratio of distances constant on right both sides, equal to the ratio of distances constant of the Target Segmentation line and Target Photo the right and left.On the cut-off rule Any point as scaling point zoom in and out when, can guarantee scaling after picture the right and left can simultaneously and touch screen Left and right ends are overlapped.
Determine the straight line where the central point of Target Photo and the line of the touch screen center point;Determine the Target Photo The angle point of cut-off rule and the straight line is the scaling point of Target Photo.
The beneficial effect of the present embodiment is: determining cut-off rule and the Target Photo central point and the touch of Target Photo Shield the line of central point, and using the intersection point of the cut-off rule and the line as the scaling point of Target Photo.To only it needs to be determined that The intersection point of two straight lines is assured that in Target Photo, can be achieved with the scaling point of full screen display without adjusting Pictures location, To provide a kind of simple scaling point method of determination.
In one embodiment, above-mentioned steps S201 can be implemented as following steps A1-A3:
In step A1, obtain Target Photo first object while and first distance and mesh when touch screen first object Second distance of the second target of piece of marking on a map while with the second target of touch screen;First object is parallel while with the second target;
In step A2, the ratio of first distance and second distance is determined;
In step A3, cut-off rule is determined according to the ratio of first distance and second distance, so that cut-off rule and picture the The ratio of one target side and the second target back gauge is equal to the ratio of first distance and second distance.
In the present embodiment, obtain the first object of Target Photo while and first distance when touch screen first object, and Second distance of the second target of Target Photo while with the second target of touch screen;The first object is parallel while with the second target, I.e. the two is all long side or is all short side.Determine the ratio of first distance and second distance;According to the first distance and second away from From ratio determine cut-off rule so that the ratio of cut-off rule and picture first object side and the second target back gauge be equal to first away from From the ratio with second distance.
For example, the present embodiment is on the basis of the right and left.Size, dimension of picture and the two center point coordinate of touch screen For known quantity, the first distance on the picture left side and the touch screen left side, picture the right and touch can be obtained according to these known quantities Shield the second distance on the right.After obtaining first distance and second distance, the ratio of first distance and second distance is determined, for example, When the ratio of first distance and second distance is 1 to 3, determining cut-off rule runs through picture up and down, and cut-off rule is apart from a picture left side Distance ratio of the distance and cut-off rule on side on the right of picture is also 1 to 3.
In one embodiment, above-mentioned steps S103 can be implemented as following steps B1-B2:
In step bl is determined, when based on scaling point amplification target picture, if the both sides up and down of Target Photo and/or left and right Both sides are overlapped with the both sides up and down of touch screen and/or the right and left, it is determined that Target Photo has been displayed in full screen;
In step B2, stop continuing amplification target picture.
In the present embodiment, when based on scaling point amplification target picture, if the both sides up and down of Target Photo and/or a left side Right both sides are overlapped with the both sides up and down of touch screen and/or the right and left, it is determined that Target Photo has been displayed in full screen;Stopping continues to put Big Target Photo.When i.e. the right and left of touch screen is overlapped with the right and left of the picture simultaneously or both sides up and down of touch screen When being overlapped simultaneously with the both sides up and down of picture or when the four edges of touch screen are overlapped with the four edges of picture simultaneously, all regard It has been displayed in full screen for picture, at this point, stopping continuing amplification target picture.
The beneficial effect of the present embodiment is: two sides of the same direction in any two parallel edges and screen in picture When coincidence, determine that Target Photo has been displayed in full screen, and stop continue amplification target picture, thus avoid continue amplification picture and Cause completely to show.
In one embodiment, above-mentioned steps S103 or above-mentioned steps B2 it, method can also be implemented as following steps C1 or C2:
In step C1, when receiving the clicking operation to the Target Photo of full screen display, mesh is reduced according to scaling point It marks on a map piece, so that Target Photo size restoration is the size before amplification;
In step C2, when receiving the clicking operation to the Target Photo of full screen display, the mesh of full screen display is closed It marks on a map piece, and shows picture group.
In the prior art, if it is desired to it exits full frame, then needs user to click on mobile terminal and exit key, it is mobile Terminal exits full screen display when receiving to the clicking operation for exiting key, and shows the picture where first object picture Group.Such mode, need to click the hardware button in mobile terminal just and can exit it is full frame, thus, user needs accurate place Hit exit button be just able to achieve exit it is full frame.In the present embodiment, the click to the picture of full screen display is received in mobile terminal When operation, then the picture of full screen display is closed.Since picture is full screen display, thus, in full-screen picture display, Yong Hudian Hitting all is clicking operation to the picture of full screen display from anywhere in touch screen.To only pass through any position to touch screen Carry out clicking operation can exit it is full frame, operation freedom degree it is higher.
When exiting full frame: Target Photo can be reduced according to scaling point, be put so that the picture of full screen display be reverted to Size before big, after the picture of full screen display to be reverted to the size before amplification, position is also located exactly at the position before amplification It sets;Alternatively, the Target Photo of full screen display can also be directly closed, meanwhile, the picture shown before the amplification of displaying target picture Group.
The beneficial effect of the present embodiment is: full frame mode is exited by the way that setting is a variety of, to make to exit full frame mode It is more diversified.
Fig. 3 is the block diagram of image display apparatus in one embodiment of the invention, as shown in figure 3, picture display dress in the present invention It sets and can be used for terminal, which includes following module:
Receiving module 31, for receiving the selection operation to Target Photo in picture group;It include at least one in picture group Picture;
Determining module 32, for determining the point of the scaling in Target Photo;Wherein, after based on scaling point amplification target picture, The both sides up and down of amplified Target Photo and/or the right and left being capable of both sides up and down with touch screen and/or the right and left weights It closes;
Amplification module 33, for being based on a scaling point amplification target picture, so that Target Photo is displayed in full screen.
In one embodiment, as shown in figure 4, determining module 32, comprising:
First determines submodule 41, for determining the cut-off rule of Target Photo;The two of cut-off rule are parallel in Target Photo The distance between side and cut-off rule ratio, equal to two ratios of distance between side and cut-off rule for being parallel to cut-off rule in touch screen;
Second determines submodule 42, straight where the central point of Target Photo and the line of touch screen center point for determining Line;
Third determines submodule 43, for determine Target Photo cut-off rule and straight line intersection point be Target Photo in contracting It puts a little.
In one embodiment, first submodule 41 is determined, comprising:
Obtain Target Photo first object while and the second mesh of first distance and Target Photo when touch screen first object Mark second distance while with the second target of touch screen;First object is parallel while with the second target;
Determine the ratio of first distance and second distance;
Cut-off rule is determined according to the ratio of first distance and second distance, so that cut-off rule and picture first object side and the The ratio of two target back gauges is equal to the ratio of first distance and second distance.
In one embodiment, amplification module 33, comprising:
4th determine submodule, for based on scaling point amplification target picture when, if the both sides up and down of Target Photo and/ Or the right and left is overlapped with the both sides up and down of touch screen and/or the right and left, it is determined that Target Photo has been displayed in full screen;
Stop submodule, continues amplification target picture for stopping.
In one embodiment, device further include:
Module is reduced, for being reduced according to scaling point when receiving the clicking operation to the Target Photo of full screen display Target Photo, so that Target Photo size restoration is the size before amplification;
Processing module, for closing full screen display when receiving the clicking operation to the Target Photo of full screen display Target Photo, and show picture group.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of image display method characterized by comprising
Receive the selection operation to Target Photo in picture group;It include an at least picture in the picture group;
Determine the scaling point in the Target Photo;Wherein, amplified after amplifying the Target Photo based on the scaling point The both sides up and down of Target Photo and/or the right and left can be overlapped with the both sides up and down of touch screen and/or the right and left;
Amplify the Target Photo based on the scaling point, so that the Target Photo is displayed in full screen;
The scaling point of the determination picture, comprising:
Determine the cut-off rule of the Target Photo;Be parallel in Target Photo the cut-off rule two sides and the cut-off rule it Between distance ratio, equal to being parallel to distance ratio between two sides of the cut-off rule and the cut-off rule in touch screen;
Determine the straight line where the central point of the Target Photo and the line of touch screen center point;
The intersection point of the cut-off rule and the straight line that determine the Target Photo is the scaling point in the Target Photo.
2. the method as described in claim 1, which is characterized in that the cut-off rule of the determination Target Photo, comprising:
Obtain Target Photo first object while and first distance and the second target of Target Photo side when touch screen first object With the second distance on the second target of touch screen side;The first object is parallel while with second target;
Determine the ratio of the first distance and second distance;
The cut-off rule is determined according to the ratio of the first distance and second distance, so that the cut-off rule and the picture the The ratio of one target side and the second target back gauge is equal to the ratio of the first distance and second distance.
3. the method as described in claim 1, which is characterized in that it is described that the Target Photo is amplified based on the scaling point, with It is displayed in full screen the Target Photo, comprising:
When amplifying the Target Photo based on the scaling point, if the both sides up and down of the Target Photo and/or the right and left It is overlapped with the both sides up and down of the touch screen and/or the right and left, it is determined that the Target Photo has been displayed in full screen;
Stopping continues to amplify the Target Photo.
4. method as claimed in any one of claims 1-3, which is characterized in that the method also includes:
When receiving the clicking operation to the Target Photo of full screen display, the target figure is reduced according to the scaling point Piece, so that the Target Photo size restoration is the size before amplification;
Or
When receiving the clicking operation to the Target Photo of full screen display, the Target Photo of full screen display is closed, And show the picture group.
5. a kind of image display apparatus characterized by comprising
Receiving module, for receiving the selection operation to Target Photo in picture group;Scheme in the picture group including at least one Piece;
Determining module, for determining the scaling point in the Target Photo;Wherein, the target figure is amplified based on the scaling point After piece, the both sides up and down of amplified Target Photo and/or the right and left can be with the both sides up and down and/or left and right two of touch screen Side is overlapped;
Amplification module, for amplifying the Target Photo based on the scaling point, so that the Target Photo is displayed in full screen;
The determining module, comprising:
First determines submodule, for determining the cut-off rule of the Target Photo;The cut-off rule is parallel in Target Photo The distance between two sides and the cut-off rule ratio, equal to two sides and the segmentation for being parallel to the cut-off rule in touch screen Distance ratio between line;
Second determines submodule, for where determining the central point of the Target Photo and the line of touch screen center point Straight line;
Third determines submodule, for determine the Target Photo cut-off rule and the straight line intersection point be the Target Photo In scaling point.
6. device as claimed in claim 5, which is characterized in that described first determines submodule, comprising:
Obtain Target Photo first object while and first distance and the second target of Target Photo side when touch screen first object With the second distance on the second target of touch screen side;The first object is parallel while with second target;
Determine the ratio of the first distance and second distance;
The cut-off rule is determined according to the ratio of the first distance and second distance, so that the cut-off rule and the picture the The ratio of one target side and the second target back gauge is equal to the ratio of the first distance and second distance.
7. device as claimed in claim 5, which is characterized in that the amplification module, comprising:
4th determines submodule, is used for when amplifying the Target Photo based on the scaling point, if the Target Photo is upper Lower both sides and/or the right and left are overlapped with the both sides up and down of the touch screen and/or the right and left, it is determined that the Target Photo It has been displayed in full screen;
Stop submodule, continues to amplify the Target Photo for stopping.
8. the device as described in any one of claim 5-7, which is characterized in that described device further include:
Module is reduced, for when receiving the clicking operation to the Target Photo of full screen display, according to the scaling point The Target Photo is reduced, so that the Target Photo size restoration is the size before amplification;
Processing module, for closing full screen display when receiving the clicking operation to the Target Photo of full screen display The Target Photo, and show the picture group.
CN201610833902.2A 2016-09-19 2016-09-19 A kind of image display method and device Expired - Fee Related CN106406702B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610833902.2A CN106406702B (en) 2016-09-19 2016-09-19 A kind of image display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610833902.2A CN106406702B (en) 2016-09-19 2016-09-19 A kind of image display method and device

Publications (2)

Publication Number Publication Date
CN106406702A CN106406702A (en) 2017-02-15
CN106406702B true CN106406702B (en) 2019-09-13

Family

ID=57997024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610833902.2A Expired - Fee Related CN106406702B (en) 2016-09-19 2016-09-19 A kind of image display method and device

Country Status (1)

Country Link
CN (1) CN106406702B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107680045B (en) * 2017-10-13 2021-06-04 广州酷狗计算机科技有限公司 Picture stretching method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870197A (en) * 2014-03-21 2014-06-18 天脉聚源(北京)传媒科技有限公司 Method and device for processing picture
CN104205031A (en) * 2014-02-24 2014-12-10 华为终端有限公司 Image zoom method and equipment
CN105139342A (en) * 2015-09-29 2015-12-09 天脉聚源(北京)教育科技有限公司 Method and device for zooming pictures

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205031A (en) * 2014-02-24 2014-12-10 华为终端有限公司 Image zoom method and equipment
CN103870197A (en) * 2014-03-21 2014-06-18 天脉聚源(北京)传媒科技有限公司 Method and device for processing picture
CN105139342A (en) * 2015-09-29 2015-12-09 天脉聚源(北京)教育科技有限公司 Method and device for zooming pictures

Also Published As

Publication number Publication date
CN106406702A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
US10664510B1 (en) Displaying clusters of media items on a map using representative media items
CN108027650B (en) Method for measuring angle between displays and electronic device using the same
US9026938B2 (en) Dynamic detail-in-context user interface for application access and content access on electronic displays
US7804508B2 (en) Viewing digital images on a display using a virtual loupe
US20180286098A1 (en) Annotation Transfer for Panoramic Image
US20130321617A1 (en) Adaptive font size mechanism
US10969949B2 (en) Information display device, information display method and information display program
US20120216149A1 (en) Method and mobile apparatus for displaying an augmented reality
WO2019085906A1 (en) Exposure calculation method and device, terminal, and readable storage medium
WO2017032078A1 (en) Interface control method and mobile terminal
CN104932773A (en) Information processing method and electronic equipment
US10965864B2 (en) Panoramic photograph with dynamic variable zoom
US10572127B2 (en) Display control of an image on a display screen
KR20150063953A (en) Apparatus and method for displaying images
CN107071273A (en) A kind of photographing instruction sending method and device
CN106406702B (en) A kind of image display method and device
CN106131533A (en) A kind of method for displaying image and terminal
CN109683798B (en) Text determination method, terminal and computer readable storage medium
JP6397508B2 (en) Method and apparatus for generating a personal input panel
CN107491239A (en) Icon management method and device, computer installation and readable storage medium storing program for executing
CN109582269B (en) Physical splicing screen display method and device and terminal equipment
KR102149283B1 (en) Method and computer program for providing map including real estate sales information
US10636117B2 (en) Distortion viewing with improved focus targeting
CN106445338A (en) Method and device for picture display
CN115129278A (en) Image display control method, system, readable storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A picture display method and device

Effective date of registration: 20210104

Granted publication date: 20190913

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001527

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190913

Termination date: 20210919