CN106502613A - A kind of method and device for Loading Image - Google Patents

A kind of method and device for Loading Image Download PDF

Info

Publication number
CN106502613A
CN106502613A CN201610938585.0A CN201610938585A CN106502613A CN 106502613 A CN106502613 A CN 106502613A CN 201610938585 A CN201610938585 A CN 201610938585A CN 106502613 A CN106502613 A CN 106502613A
Authority
CN
China
Prior art keywords
viewing area
target photo
picture
loaded
picture fragment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610938585.0A
Other languages
Chinese (zh)
Other versions
CN106502613B (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.)
Xi'an Jialun Cultural Media Co ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201610938585.0A priority Critical patent/CN106502613B/en
Publication of CN106502613A publication Critical patent/CN106502613A/en
Application granted granted Critical
Publication of CN106502613B publication Critical patent/CN106502613B/en
Active 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • G06F3/1462Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay with means for detecting differences between the image stored in the host and the images displayed on the remote displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to technical field of picture display, more particularly to a kind of method and device for Loading Image, including:Obtain the image resolution ratio of Target Photo and the display resolution of the viewing area for display target picture;Judge image resolution ratio whether more than display resolution;When image resolution ratio is more than display resolution, Target Photo is divided into some picture fragments;Show rule according to default, picture fragment corresponding with the indication range of viewing area is loaded in viewing area.The present invention is split by the Target Photo by image resolution ratio more than the display resolution of viewing area, obtain some picture fragments, and picture fragment corresponding with the indication range of viewing area is loaded in viewing area according to default display rule, remaining picture fragment being located at outside the indication range of viewing area wouldn't be loaded, so as to save the consumption of Installed System Memory, the display image quality of picture is can also ensure that, while also improving the speed for Loading Image, Consumer's Experience is good.

Description

A kind of method and device for Loading Image
Technical field
A kind of the present invention relates to technical field of picture display, more particularly to method and device for Loading Image.
Background technology
With the continuous development of Display Technique, the screen resolution more and more higher of all kinds of display devices, accordingly to picture Definition requirement also more and more higher, high definition picture has become the basic demand that picture shows.However, clear due to picture More high then its memory capacity of clear degree is bigger, and the memory capacity of usual high definition picture in more than 1MB, hold by the storage of some high definition pictures Amount is even up to more than 10MB.
In order to meet the maximum memory of system distribution, in the prior art, for the display of high definition picture, generally select sacrificial The definition of domestic animal picture, is first compressed to picture, then by compression after picture carry out loaded and displayed, so as to cause to be shown to The picture image quality of user is poor, affects the experience of user, it is impossible to meet the demand of user.
Content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State the method and device for Loading Image of problem.
The embodiment of the present invention provides a kind of method for Loading Image, including:
Obtain the image resolution ratio of Target Photo and the display resolution for showing the viewing area of the Target Photo Rate;
Judge described image resolution whether more than the display resolution;
When described image resolution is more than the display resolution, the Target Photo is divided into some picture pieces Section;
Show rule according to default, picture fragment corresponding with the indication range of the viewing area is loaded into described aobvious Show in region.
Preferably, described the Target Photo is divided into some picture fragments, including:
Based on the memory capacity of the Target Photo, total dividing number of the Target Photo is determined;
Based on total dividing number and the length-width ratio of the Target Photo, the Target Photo is determined in the longitudinal direction The first dividing number and the Target Photo the second dividing number in the direction of the width;
The Target Photo is split according to first dividing number and second dividing number.
Preferably, described according to default display rule, by picture fragment corresponding with the indication range of the viewing area It is loaded in the viewing area, including:
The center of the viewing area is corresponding with the center of the Target Photo, successively by with the viewing area The corresponding picture fragment of indication range is loaded in the viewing area;Or
Will be corresponding with the corresponding vertex of the Target Photo for arbitrary summit of the viewing area, successively will be aobvious with described Show that the corresponding picture fragment of indication range in region is loaded in the viewing area.
Preferably, show rule described according to default, by picture piece corresponding with the indication range of the viewing area After section is loaded in the viewing area, methods described also includes:
Slide instruction of the receive user in the viewing area;
Instructed according to the slide, determine the newly-increased picture fragment in the viewing area to be loaded;
The newly-increased picture fragment is loaded into the corresponding position in the viewing area.
Preferably, described the newly-increased picture fragment is loaded into the corresponding position in the viewing area after, Methods described also includes:
The data cached of picture fragment replaced by the newly-increased picture fragment in the viewing area is deleted.
Same inventive concept is based on, the embodiment of the present invention also provides a kind of device for Loading Image, including:
Acquisition module, for obtaining the image resolution ratio of Target Photo and viewing area for showing the Target Photo The display resolution in domain;
Whether judge module, for judging described image resolution more than the display resolution;
Segmentation module, for when described image resolution is more than the display resolution, the Target Photo being split Into some picture fragments;
First load-on module, for showing rule according to default, by figure corresponding with the indication range of the viewing area Piece fragment is loaded in the viewing area.
Preferably, the segmentation module, including:
First determining unit, for the memory capacity based on the Target Photo, determines total segmentation of the Target Photo Quantity;
Second determining unit, for the length-width ratio based on total dividing number and the Target Photo, determines the mesh Piece the first dividing number and the Target Photo in the longitudinal direction of marking on a map the second dividing number in the direction of the width;
Cutting unit, for carrying out to the Target Photo according to first dividing number and second dividing number Segmentation.
Preferably, first load-on module, including:
First loading unit, for the center of the viewing area is corresponding with the center of the Target Photo, successively Picture fragment corresponding with the indication range of the viewing area is loaded in the viewing area;Or
Second loading unit, for will be relative with the corresponding vertex of the Target Photo for arbitrary summit of the viewing area Should, successively picture fragment corresponding with the indication range of the viewing area is loaded in the viewing area.
Preferably, described device also includes:
Receiving module, the slide instruction for receive user in the viewing area;
Determining module, for instructing according to the slide, determines the newly-increased figure in the viewing area to be loaded Piece fragment;
Second load-on module, for being loaded into the corresponding position in the viewing area by the newly-increased picture fragment.
Preferably, described device also includes:
Removing module, the caching of the picture fragment for will be replaced by the newly-increased picture fragment in the viewing area Data are deleted.
One or more technical schemes in the embodiment of the present invention, at least have the following technical effect that or advantage:
The present invention is more than the Target Photo of the display resolution of viewing area for image resolution ratio, by Target Photo Split, obtained some picture fragments, and by picture fragment corresponding with the indication range of viewing area according to default display Rule is loaded in viewing area, and remaining picture fragment being located at outside the indication range of viewing area wouldn't be loaded, so as to save The consumption of Installed System Memory, additionally it is possible to ensure the display image quality of picture, while also improving the speed for Loading Image, Consumer's Experience Good.
Description of the drawings
By reading the detailed description of hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, identical part is represented with identical reference pattern.In the accompanying drawings:
The flow chart that Fig. 1 shows a kind of method for Loading Image of the embodiment of the present invention;
Fig. 2 shows schematic diagram of the Target Photo of the embodiment of the present invention before segmentation;
Fig. 3 shows the Target Photo of embodiment of the present invention schematic diagram after singulation;
Fig. 4 shows a kind of structure chart of device for Loading Image of the embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
The embodiment of the present invention provides a kind of method for Loading Image, and is applied in the electronic equipment comprising display unit, its In, correspondingly there is display unit a viewing area, electronic equipment can adopt ARIXTRA (Android) system.As shown in figure 1, institute The method of stating is comprised the following steps:
Step 101:Obtain the image resolution ratio of Target Photo and the display of the viewing area for display target picture Resolution.
Step 102:Judge image resolution ratio whether more than display resolution.
Step 103:When image resolution ratio is more than display resolution, Target Photo is divided into some picture fragments.
Specifically, for the segmentation of Target Photo, in a kind of specific embodiment, first, based on Target Photo Memory capacity, determine total dividing number of Target Photo.Generally, shown in the display unit of Android device The preferable capacity range for storage of single picture is 500Kb~1Mb, therefore, it can determine that in the range of preferable storage one is default single Individual picture fragment memory capacity, such as 800Kb.So as to when the memory capacity of the every pictures fragment being partitioned into all is controlled default During single picture fragment memory capacity, the picture being made up of some picture fragments will have more preferable display effect.
Further, according to the memory capacity of the memory capacity and default single picture fragment of Target Photo, determine target Total dividing number of picture.Wherein, the memory capacity of Target Photo can pass through to obtain in Target Photo attribute information.Wherein, Formula for determining total dividing number of Target Photo is as follows:Wherein, memory capacity of the A for Target Photo, B is pre- If the memory capacity of single picture fragment, total dividing number of the C for Target Photo.
During application above-mentioned formula, the memory capacity of the memory capacity of Target Photo and default single picture fragment Unit need to be consistent, if both units are inconsistent, need first to carry out unit conversion, for example, if Target Photo storage hold The unit of amount be Mb, and preset single picture fragment memory capacity unit be Kb when, can by the unit of Target Photo turn It is changed to Kb.If the numerical value bag for the obtaining in addition, memory capacity of Target Photo is divided by with the memory capacity for presetting single picture fragment Containing remainder, then by remainder carry, so that total dividing number of Target Photo is integer, for example, the memory capacity of Target Photo For 23Mb, the memory capacity of presetting single picture fragment is 800Kb, then total dividing number of the Target Photo for obtaining after carry is 30, total dividing number of the Target Photo for finally giving is the total quantity for needing to be divided into Target Photo picture fragment.
It should be noted that the preferable memory capacity of single picture fragment correspondingly shown by different display units can Can be different, those skilled in the art can determine the memory capacity for presetting single picture fragment according to practical situation, for example, select Memory capacity of the 1Mb as default single picture fragment, or, select 500K to hold as the storage for presetting single picture fragment Amount, the application are not limited.
Further, as picture is generally shown according to certain Aspect Ratio, therefore, the total score of Target Photo is being obtained After cutting quantity, based on total dividing number and the length-width ratio of Target Photo, first point in the longitudinal direction of Target Photo is determined Cut quantity and Target Photo the second dividing number in the direction of the width.For example, the length-width ratio of Target Photo is 4: 3, calculates Total dividing number of the Target Photo for going out is 30, then, for determine the first dividing number and the second dividing number formula such as Under:
Wherein, D is Target Photo the first dividing number in the longitudinal direction, E be Target Photo in the direction of the width Second dividing number, length-width ratios of the F for Target Photo.Wherein, during application above-mentioned formula, if the first dividing number There is remainder with the second dividing number, equally, by remainder carry so that the first dividing number and the second dividing number be whole Number.
Further, Target Photo is split according to the first dividing number and the second dividing number.Specifically, each figure The computing formula of the length of piece fragment and the width of each picture fragment is as follows:
Wherein, G is the length of each picture fragment, and H is the width of each picture fragment, and Fl is the length of Target Photo, Width of the F2 for Target Photo.So as to Target Photo just can be divided into phase by the length and width according to every pictures fragment The equal portions that answers.
In specific implementation process, Target Photo can be calculated in length direction according to the Math functions in Android With the quantity of the picture fragment that splits on width, further, the sqrt functions in needing using Math when calculating ask flat Root, specifically, tries to achieve the first dividing number and the second dividing number using sqrt functions, due to the first dividing number that tries to achieve It is double with the type of the second dividing number, the type of picture fragment should be integer, the ceil in therefore, it can using Math Function carry is rounded.In the same manner, it is also possible to which total dividing number carry of the ceil function pair Target Photos in using Math is rounded.
In this application, during the first dividing number and the second dividing number is determined, if the first dividing number and There is remainder in the second dividing number, then after segmentation object picture, according to the first dividing number after rounding, after rounding second Dividing number and the size of Target Photo, to segmentation after Target Photo be left white.Wherein, position is left white positioned at Target Photo Surrounding.Specifically, there is remainder in the first dividing number when Target Photo in the longitudinal direction, then, splitting number by first Measure whole after, by rounding after the first dividing number be multiplied by the length of every pictures fragment after deduct the length of Target Photo Degree, obtain Target Photo in the longitudinal direction be left white size.When Target Photo the second dividing number in the direction of the width is deposited In remainder, then, after the second dividing number is rounded, by rounding after the second dividing number be multiplied by every pictures fragment Deduct the width of Target Photo after width, obtain Target Photo in the direction of the width be left white size.Finally, according to the mesh for obtaining Mark on a map piece length direction be left white size and the size that is left white in the direction of the width is left white to the surrounding of Target Photo, So that the picture ratio of the Target Photo being spliced by some picture fragments after segmentation is adapted to original object picture Ratio.
When picture segmentation is carried out, it is possible to use the Bitmap.createBitmap in Android carrying out, after segmentation Picture fragment save as bitmap forms, and store in ImageCache objects, the object includes 3 parameters, 3 parameters Respectively:The position on long side, the position of picture fragment minor face in picture array in picture fragment picture array after singulation, And the bitmap objects of picture fragment.After each picture fragment is respectively obtained, by the long side of each picture fragment and minor face Position stored in corresponding ImageCache objects in the lump, and created spliced map later by convenient in list for object storage Piece.Wherein, the schematic diagram of the Target Photo before splitting and after segmentation corresponds to Fig. 2 and Fig. 3 respectively.
Further, after step 102, when the image resolution ratio of Target Photo is equal to or less than the display point of viewing area During resolution, show electronic equipment display unit can system be its distribute internal memory in the case of Target Photo is carried out plus Carry and show, therefore without the need for splitting to Target Photo, Target Photo can be loaded into viewing area directly.
Step 104:Show rule according to default, picture fragment corresponding with the indication range of viewing area is loaded into aobvious Show in region.
Wherein, in a kind of specific embodiment, can be relative with the center of Target Photo by the center of viewing area Should, successively picture fragment corresponding with the indication range of viewing area is loaded in viewing area.That is, in Target Photo The heart is loaded into some picture fragments corresponding with the indication range of viewing area in viewing area as display centre, so as to, User can see the parts of images of the center position of Target Photo in viewing area.And, in another kind of specific embodiment party In formula, can will be corresponding with the corresponding vertex of Target Photo for arbitrary summit of viewing area, successively will be aobvious with viewing area Demonstration is enclosed corresponding picture fragment and is loaded in viewing area, i.e. using the border of Target Photo as border is shown, will be with display The corresponding some picture fragments of the indication range in region are loaded in viewing area, so as to user can be seen in viewing area The parts of images of the boundary of Target Photo, for example, by corresponding with the upper left corner of Target Photo for the upper left corner of viewing area enter Row shows.
In specific implementation process, can be by creating GridView come the fragment that Loads Image.Specifically, use GridView creating list, and using segmentation after picture fragment quantity in length and width directions incoming as In overall framework, picture fragment is inserted by traveling through list.Further, GridView first needs to create an adapter Come the parameter being adapted in list, when list is traveled through, the long width position in each picture fragment is read out, successively which is right Picture fragment data as in are put into correspondence position, in order to show.During GridView is created, in order to eliminate control sheet Configuration in GridView can be set to android by impact of the gap of body to picture:ListSelector="@ NULL".Finally, according to the rule of GridView in Android, when the item in GridView is in viewing area, to corresponding Item loaded, the item outside viewing area is not loaded.Wherein, each item in GridView is correspondingly each Individual picture fragment.
Further, after step 104, the method for Loading Image of the application can also include:
Slide instruction of the receive user in viewing area, instructs according to slide, determines to be loaded display Newly-increased picture fragment in region, the corresponding position newly-increased picture fragment being loaded in viewing area.
Specifically, it is not carried in browse when user pulls the GridView controls in viewing area by slide During other picture fragments in viewing area, instructed by the slide of receive user, instructed according to slide, determined Newly-increased picture fragment in viewing area to be loaded, wherein, newly-increased picture fragment is to belong to Target Photo and current time The picture fragment not being carried in viewing area.Newly-increased picture pic fragment is being loaded into the correspondence position in viewing area Afterwards, cached in systems by the picture fragment that newly-increased picture fragment is replaced.For example, when user carries out slide to the left, The right side for being located at the picture fragment of the viewing area rightmost side under the current time fragment that do not Load Image is defined as newly-increased picture then Fragment, and the correspondence position newly-increased picture fragment being loaded in subsequent time in viewing area, meanwhile, by newly-increased picture fragment Replace the picture fragment positioned at the viewing area leftmost side.
The application is more than the Target Photo of the display resolution of viewing area for image resolution ratio, by Target Photo Split, obtained some picture fragments, and by picture fragment corresponding with the indication range of viewing area according to default display Rule is loaded in viewing area, and remaining picture fragment being located at outside the indication range of viewing area wouldn't be loaded, when user enters When line slip is operated, then the picture fragment of corresponding position is shown, so as to save the consumption of Installed System Memory, additionally it is possible to Ensure the display image quality of picture, while the speed for Loading Image is also improved, particularly with the picture of more than 10Mb, can be effective Ground improves loading velocity, and Consumer's Experience is good, also, the application is can achieve to super large without the need for adding new control for electronic equipment The loading of picture.
Further, after the corresponding position being loaded into newly-increased picture fragment in viewing area, methods described is also wrapped Include:
The data cached of picture fragment replaced by the newly-increased picture fragment in viewing area is deleted.This Shen Installed System Memory can please be further saved by deleting to the data for caching, alleviate internal memory and Load Image the pressure of consumption.
Same inventive concept is based on, the embodiment of the present invention also provides a kind of device for Loading Image, the dress for Loading Image Put corresponding with the method for Loading Image in previous embodiment, as shown in figure 4, described device includes:
Acquisition module 201, for obtaining the image resolution ratio of Target Photo and for showing the aobvious of the Target Photo Show the display resolution in region;
Whether judge module 202, for judging described image resolution more than the display resolution;
Segmentation module 203, for when described image resolution is more than the display resolution, by the Target Photo point It is cut into some picture fragments;
First load-on module 204, for showing rule according to default, will be corresponding with the indication range of the viewing area Picture fragment is loaded in the viewing area.
Wherein, split module 203, including:
First determining unit, for the memory capacity based on the Target Photo, determines total segmentation of the Target Photo Quantity;
Second determining unit, for the length-width ratio based on total dividing number and the Target Photo, determines the mesh Piece the first dividing number and the Target Photo in the longitudinal direction of marking on a map the second dividing number in the direction of the width;
Cutting unit, for carrying out to the Target Photo according to first dividing number and second dividing number Segmentation.
Wherein, the first load-on module 204, including:
First loading unit, for the center of the viewing area is corresponding with the center of the Target Photo, successively Picture fragment corresponding with the indication range of the viewing area is loaded in the viewing area;Or
Second loading unit, for will be relative with the corresponding vertex of the Target Photo for arbitrary summit of the viewing area Should, successively picture fragment corresponding with the indication range of the viewing area is loaded in the viewing area.
Wherein, described device can also include:
Receiving module, the slide instruction for receive user in the viewing area;
Determining module, for instructing according to the slide, determines the newly-increased figure in the viewing area to be loaded Piece fragment;
Second load-on module, for being loaded into the corresponding position in the viewing area by the newly-increased picture fragment.
Wherein, described device can also include:
Removing module, the caching of the picture fragment for will be replaced by the newly-increased picture fragment in the viewing area Data are deleted.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
The present invention is more than the Target Photo of the display resolution of viewing area for image resolution ratio, by Target Photo Split, obtained some picture fragments, and by picture fragment corresponding with the indication range of viewing area according to default display Rule is loaded in viewing area, and remaining picture fragment being located at outside the indication range of viewing area wouldn't be loaded, so as to save The consumption of Installed System Memory, additionally it is possible to ensure the display image quality of picture, while also improving the speed for Loading Image, Consumer's Experience Good.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into the had altered of the scope of the invention and change.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (10)

1. a kind of method for Loading Image, it is characterised in that include:
Obtain the image resolution ratio of Target Photo and the display resolution for showing the viewing area of the Target Photo;
Judge described image resolution whether more than the display resolution;
When described image resolution is more than the display resolution, the Target Photo is divided into some picture fragments;
Show rule according to default, picture fragment corresponding with the indication range of the viewing area is loaded into the viewing area In domain.
2. the method for Loading Image as claimed in claim 1, it is characterised in that described the Target Photo is divided into some Picture fragment, including:
Based on the memory capacity of the Target Photo, total dividing number of the Target Photo is determined;
Based on total dividing number and the length-width ratio of the Target Photo, in the longitudinal direction of the Target Photo is determined One dividing number and the Target Photo the second dividing number in the direction of the width;
The Target Photo is split according to first dividing number and second dividing number.
3. the method for Loading Image as claimed in claim 1, it is characterised in that described according to default display rule, will be with institute The corresponding picture fragment of indication range for stating viewing area is loaded in the viewing area, including:
The center of the viewing area is corresponding with the center of the Target Photo, successively by the display with the viewing area The corresponding picture fragment of scope is loaded in the viewing area;Or
Will be corresponding with the corresponding vertex of the Target Photo for arbitrary summit of the viewing area, successively will be with the viewing area The corresponding picture fragment of the indication range in domain is loaded in the viewing area.
4. the method for Loading Image as claimed in claim 1, it is characterised in that show rule according to default described, will be with After the corresponding picture fragment of the indication range of the viewing area is loaded in the viewing area, methods described also includes:
Slide instruction of the receive user in the viewing area;
Instructed according to the slide, determine the newly-increased picture fragment in the viewing area to be loaded;
The newly-increased picture fragment is loaded into the corresponding position in the viewing area.
5. the method for Loading Image as claimed in claim 4, it is characterised in that the newly-increased picture fragment is loaded described After corresponding position Dao the viewing area in, methods described also includes:
The data cached of picture fragment replaced by the newly-increased picture fragment in the viewing area is deleted.
6. a kind of device for Loading Image, it is characterised in that include:
Acquisition module, for obtaining the image resolution ratio of Target Photo and for showing the viewing area of the Target Photo Display resolution;
Whether judge module, for judging described image resolution more than the display resolution;
Segmentation module, for when described image resolution is more than the display resolution, if the Target Photo is divided into Dry picture fragment;
First load-on module, for showing rule according to default, by picture piece corresponding with the indication range of the viewing area Section is loaded in the viewing area.
7. the device for Loading Image as claimed in claim 6, it is characterised in that the segmentation module, including:
First determining unit, for the memory capacity based on the Target Photo, determines total dividing number of the Target Photo;
Second determining unit, for the length-width ratio based on total dividing number and the Target Photo, determines the target figure Piece the first dividing number and the Target Photo in the longitudinal direction the second dividing number in the direction of the width;
Cutting unit, for carrying out to the Target Photo point according to first dividing number and second dividing number Cut.
8. the device for Loading Image as claimed in claim 6, it is characterised in that first load-on module, including:
First loading unit, for the center of the viewing area is corresponding with the center of the Target Photo, successively will be with The corresponding picture fragment of the indication range of the viewing area is loaded in the viewing area;Or
Second loading unit, for will be corresponding with the corresponding vertex of the Target Photo for arbitrary summit of the viewing area, Successively picture fragment corresponding with the indication range of the viewing area is loaded in the viewing area.
9. the device for Loading Image as claimed in claim 6, it is characterised in that described device also includes:
Receiving module, the slide instruction for receive user in the viewing area;
Determining module, for instructing according to the slide, determines the newly-increased picture piece in the viewing area to be loaded Section;
Second load-on module, for being loaded into the corresponding position in the viewing area by the newly-increased picture fragment.
10. the device for Loading Image as claimed in claim 9, it is characterised in that described device also includes:
Removing module, for the data cached of the picture fragment that will be replaced by the newly-increased picture fragment in the viewing area Deleted.
CN201610938585.0A 2016-10-25 2016-10-25 A kind of method and device to Load Image Active CN106502613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610938585.0A CN106502613B (en) 2016-10-25 2016-10-25 A kind of method and device to Load Image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610938585.0A CN106502613B (en) 2016-10-25 2016-10-25 A kind of method and device to Load Image

Publications (2)

Publication Number Publication Date
CN106502613A true CN106502613A (en) 2017-03-15
CN106502613B CN106502613B (en) 2019-08-23

Family

ID=58319208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610938585.0A Active CN106502613B (en) 2016-10-25 2016-10-25 A kind of method and device to Load Image

Country Status (1)

Country Link
CN (1) CN106502613B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107123078A (en) * 2017-04-25 2017-09-01 北京小米移动软件有限公司 The method and device of display image
CN107193887A (en) * 2017-04-28 2017-09-22 武汉斗鱼网络科技有限公司 A kind of method and device for the resource that Loads Image
CN107608731A (en) * 2017-09-15 2018-01-19 广州优视网络科技有限公司 A kind of picture loading method and device
CN108040144A (en) * 2017-12-13 2018-05-15 广东欧珀移动通信有限公司 Electronic device, image drawing method and Related product
CN108255551A (en) * 2017-12-20 2018-07-06 深圳市纽格力科技有限公司 A kind of GUI Memory Optimize Methods and system
CN108845961A (en) * 2018-06-29 2018-11-20 武汉斗鱼网络科技有限公司 A kind of creation vertex buffer method, apparatus and readable storage medium storing program for executing
CN109213460A (en) * 2017-07-06 2019-01-15 贵阳朗玛信息技术股份有限公司 Image display method and apparatus
CN110415645A (en) * 2019-08-14 2019-11-05 昆山维信诺科技有限公司 Image display method, device and the driving chip of PMOLED mould group
CN111273884A (en) * 2020-01-20 2020-06-12 北京无限光场科技有限公司 Image display method and device and electronic equipment
CN111381749A (en) * 2018-12-28 2020-07-07 广州市百果园信息技术有限公司 Image display and processing method, device, equipment and storage medium
CN114003156A (en) * 2021-10-14 2022-02-01 深圳Tcl新技术有限公司 Display method, display device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679570A (en) * 2015-03-24 2015-06-03 新余兴邦信息产业有限公司 Image loading display method, equipment and system
CN104679466A (en) * 2013-11-29 2015-06-03 腾讯科技(深圳)有限公司 Image display method and device and electronic device
CN105139792A (en) * 2015-08-18 2015-12-09 京东方科技集团股份有限公司 Display method and display device
CN105741300A (en) * 2016-02-03 2016-07-06 浙江科澜信息技术有限公司 Region segmentation screenshot method
CN105959727A (en) * 2016-05-24 2016-09-21 深圳Tcl数字技术有限公司 Video processing method and device
CN105957014A (en) * 2016-06-13 2016-09-21 天脉聚源(北京)传媒科技有限公司 Picture adaptive display method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679466A (en) * 2013-11-29 2015-06-03 腾讯科技(深圳)有限公司 Image display method and device and electronic device
CN104679570A (en) * 2015-03-24 2015-06-03 新余兴邦信息产业有限公司 Image loading display method, equipment and system
CN105139792A (en) * 2015-08-18 2015-12-09 京东方科技集团股份有限公司 Display method and display device
CN105741300A (en) * 2016-02-03 2016-07-06 浙江科澜信息技术有限公司 Region segmentation screenshot method
CN105959727A (en) * 2016-05-24 2016-09-21 深圳Tcl数字技术有限公司 Video processing method and device
CN105957014A (en) * 2016-06-13 2016-09-21 天脉聚源(北京)传媒科技有限公司 Picture adaptive display method and apparatus

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107123078A (en) * 2017-04-25 2017-09-01 北京小米移动软件有限公司 The method and device of display image
CN107193887A (en) * 2017-04-28 2017-09-22 武汉斗鱼网络科技有限公司 A kind of method and device for the resource that Loads Image
CN107193887B (en) * 2017-04-28 2019-01-29 武汉斗鱼网络科技有限公司 A kind of method and device for the resource that Loads Image
CN109213460A (en) * 2017-07-06 2019-01-15 贵阳朗玛信息技术股份有限公司 Image display method and apparatus
CN107608731A (en) * 2017-09-15 2018-01-19 广州优视网络科技有限公司 A kind of picture loading method and device
CN108040144A (en) * 2017-12-13 2018-05-15 广东欧珀移动通信有限公司 Electronic device, image drawing method and Related product
CN108255551A (en) * 2017-12-20 2018-07-06 深圳市纽格力科技有限公司 A kind of GUI Memory Optimize Methods and system
CN108255551B (en) * 2017-12-20 2021-05-28 深圳市纽格力科技有限公司 GUI memory optimization method and system
CN108845961A (en) * 2018-06-29 2018-11-20 武汉斗鱼网络科技有限公司 A kind of creation vertex buffer method, apparatus and readable storage medium storing program for executing
CN108845961B (en) * 2018-06-29 2020-07-10 武汉斗鱼网络科技有限公司 Method and device for creating vertex buffer area and readable storage medium
CN111381749A (en) * 2018-12-28 2020-07-07 广州市百果园信息技术有限公司 Image display and processing method, device, equipment and storage medium
CN110415645A (en) * 2019-08-14 2019-11-05 昆山维信诺科技有限公司 Image display method, device and the driving chip of PMOLED mould group
CN111273884A (en) * 2020-01-20 2020-06-12 北京无限光场科技有限公司 Image display method and device and electronic equipment
CN114003156A (en) * 2021-10-14 2022-02-01 深圳Tcl新技术有限公司 Display method, display device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106502613B (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN106502613A (en) A kind of method and device for Loading Image
US10445914B2 (en) Method and apparatus for contextually varying imagery on a map
US9824423B1 (en) Data overlay for animated map traffic display and method of rapidly loading animated raster data
KR101785982B1 (en) Method and apparatus for generating mosaic image
CN107358649B (en) Processing method and device of terrain file
US20120050285A1 (en) 3d building generalization for digital map applications
CN104995657B (en) System and method for adjusting image size
CN103595791A (en) Cloud accessing method for mass remote sensing data
US9679349B2 (en) Method for visualizing three-dimensional data
CN106020632A (en) Self-adaptive display method and self-adaptive display device for pages
CN107170040A (en) A kind of three-dimensional bridge scenario building method and apparatus
CN114239508A (en) Form restoration method and device, storage medium and electronic equipment
CN114066714A (en) Batch rendering method, device, equipment and storage medium
CN105139345B (en) A kind of automatic search method of high-quality non-standard gamma curve
CN112843700A (en) Terrain image generation method and device, computer equipment and storage medium
CN108627884B (en) Meteorological data processing method and device
CN110866875A (en) Image texture correction method and device
CN116149773A (en) Oblique photography model display method and device and electronic equipment
CN111414104A (en) Electronic map local display method and device
CN112330769B (en) Method and device for generating dotted line texture and electronic equipment
CN105474268A (en) Image display system
Zhang et al. High performance texture streaming and rendering of large textured 3d cities
CN106991643B (en) Real-time line checking method and real-time line checking system with low resource consumption
KR102387264B1 (en) System and method for displaying of web vector map based on inline frame
CN112783994B (en) Equipment information display method and device, client and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231106

Address after: 710000, Room 2704, 27th Floor, Building 95, Times Square, South China City 1668, International Port Area, Xi'an City, Shaanxi Province

Patentee after: Xi'an Jialun Cultural Media Co.,Ltd.

Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.