CN107506119A - A kind of image display method, device, equipment and storage medium - Google Patents

A kind of image display method, device, equipment and storage medium Download PDF

Info

Publication number
CN107506119A
CN107506119A CN201710680507.XA CN201710680507A CN107506119A CN 107506119 A CN107506119 A CN 107506119A CN 201710680507 A CN201710680507 A CN 201710680507A CN 107506119 A CN107506119 A CN 107506119A
Authority
CN
China
Prior art keywords
picture
size
actual displayed
user
operational order
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
CN201710680507.XA
Other languages
Chinese (zh)
Other versions
CN107506119B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710680507.XA priority Critical patent/CN107506119B/en
Publication of CN107506119A publication Critical patent/CN107506119A/en
Application granted granted Critical
Publication of CN107506119B publication Critical patent/CN107506119B/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/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/04842Selection of displayed objects or displayed text elements
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Abstract

The embodiment of the invention discloses a kind of image display method, device, equipment and storage medium, methods described includes:Operational order of the user to picture is parsed, the actual displayed size of picture is calculated according to analysis result;Judge whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then the picture is decoded and shown by the actual displayed size of the picture.The internal memory during display of current page picture has been saved, has solved the problems, such as EMS memory occupation when single page has a large amount of pictures while shown.

Description

A kind of image display method, device, equipment and storage medium
Technical field
The present invention relates to Display Technique, more particularly to a kind of image display method, device, equipment and storage medium.
Background technology
When picture needs to show on the computer screen, actual imaging effect when picture is shown should by what is loaded in internal memory The pixel of picture determines, then parses picture pixels and finally could be shown on screen, and each parsed Pixel all committed memories.For very big picture, such as high-resolution list reflection of light piece or microblogging length figure, will take during display non- Often big memory headroom.
Because traditional picture checks that software is to check a pictures every time, thus, there is no because committed memory is excessive And the problem of causing collapse.But for that in typesetting class software, can exist and the big figure of more high definition in single typesetting page be present Situation, while other software operation also needs to committed memory, so, it is big that multiple high definitions can not be put down in single typesetting page Figure.
In the prior art, generally the picture shown being loaded into internal memory and shown, not shown part removes internal memory, Can only so solve the problems, such as that EMS memory occupation is excessive and collapses when picture is distributed in the different pages.
The content of the invention
The embodiment of the present invention provides a kind of image display method, device, equipment and storage medium, has saved current page picture Internal memory during display, solves the problems, such as EMS memory occupation when single page has a large amount of pictures while shown.
In a first aspect, the embodiment of the present invention provides a kind of image display method, methods described includes:
Operational order of the user to picture is parsed, the actual displayed size of picture is calculated according to analysis result;
Judge whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then showing by the reality of the picture Show that size is decoded and shown to the picture.
Second aspect, the embodiments of the invention provide a kind of image display apparatus, described device includes:
Command analysis module, for parsing operational order of the user to picture, the reality of picture is calculated according to analysis result Display size;
First display module, for judging whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then pressing The actual displayed size of the picture is decoded and shown to the picture.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in Realized on memory and the computer program that can run on a processor, during the computing device described program as the present invention is real Apply any described a kind of image display method in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, a kind of image display method as described in any in the embodiment of the present invention is realized when the program is executed by processor.
In the embodiment of the present invention, by parsing operational order of the user to picture, the reality of picture is calculated according to analysis result Border display size, when the actual displayed size of picture is less than predetermined threshold value, picture is carried out by the actual displayed size of picture Decode and show.The internal memory during display of current page picture has been saved, has been solved interior when single page has a large amount of pictures while shown Deposit occupation problem.
Brief description of the drawings
Fig. 1 is a kind of flow chart of image display method in the embodiment of the present invention one;
Fig. 2 a are a kind of flow charts of image display method in the embodiment of the present invention two;
Fig. 2 b are a kind of time shaft schematic diagrames for picture display size change that the embodiment of the present invention two is applicable;
Fig. 3 is a kind of structural representation of image display apparatus in the embodiment of the present invention three;
Fig. 4 is a kind of structural representation of computer equipment in the embodiment of the present invention four.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart for image display method that the embodiment of the present invention one provides, and the present embodiment is applicable to Single page has that multiple pictures need to show, this method can be by the present invention embodiment offer image display apparatus Lai Perform, the device can be realized by the way of software and/or hardware.With reference to figure 1, this method specifically may include steps of:
S110, operational order of the user to picture is parsed, the actual displayed size of picture is calculated according to analysis result.
Specifically, picture will be shown on the computer screen, actual imaging effect when picture is shown in internal memory by loading The picture pixel determine.Optionally, the form of picture including bmp etc. without the compressed formats such as compressed format, jpg or png, The ultimate attainment compressed format such as WebP or TPG, all can be intactly when being finally shown on screen in existing picture displaying scheme The picture pixels that will be shown parse committed memory.
Optionally, in typesetting class software, user includes zooming in and out picture and to picture to the operational order of picture Rotated.Operational order of the user to picture is parsed, the actual displayed size of picture is calculated according to analysis result.With user couple Exemplified by picture zooms in and out, the display size of picture calculates according to scaling component, and scaling component is including horizontal direction and vertically Two, direction value.In a specific example, calculating the process of the actual displayed size of picture will be carried out in four steps:
The first step, the transformation matrix of picture element in application program is calculated, optionally, it is each that the transformation matrix includes interface The superposition of layer element variation, uses interface framework method System.Windows.Media.Visual.TransformToAncestor calculates the transformation matrix, passes through the transformation matrix Calculate the first scaling component.Exemplary, the scaling component calculated in the step can be the scaling component of picture in itself, Such as zoom to 70% from 100%.It should be noted that when picture is without any scaling and rotation, the first scaling component Value be 100%, as 1.
Second step, calculates the transformation matrix outside application program, generally set operating system DPI (Dots Per Inch, often Inch points) transformation matrix can be caused to include DPI scaling components, wherein, DPI, which is set, can be understood as resolution ratio setting, pin To object be actual display elements, rather than display.Second scaling component is calculated by the transformation matrix.It is exemplary , for the display of some existing higher configureds, the second scaling component can be 2.0, for the aobvious of some relatively low configurations Show device, the second scaling component is 1.0, and the concrete numerical value of the second scaling component is relevant with the concrete configuration of display, herein not It is specifically limited.
3rd step, the first scaling component and the second scaling component are multiplied, obtain comprehensive scaling component.
4th step, the inside dimension of picture is obtained, inside dimension is multiplied with comprehensive scaling component, draws actual displayed chi It is very little.
S120, judge whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then performing S130.
Specifically, the actual displayed size and predetermined threshold value of picture are compared.Optionally, predetermined threshold value can select original 0.5 times of figure size.In a specific example, if image credit is screenshot capture, usual calculated display size It is more or less the same with artwork size, at more than 0.5 times of artwork, i.e., more than predetermined threshold value.If the source of picture is photo, the photo Can be slr camera shooting or mobile phone photograph, very big by calculated display size, display size is generally in artwork Less than 0.5 times, i.e., less than predetermined threshold value.
Optionally, artwork size typically refers to the pixel resolution of original image, by the artwork size of picture and default threshold When value is compared, 0.5 times more than artwork size can be that actual displayed size is wider than wide 0.5 times of artwork size, Or actual displayed size is tall and big in high 0.5 times of artwork size;0.5 times less than artwork size can be actual displayed chi It is very little wide wide no more than artwork size 0.5 times, and 0.5 times that the height of actual displayed size is high no more than artwork size.
S130, by the actual displayed size of the picture picture is decoded and shown.
Specifically, when the actual displayed size of picture is less than predetermined threshold value, according to the actual displayed size of picture to figure Piece is decoded and shown.In a specific example, when picture is photo, small figure can be used, without too sharp keen, its Display size is less than predetermined threshold value, therefore, is decoded and is shown according to the actual displayed size of piece.
Optionally, if the actual displayed size of the picture is more than predetermined threshold value, by the original size pair of the picture The picture is shown.
Wherein, when the actual displayed size of picture is more than predetermined threshold value, decoded simultaneously according to the artwork size of picture Display.In a specific example, when picture is screenshot capture, now need to show sharper keen, its display size More than predetermined threshold value, therefore, decoded and shown by the artwork size of screenshot capture.
Exemplary, above-mentioned when display size is not equal to artwork size, interface framework can use a kind of scaling pictures Method scaling, this mode can consider the alignment of pixel on screen, and display acutance is higher, can sacrifice part picture detail and exchange for Clearly indicate effect.
Exemplary,, can not be according to pair of pixel on screen due to generating in advance when generating the picture of reduced size in the ban Neat situation dynamically determines the generation effect of image, therefore can only use general image scaling interpolation algorithm, uses and abuts recently Point algorithm can be closest to the effect that artwork renders, and the details lost using linear interpolation algorithm is less, but may relatively obscure.In reality In the application on border, the selection that particular situation carries out algorithm can be combined.
In the embodiment of the present invention, in the embodiment of the present invention, by parsing operational order of the user to picture, tied according to parsing Fruit calculates the actual displayed size of picture;When the actual displayed size of picture is less than predetermined threshold value, by the actual displayed of picture Size is decoded and shown to picture.The internal memory during display of current page picture has been saved, single page has been solved and a large amount of pictures be present EMS memory occupation problem when showing simultaneously.
On the basis of above-mentioned technical proposal, the operational order in parsing user to picture, calculated and schemed according to analysis result Before the actual displayed size of piece, in addition to:When detecting that picture insertion current page and/or user switch the operation of current page, Confirm whether the picture needs to show in current page;Refer to if so, then obtaining operation of the user to picture corresponding to the operation Order.
Optionally, the operational order in parsing user to picture, the actual displayed size of picture is calculated according to analysis result Before, first confirm that whether the picture needs to show in current page.Under normal circumstances, detect picture insertion current page and/ Or user switch current page operation when, to confirm whether picture needs show in current page, if so, then obtain it is described operate pair Operational order of the user answered to picture.
In a specific example, picture insertion current page can be the quantity of picture in current page from scratch or from Few to become more, that is, software has increased a picture to be shown newly from scratch, the software can be typesetting class software, such as Word softwares.Specific application scenarios can be that user inserts an at least pictures in current page, or, user deletes After pictures in current page, destruction operation is clicked again.The operation that user switches current page can be specifically in typesetting In class software, user switches the page, and specific application scenarios can be that selecting one or more in multiple non-present pages shows To become current page;One or more of current page is become into non-present page, causes the picture inside the page to be switched to display Or the state not shown.Whether detection picture needs to show in current page, if so, then obtaining user couple corresponding to the operation The operational order of picture, that is, user is that picture is inserted into current page or user switches with operation to the operational order of picture Current page is corresponding.Provide and obtain condition of the user to the operational order of picture.
Embodiment two
Fig. 2 a are a kind of flow chart for image display method that the embodiment of the present invention two provides, and the present embodiment is in above-mentioned implementation On the basis of example, " parsing operational order of the user to picture, the actual displayed size of picture is confirmed according to analysis result " is entered Optimization is gone.With reference to figure 2a, this method specifically may include steps of:
S210, parse operational order of the user to picture.
S220, whether changed according to the display size of the analysis result monitoring photo, if so, S230 is then performed, Otherwise, S240 is performed.
Optionally, a monitoring queue be present, the picture in the monitoring queue is then monitored, not in the monitoring queue Picture is not monitored then, the monitoring queue real-time update.In this queue, shared between all picture elements, picture element Function is for showing picture, and picture element corresponds with picture.Monitoring queue includes all pictures monitored Element, the update mode for monitoring queue are:When detecting picture in current page, then the picture element is discharged into monitoring queue, When detecting picture not in current page, the picture element is removed from monitoring queue, to carry out more monitoring queue with this Newly.It is switched to next time before current page without when monitoring again it should be noted that detecting, also can be by picture from monitoring queue Middle removal.
If monitoring the time to reach, all picture elements are taken out from monitoring queue.If the picture element taken out has been Artwork, then it is moved out monitoring queue.For each remaining picture element, calculate its current actual displayed size and Last time monitoring when actual displayed size, monitor the two sizes difference, that is, the display size of monitoring photo there occurs Change.
S230, the actual displayed size using the picture display size after change as picture.
If detecting that the display size of picture changes, the picture is marked, over time, become, sentenced Whether disconnected picture also has the operation that the display size of other pictures changes, if so, then continue waiting for, otherwise, the period Terminate to show picture, and the actual displayed size using the dimension of picture after change as picture.Optionally, this when Between section can take 100ms.
In a specific example, if current have shown that a pictures occupy partial memory, prepare weight Display picture newly is rendered, old picture internal memory is destroyed, uses new picture internal memory.
S240, the actual displayed size directly using the display size of picture as picture.
Specifically, if the display size of picture does not change, the reality directly using the display size of picture as picture Border display size.In a specific example, the display size of picture, which does not change, can also be what picture was shown for the first time Situation, because picture did not generated any picture committed memory before first display, or the internal memory that the picture generated takes is Through destroyed, then the actual displayed size directly using the display size of picture as picture.
S250, judge whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then performing S260.
S260, by the actual displayed size of the picture picture is decoded and shown.
In the embodiment of the present invention, by parsing operational order of the user to picture, according to the analysis result monitoring photo Display size whether change, if so, the then actual displayed size using the picture display size after change as picture, no Then, the actual displayed size directly using the display size of picture as picture.Realize according to the operational order of picture to determine The actual displayed size of picture.
Optionally, the display size of monitoring photo whether change including:In preset time period, between the set time Refresh every the display size to picture;Whether monitoring display size of picture in the preset time period changes.
Optionally, monitoring operation is performed by monitoring modular, if monitoring modular is opened, ON cycle monitoring, and Rerun at regular intervals once.Consider the balance between user's perception and computing power, time interval is chosen for 100ms.Optionally, user wish whenever scaling pictures when, picture can clearly be shown, but this mode consumes More computer resource, perception of the refresh picture to user is in tolerance interval within 200ms, then preset time period takes For 200ms.Show that picture and reproduction render display picture and need the regular hour (about 100ms) in view of waiting rendering again, Therefore monitoring time interval takes 100ms.
In a specific example, Fig. 2 b show a kind of time shaft of picture display size change.It is false with reference to figure 2b If zoom action is performed once every 35ms, it is necessary to illustrate, user's custom of action interval and execution zoom action is relevant, But difference is little under normal circumstances, illustrated herein by taking 35ms as an example.In 200ms preset time period, it will hold for the first time 0ms is set at the time of row zoom action, then next successively perform zoom action at the time of for 35ms, 70ms, 105ms, 140ms, 100ms and 200ms are monitoring point.At 100ms, monitor that picture display size is changed, then retime 100ms, it is found that picture display size no longer changes, then 200ms reaches for timing time.Timing time reaches, and starts to brush New picture, that is, judge whether the display size of picture changes.Specific application scenarios can be, user by a picture from During the 60% of 100% scaling, zoom operations are not completed disposably, but are occurred different at the time of, and can not All the time whether the display size of monitoring photo changes, it is necessary to when the size of picture no longer changes, then carries out Refreshing to the display size of picture.
Embodiment three
Fig. 3 is the structural representation that the present invention is a kind of image display apparatus that embodiment three provides, and the device is applied to Perform a kind of image display method that the embodiment of the present invention is supplied to.As shown in figure 3, the device can specifically include:
Command analysis module 310, for parsing operational order of the user to picture, the reality of picture is calculated according to analysis result Border display size;
First display module 320, for judging whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, Then the picture is decoded and shown by the actual displayed size of the picture.
Further, described device also includes:
Second display module, if the actual displayed size for the picture is more than predetermined threshold value, by the picture Original size is decoded and shown to the picture.
Further, described device also includes:
Instruction acquisition module, for the operational order in parsing user to picture, according to the reality of analysis result calculating picture Before the display size of border, when detecting that picture insertion current page and/or user switch the operation of current page, confirm that the picture is No needs are shown in current page;If so, user corresponding to the operation is then obtained to the operational order of picture.
Further, command analysis module 310 includes:
Analyzing sub-module, for parsing operational order of the user to picture;
Size monitors submodule, for whether being changed according to the display size of the analysis result monitoring photo, if It is, then the actual displayed size using the picture display size after change as picture;Otherwise, directly the display size of picture is made For the actual displayed size of picture.
Further, the size monitoring submodule is specifically used for:
In preset time period, the display size of picture is refreshed with Fixed Time Interval;
Whether monitoring display size of picture in the preset time period changes.
Image display apparatus provided in an embodiment of the present invention can perform the picture display side that any embodiment of the present invention provides Method, possess the corresponding functional module of execution method and beneficial effect.
Example IV
Fig. 4 is a kind of structural representation for computer equipment that the embodiment of the present invention four provides.Fig. 4 is shown suitable for being used for Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 4 is shown is only one Example, any restrictions should not be brought to the function and use range of the embodiment of the present invention.
As shown in figure 4, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28, connect different system component The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not Movably, non-volatile magnetic media (Fig. 4 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 4, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making Obtain any equipment that the computer equipment 12 can be communicated with one or more of the other computing device (such as network interface card, modulatedemodulate Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As illustrated, network adapter 20 is led to by bus 18 and other modules of computer equipment 12 Letter.It should be understood that although not shown in Fig. 4, computer equipment 12 can be combined and use other hardware and/or software module, bag Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and Data processing, such as realize the image display method that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:Operational order of the user to picture is parsed, according to parsing As a result the actual displayed size of picture is calculated;Judge whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then The picture is decoded and shown by the actual displayed size of the picture.
Embodiment five
The embodiment of the present invention five provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey The image display method provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:Operational order of the user to picture is parsed, according to analysis result meter The actual displayed size of nomogram piece;Judge whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then by described The actual displayed size of picture is decoded and shown to the picture.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. image display method, it is characterised in that including:
    Operational order of the user to picture is parsed, the actual displayed size of picture is calculated according to analysis result;
    Judge whether the actual displayed size of the picture is more than predetermined threshold value;
    If it is not, then the picture is decoded and shown by the actual displayed size of the picture.
  2. 2. according to the method for claim 1, it is characterised in that also include:
    If the actual displayed size of the picture is more than predetermined threshold value, the picture is carried out by the original size of the picture Decode and show.
  3. 3. according to the method for claim 1, it is characterised in that the operational order in parsing user to picture, according to parsing As a result before the actual displayed size for calculating picture, in addition to:
    When detecting that picture insertion current page and/or user switch the operation of current page, confirm whether the picture needs working as Preceding page is shown;
    If so, user corresponding to the operation is then obtained to the operational order of picture.
  4. 4. according to the method for claim 1, it is characterised in that it is described to parse operational order of the user to picture, according to solution The actual displayed size of analysis results verification picture includes:
    Parse operational order of the user to picture;
    Whether changed according to the display size of the analysis result monitoring photo, if so, then showing the picture after change Actual displayed size of the size as picture;
    Otherwise, the actual displayed size directly using the display size of picture as picture.
  5. 5. according to the method for claim 4, it is characterised in that the display size of monitoring photo whether change including:
    In preset time period, the display size of picture is refreshed with Fixed Time Interval;
    Whether monitoring display size of picture in the preset time period changes.
  6. A kind of 6. image display apparatus, it is characterised in that including:
    Command analysis module, for parsing operational order of the user to picture, the actual displayed of picture is calculated according to analysis result Size;
    First display module, for judging whether the actual displayed size of the picture is more than predetermined threshold value, if it is not, then by described The actual displayed size of picture is decoded and shown to the picture.
  7. 7. device according to claim 6, it is characterised in that also include:
    Instruction acquisition module, for the operational order in parsing user to picture, the reality that picture is calculated according to analysis result shows Before showing size, when detecting that picture insertion current page and/or user switch the operation of current page, confirm whether the picture needs To be shown in current page;If so, user corresponding to the operation is then obtained to the operational order of picture.
  8. 8. device according to claim 6, it is characterised in that the command analysis module includes:
    Analyzing sub-module, for parsing operational order of the user to picture;
    Whether size monitors submodule, for being changed according to the display size of the analysis result monitoring photo, if so, then Actual displayed size using the picture display size after change as picture;Otherwise, directly using the display size of picture as figure The actual displayed size of piece.
  9. 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the side as described in any in claim 1-5 is realized during the computing device described program Method.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-5 is realized during execution.
CN201710680507.XA 2017-08-10 2017-08-10 Picture display method, device, equipment and storage medium Active CN107506119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710680507.XA CN107506119B (en) 2017-08-10 2017-08-10 Picture display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710680507.XA CN107506119B (en) 2017-08-10 2017-08-10 Picture display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107506119A true CN107506119A (en) 2017-12-22
CN107506119B CN107506119B (en) 2020-11-03

Family

ID=60690644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710680507.XA Active CN107506119B (en) 2017-08-10 2017-08-10 Picture display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107506119B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414308A (en) * 2020-03-26 2020-07-14 北京字节跳动网络技术有限公司 Application package processing method and application program running method and device
CN112700507A (en) * 2020-12-28 2021-04-23 统信软件技术有限公司 Picture display method, computing device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005167657A (en) * 2003-12-03 2005-06-23 Seiko Epson Corp Image processor and image processing method
CN103197882A (en) * 2013-02-22 2013-07-10 北京小米科技有限责任公司 Image display method and mobile terminal
CN104850660A (en) * 2015-06-04 2015-08-19 广东欧珀移动通信有限公司 Picture displaying method, picture displaying device and mobile terminal
CN105957011A (en) * 2016-05-25 2016-09-21 北京小米移动软件有限公司 Picture processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005167657A (en) * 2003-12-03 2005-06-23 Seiko Epson Corp Image processor and image processing method
CN103197882A (en) * 2013-02-22 2013-07-10 北京小米科技有限责任公司 Image display method and mobile terminal
CN104850660A (en) * 2015-06-04 2015-08-19 广东欧珀移动通信有限公司 Picture displaying method, picture displaying device and mobile terminal
CN105957011A (en) * 2016-05-25 2016-09-21 北京小米移动软件有限公司 Picture processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414308A (en) * 2020-03-26 2020-07-14 北京字节跳动网络技术有限公司 Application package processing method and application program running method and device
CN111414308B (en) * 2020-03-26 2023-08-22 抖音视界有限公司 Application package processing method and application running method and device
CN112700507A (en) * 2020-12-28 2021-04-23 统信软件技术有限公司 Picture display method, computing device and storage medium

Also Published As

Publication number Publication date
CN107506119B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
US10606476B2 (en) Techniques for interacting with handheld devices
CN107204023B (en) Method and apparatus for avoiding distortion of graphics drawn in canvas
RU2598802C2 (en) Animation playing method, device and apparatus
US20110145730A1 (en) Utilization of Browser Space
EP3259753A1 (en) Systems and methods for reducing memory bandwidth using low quality tiles
JP2012527016A (en) Display of transition image during slide transition
EP4287633A1 (en) Video frame interpolation method and apparatus, and electronic device
US11615509B2 (en) Picture processing method and device
CN110647378A (en) Dynamic image loading method and device and electronic equipment
CN107506119A (en) A kind of image display method, device, equipment and storage medium
CN109065001B (en) Image down-sampling method and device, terminal equipment and medium
CN101996390B (en) Image copying method and device
CN105427235A (en) Image browsing method and system
CN107908455A (en) The switching method and switching system of a kind of browser page
CN109960562B (en) Information display method and device and computer readable storage medium
CN111522609A (en) Page display method and device
US20060082580A1 (en) Method and apparatus for triggering frame updates
CN112561929A (en) Splicing screen cutting and zooming method and device, electronic device and storage medium thereof
CN111083552A (en) Thumbnail generation method, device, equipment and medium
US7221378B2 (en) Memory efficient method and apparatus for displaying large overlaid camera images
CN112949252B (en) Text display method, apparatus and computer readable medium
CN112417344B (en) Rendering method, rendering device, electronic equipment and storage medium
EP4300979A1 (en) Display method, terminal, and storage medium
CN113766322A (en) Image acquisition method and device, electronic equipment and storage medium
US9177394B2 (en) Image processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant