Resolution adaptation method of client storage medium and terminal

A resolution and client-side technology, applied in the field of image processing, can solve problems such as image distortion, and achieve the effect of ensuring aesthetics, good user experience, and guaranteed user experience

Pending Publication Date: 2020-02-07
GREE ELECTRIC APPLIANCES INC
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the technical problem of image distortion caused by transmitting the image data of the client on the terminal to the peripheral display in the prior art, the present invention provides a resolution adaptation method for the client, a storage medium and a terminal, based on The screen ratio of the target

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resolution adaptation method of client storage medium and terminal
  • Resolution adaptation method of client storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1 of the present invention provides a resolution adaptation method for a client, wherein the client is located in a terminal, and the terminal is connected to a target device. The client is, for example, an APP or a small program, the terminal is, for example, a mobile terminal, including a mobile phone, a PDA, etc., and the target device, for example, an independent display or an electronic device with a display screen, the present invention is not limited thereto.

[0050] figure 1It is a flowchart of a method for resolution adaptation of a client according to Embodiment 1 of the present invention. like figure 1 As shown, the method is applied to the terminal, including:

[0051] Step S11: Setting the display area of ​​the terminal screen and the resolution of the display area, and making the aspect ratio of the display area and the ratio of the resolution of the display area equal to the screen ratio of the target device;

[0052] Step S12: Based on the...

Embodiment 2

[0098] An embodiment of the present invention provides a storage medium on which executable code is stored. When the executable code is executed by a processor, the above-mentioned embodiment 1 of the present invention or the resolution of the client provided in the first embodiment of the present invention are realized. adaptation method.

[0099] Correspondingly, an embodiment of the present invention also provides a terminal, including:

[0100] processor; and

[0101] A memory on which executable code is stored, and when the executable code is executed by the processor, implements the above-mentioned embodiment 1 of the present invention or the client resolution adaptation method provided in the first embodiment of the present invention.

[0102] To sum up, the embodiments of the present invention provide a client resolution adaptation method, a storage medium, and a terminal. Based on the screen ratio of the target device, the client whose resolution ratio is equal to th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a resolution adaptation method of a client, a storage medium and a terminal. The client is located in the terminal, the terminal is connected with target equipment, and the method is applied to the terminal and comprises the following steps: setting a display area of a terminal screen and the resolution of the display area, and enabling the aspect ratio of the display areaand the proportion of the resolution of the display area to be equal to the screen proportion of the target equipment; on the basis of the width value, the height value and the resolution of the display area, setting the number DPI of pixel points per inch of a graphic buffer area of an operation system, so that when the graphic buffer area receives the image data of the client, the value of eachpixel point of the image data of the client is stored on the basis of the DPI; and transmitting the value of each pixel point of the image data stored in the graphic buffer area to target equipment.According to the invention, the image data of the APP and other clients is not stretched and distorted when being displayed on the target device and the terminal, and good user experience is ensured.

Description

technical field [0001] The present invention relates to the technical field of image processing, and in particular, to a resolution adaptation method of a client, a storage medium and a terminal. Background technique [0002] People living in cities now have a fast pace of work and life, and often need to change their rental place. However, when moving, the mainframe of the computer is heavy, and it is very inconvenient to carry the mainframe of the computer. Many people only carry one monitor. If the mobile phone can be connected to the monitor through HDMI (High Definition Multimedia Interface, high-definition multimedia interface), then the picture in the mobile phone can be displayed on the monitor, so that the money of buying a TV can be saved. However, when the existing solution displays the image data of the mobile phone APP on the display, due to the mismatch between the resolutions of the mobile phone and the display, the image data of the APP displayed on the displ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/957G06T3/40
CPCG06F16/9577G06T3/4092
Inventor 陈少宗
Owner GREE ELECTRIC APPLIANCES INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products