CN111223155A - Image data processing method, image data processing device, computer equipment and storage medium - Google Patents

Image data processing method, image data processing device, computer equipment and storage medium Download PDF

Info

Publication number
CN111223155A
CN111223155A CN201911006758.5A CN201911006758A CN111223155A CN 111223155 A CN111223155 A CN 111223155A CN 201911006758 A CN201911006758 A CN 201911006758A CN 111223155 A CN111223155 A CN 111223155A
Authority
CN
China
Prior art keywords
attribute information
target
picture
initial
resolution
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
CN201911006758.5A
Other languages
Chinese (zh)
Other versions
CN111223155B (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.)
Zhejiang Dasou Vehicle Software Technology Co Ltd
Original Assignee
Zhejiang Dasou Vehicle Software 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 Zhejiang Dasou Vehicle Software Technology Co Ltd filed Critical Zhejiang Dasou Vehicle Software Technology Co Ltd
Priority to CN201911006758.5A priority Critical patent/CN111223155B/en
Publication of CN111223155A publication Critical patent/CN111223155A/en
Application granted granted Critical
Publication of CN111223155B publication Critical patent/CN111223155B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4053Super resolution, i.e. output image resolution higher than sensor resolution

Abstract

The application relates to an image data processing method, an image data processing device, a computer device and a storage medium. The method comprises the following steps: acquiring initial picture data, wherein the initial picture data is generated according to a preset format; analyzing the initial picture data according to an analysis rule corresponding to a preset format to obtain picture elements in the initial picture data and corresponding initial attribute information; and acquiring a target resolution, adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information corresponding to the picture element, wherein the target attribute information is attribute information corresponding to a drawing interface, and the drawing interface is used for obtaining a target picture according to the target attribute information and the picture element. By adopting the method, the picture generation efficiency can be improved.

Description

Image data processing method, image data processing device, computer equipment and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image data processing method and apparatus, a computer device, and a storage medium.
Background
With the development of computer technology, people have more and more demands on various forms of pictures. For example, developers often need to generate pictures from design manuscripts.
At present, the requirements for pictures are various, for example, the same poster picture is used in different scenes, the corresponding requirements for size, color and the like are different, and at present, professional personnel are required to redraw the picture according to different requirements to meet the requirements, so that the picture generation efficiency is low.
Disclosure of Invention
In view of the above, it is necessary to provide an image data processing method, an apparatus, a computer device, and a storage medium capable of improving picture generation efficiency in view of the above technical problem of low picture generation efficiency.
A method of image data processing, the method comprising: acquiring initial picture data, wherein the initial picture data is generated according to a preset format; analyzing the initial picture data according to an analysis rule corresponding to the preset format to obtain picture elements in the initial picture data and corresponding initial attribute information; and acquiring a target resolution, and adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information corresponding to a picture element, wherein the target attribute information is attribute information corresponding to a drawing interface, and the drawing interface is used for obtaining a target picture according to the target attribute information and the picture element.
In some embodiments, the method further comprises: acquiring the corresponding relation between the attribute information and a drawing interface in the operating system according to the category corresponding to the picture element; determining a corresponding target drawing interface according to the corresponding relation between the attribute information and the drawing interface; and drawing the corresponding picture element according to the target attribute information by using the target drawing interface to obtain a target picture.
In some embodiments, the obtaining initial picture data comprises: acquiring initial picture data, wherein the initial picture data comprises element objects corresponding to the picture elements, the element objects are generated according to the picture elements and corresponding initial attribute information, and the element objects comprise one or more key value pairs consisting of initial attribute identifications and attribute values in the initial attribute information; the obtaining of the corresponding relationship between the attribute information and the drawing interface in the operating system according to the category corresponding to the picture element includes: acquiring the corresponding relation between the attribute identification and the drawing interface in the operating system according to the category corresponding to the element object; determining a corresponding target drawing interface according to the corresponding relationship between the attribute information and the drawing interface, including: and taking the key in each key value pair as an initial attribute identifier, and obtaining a drawing interface corresponding to the initial attribute identifier as a target drawing interface according to the corresponding relation between the attribute identifier and the drawing interface.
In some embodiments, the obtaining initial picture data comprises: receiving a resolution adjustment request for adjusting the resolution of an initial picture, and acquiring initial picture data corresponding to the initial picture in response to the resolution adjustment request, wherein the target resolution is carried in the resolution adjustment request.
In some embodiments, the obtaining the target resolution, and adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain the target attribute information includes: determining first attribute information and second attribute information in the initial attribute information, wherein the first attribute information is attribute information related to resolution, and the second attribute information is attribute information unrelated to resolution; acquiring a target resolution, and adjusting the first attribute information according to the target resolution to obtain adjusted attribute information; and taking the adjusted attribute information and the second attribute information as target attribute information.
In some embodiments, the obtaining the target resolution, and adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain the target attribute information includes: acquiring a target resolution, and acquiring a target scaling factor according to the target resolution and the resolution corresponding to the initial picture; and zooming at least one attribute information in the initial attribute information according to the target zooming factor to obtain target attribute information.
In some embodiments, the method is performed by a software development kit between an application and an operating system, the software development kit comprising a data specification layer, a format parsing layer, and an interface invocation layer; the data specification layer is used for defining data specifications corresponding to data transmitted into the software development kit; the format analysis layer is used for analyzing the initial picture data according to the data specification to obtain the category of the picture element and the initial attribute information; and the interface calling layer is used for calling the corresponding target drawing interface to draw the picture.
An image data processing apparatus, the apparatus comprising: the device comprises an initial picture data acquisition module, a data processing module and a data processing module, wherein the initial picture data acquisition module is used for acquiring initial picture data which is generated according to a preset format; a picture element and attribute information obtaining module, configured to analyze the initial picture data according to an analysis rule corresponding to the preset format, so as to obtain a picture element and corresponding initial attribute information in the initial picture data; and the target attribute information obtaining module is used for obtaining a target resolution ratio, adjusting at least one attribute information in the initial attribute information according to the target resolution ratio to obtain target attribute information corresponding to a picture element, wherein the target attribute information is attribute information corresponding to a drawing interface, and the drawing interface is used for obtaining a target picture according to the target attribute information and the picture element.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the image data processing method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned image data processing method.
According to the image data processing method, the image data processing device, the computer equipment and the storage medium, the initial picture data generated according to the preset format is obtained, the initial picture data is analyzed according to the preset format, the picture elements in the initial picture data and the corresponding initial attribute information are obtained, the initial attribute information is adjusted according to the obtained target resolution ratio, the target attribute information is obtained, and the corresponding drawing interface is called according to the target attribute information, so that the target picture can be obtained. Therefore, resolution adjustment of the initial picture data is achieved, the picture data of the target resolution is obtained, the picture meeting the target resolution is obtained, and flexibility of picture generation is improved. And because the target attribute information is the attribute information corresponding to the drawing interface, the corresponding drawing interface is automatically called to draw, a target picture is obtained, and the picture generation efficiency is improved.
Drawings
FIG. 1 is a diagram of an application scenario of an image data processing method in some embodiments;
FIG. 2 is a flow diagram illustrating a method for image data processing according to some embodiments;
FIG. 3 is a flow diagram illustrating a method for image data processing according to some embodiments;
FIG. 4 is a flow diagram illustrating a method for image data processing according to some embodiments;
FIG. 5 is a flow diagram illustrating a method for image data processing according to some embodiments;
FIG. 6 is a block diagram showing the structure of an image data processing apparatus according to some embodiments;
FIG. 7 is a diagram of the internal structure of a computer device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The image data processing method provided by the application can be applied to the application environment shown in fig. 1. The application 102, Software Development Kit (SDK) 104, and operating system 106 may be located on the same computer device, such as on the same terminal, which may be, but is not limited to, various personal computers, laptops, and tablets. Data communication may be between the application 102 and the software development kit 104, and data communication may be between the software development kit 104 and the operating system 106. The application program 102 may be any application program capable of using the software development kit 104, the software development kit 104 is a software development kit capable of processing image data, and the operating System 106 may be an Android (Android) System or an IOS (internet Operation System, operating System corresponding to an apple-phone) System, or may be other types of systems, where the type of the operating System is not limited. When the operating system 106 is an android system, the application program 102 and the software development kit 104 are programs corresponding to the android system, and when the operating system 106 is an IOS system, the application program 102 and the software development kit 104 are programs corresponding to the IOS system.
Specifically, the application 102 may send a resolution adjustment request for performing resolution adjustment on the initial picture to the software development kit 104, where the resolution adjustment request may carry a target resolution; the software development kit 104 may respond to the resolution adjustment request, acquire initial picture data, where the initial picture data includes picture elements and corresponding initial attribute information, acquire a target resolution carried in the resolution adjustment request, and adjust the initial attribute information according to the target resolution to obtain target attribute data; the software development kit 104 may obtain a corresponding relationship between the attribute information and a drawing interface in the operating system 106 according to the category of the picture element, determine a target drawing interface corresponding to the target attribute information according to the corresponding relationship between the attribute information and the drawing interface, and draw the corresponding picture element according to the target attribute information by using the target drawing interface to obtain the target picture.
It is understood that the image data processing method proposed in the present application may also be executed by a picture processing program.
In some embodiments, as shown in fig. 2, an image data processing method is provided, which is described by taking the method as an example applied to the software development kit 104 in fig. 1, and includes the following steps:
s202, acquiring initial picture data, wherein the initial picture data are generated according to a preset format.
Specifically, the picture data is data related to a picture, and the preset format is a preset data format. The initial picture data may be picture data corresponding to a known picture, for example, may be a design draft, and a designer may design a corresponding design draft by using a professional picture design tool according to a design requirement, and a user may obtain the picture data corresponding to the design draft by using the picture design tool. The user can input the picture data on the corresponding interface according to the requirement, and the terminal can receive the picture data input by the user as the initial picture data.
In some embodiments, the predetermined format may be a particular data specification. The initial picture data may be generated by generating picture data corresponding to the initial picture according to a specific data specification. Wherein the specific data specification may be a preset data specification. The software development kit may specify a specification for the incoming picture data indicating the specification that the picture data of the incoming software development kit needs to meet, e.g., the software development kit may specify a data specification a and specify that the picture data incoming to the software development kit should conform to the data specification a. The specific data specification may also be used to indicate the representation format of each picture element, and may be, for example, JSON (JSON Object Notation) format or XML (Extensible Markup Language) format. JSON is a lightweight data exchange format. It stores and represents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (js specification set by the european computer association). XML is a markup language. The label refers to an information symbol that can be understood by computers, and by this label, articles containing various information can be handled between computers. A software development kit may acquire and process initial picture data that conforms to a particular data specification.
And S204, analyzing the initial picture data according to the analysis rule corresponding to the preset format to obtain the picture elements in the initial picture data and the corresponding initial attribute information.
Specifically, the initial picture data may include picture elements and corresponding initial attribute information. The picture elements refer to elements in a picture, each picture element represents a component of the picture, and the picture elements are of different types, such as text elements, picture elements, background elements and the like. The attributes may include a public attribute and may further include a private attribute, wherein the public attribute may include a position attribute, a width attribute, and a height attribute, and the private attribute may be an attribute specific to the picture element, for example, a text attribute of the text element. The attribute information refers to information related to an attribute corresponding to the picture element, and may be an attribute value corresponding to the attribute, and may include at least one of a numerical value corresponding to the width attribute, a numerical value corresponding to the height attribute, text content of the text attribute, and a coordinate value corresponding to the coordinate attribute, for example. The initial attribute information refers to attribute information corresponding to a picture element in the initial picture data. The software development kit can analyze the initial picture data according to an analysis mode corresponding to a preset format to obtain picture elements in the initial picture data and corresponding initial attribute information. For example, assuming that the preset format of the initial picture data is the JSON format, the software development toolkit parses the initial picture data in a way of parsing the JSON data to obtain picture elements in the initial picture data and corresponding initial attribute information.
And S206, acquiring a target resolution, adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information corresponding to the picture element, wherein the target attribute information is attribute information corresponding to the drawing interface, and the drawing interface is used for obtaining a target picture according to the target attribute information and the picture element.
Specifically, the target resolution is a desired resolution, and the target resolution may be a resolution specified by a user. The resolution may include a number of horizontal pixels and a number of vertical pixels. The target attribute information refers to attribute information obtained by adjusting the initial attribute information according to the target resolution. The initial attribute information may include a plurality of attribute information, and may include, for example, one or more of position information, width information, height information, and color information, wherein the position information, width information, and height information are related to resolution, and the color information is not related to resolution. Therefore, when the initial attribute information is adjusted according to the target resolution, one or more attribute information related to the resolution in the initial attribute information may be adjusted to be adapted to the target resolution, so as to obtain the target attribute information.
In some embodiments, at least one of the initial attribute information may be adjusted according to a size relationship between the target resolution and a resolution corresponding to the initial image, for example, for a text element, a coordinate attribute of a text may be adjusted. For example, if the resolution of the initial picture is 800 × 800, the target resolution is 1600 × 1600, and the position coordinates of the characters are (2, 2), the adjusted coordinates are (4, 4).
In some embodiments, the application may send a resolution adjustment request carrying the target resolution to a software development kit, from which the software development kit may obtain the target resolution.
In some embodiments, the software development kit may call a drawing interface corresponding to each piece of target attribute information, transfer each piece of target attribute information to the corresponding drawing interface, draw the corresponding picture element, and obtain a view (view) corresponding to each picture element. The software development kit can generate the target picture according to the obtained view corresponding to each picture element. The view may be drawn in the memory.
In the image data processing method, the initial picture data generated according to the preset format is obtained, the initial picture data is analyzed according to the preset format to obtain the picture elements in the initial picture data and the corresponding initial attribute information, the initial attribute information is adjusted according to the obtained target resolution to obtain the target attribute information, the target attribute information is the attribute information corresponding to the drawing interface, and the corresponding drawing interface is called according to the target attribute information to obtain the target picture. Therefore, resolution adjustment of the initial picture data is achieved, the picture data of the target resolution is obtained, the picture meeting the target resolution is obtained, and flexibility of picture generation is improved. And because the target attribute information is the attribute information corresponding to the drawing interface, the corresponding drawing interface is automatically called to draw, a target picture is obtained, and the picture generation efficiency is improved.
At present, when a picture is to be acquired, screenshot processing can be performed, and finally the picture is generated and stored. The picture obtained by screen capture is limited to the resolution of the screen capture device (such as a mobile phone). If a user wants to use a larger-sized picture or browse pictures on a higher-resolution device, the picture is directly enlarged, so that the picture information becomes blurred, and the use effect is affected. By adopting the scheme of the embodiment of the application, the picture information can be acquired according to actual requirements, the resolution of the picture is adjusted, and the picture with the specified resolution is obtained, so that the picture distortion caused by directly amplifying the picture is avoided.
In some embodiments, as shown in fig. 3, the method further comprises:
s302, acquiring the corresponding relation between the attribute information and the drawing interface in the operating system according to the category corresponding to the picture element.
Specifically, the category of the picture element may be text, graphics, background, or the like. The operating system may be an Android system or an IOS system. The drawing interface refers to an interface corresponding to an operating system and used for drawing the view. The corresponding drawing interfaces are different for different operating systems. For example, the drawing interface corresponding to the Android system is different from the drawing interface corresponding to the IOS. The drawing interfaces may differ in at least one of different development languages, different names, and different corresponding methods. Wherein the method may be a function. For example, the drawing interface corresponding to IOS is written in object-c language, and the drawing interface corresponding to Android is written in Java language. For example, when the space between lines of text is set, the method corresponding to the rendering interface of the IOS system is different from the method corresponding to the rendering interface of the Android system.
In some embodiments, the types of the picture elements are different, the corresponding drawing interfaces may be different, and the software development kit may obtain the types of the picture elements and obtain the drawing interface corresponding to the picture element in the corresponding operating system according to the types of the picture elements, so as to obtain the drawing interface corresponding to the attribute information corresponding to the picture element, thereby improving the efficiency of obtaining the drawing interface. For example, a View Manager corresponding to an operating system may be used to manage a corresponding View object, such as a View object of a picture in a View Manager that may be used to manage and set the attributes of the picture such as size, link, and round corner. The view manager (ViewManager) may define element categories and the correspondence of attributes to the called drawing interfaces. The correspondence may be dynamically added, and a user or a developer of the software development kit may add the correspondence between the element category and the drawing interface as needed, for example, may add the correspondence between the list element and the drawing interface. Where View is a View object used in a program to draw, through which different representations of views can be set.
In some embodiments, the corresponding relationship between the attribute information and the rendering interface in each operating system may be integrated, so that when the initial picture data is received, the operating system in which the current device is located may be determined, and the corresponding relationship between the attribute information and the rendering interface in the operating system in which the current device is located may be obtained.
S304, determining a corresponding target drawing interface according to the corresponding relation between the attribute information and the drawing interface.
Specifically, the target rendering interface refers to a rendering interface corresponding to the target attribute information. Generally speaking, the rendering interface corresponding to the target attribute information is consistent with the rendering interface corresponding to the initial attribute information, so that the software development kit can determine the rendering interface corresponding to the initial attribute information as the target rendering interface according to the corresponding relationship between the attribute information corresponding to the picture element and the rendering interface.
And S306, drawing the corresponding picture element according to the target attribute information by using the target drawing interface to obtain the target picture.
Specifically, the target picture is a picture generated after drawing a corresponding picture element according to the target attribute information. After the target rendering interface corresponding to each piece of target attribute information is determined, the software development kit can transmit each piece of target attribute information to the corresponding target rendering interface, so that each corresponding target rendering interface receives the target attribute information and renders the picture element according to the target attribute information to obtain the view corresponding to the picture element. The software development kit can generate the target picture according to the obtained view corresponding to each picture element. The view may be drawn in the memory.
In some embodiments, the software development kit may adjust the initial attribute information according to the picture modification requirement to obtain the target attribute information. For example, the initial attribute information may be adjusted according to a specified resolution to obtain target attribute information, and the target attribute information is transmitted to the target rendering interface, so that the target rendering interface receives the target attribute information and renders the picture elements according to the target attribute information to obtain views corresponding to the picture elements, and the software development kit may generate corresponding target pictures according to the obtained views.
In some embodiments, the software development kit may adjust a portion of the attribute information of the initial attribute information according to a specified resolution to obtain the target attribute information. Specifically, the attribute information may include attribute information related to resolution and attribute information unrelated to resolution, and the software development kit may adjust the attribute information related to resolution in the initial attribute information according to a specified resolution, and does not process the attribute information unrelated to resolution in the initial attribute information to obtain target attribute information, where the target attribute information includes adjusted attribute information corresponding to the initial attribute information and attribute information that is not adjusted.
In some embodiments, the software development kit may obtain a specified resolution from the application. Specifically, the application program may send a resolution adjustment request for performing resolution adjustment on a known picture to the software development kit, where the resolution adjustment request may carry a specified resolution. The software development tool may obtain the specified resolution from the resolution adjustment request. The specified resolution may be user input, for example, when the user needs to adjust the resolution of the picture, a target resolution may be input on the terminal, and the terminal receives the target resolution.
In the image data processing method, the corresponding relation between the attribute information and the drawing interface in the operating system is obtained according to the type of the picture element, the corresponding target drawing interface is determined according to the corresponding relation between the attribute information and the drawing interface, and the corresponding picture element is drawn according to the initial attribute information by using the target drawing interface to obtain the target picture. Therefore, the picture can be automatically drawn according to the initial picture data, and the efficiency is high. And the corresponding relation between the attribute information and the drawing interface in the operating system can be obtained according to the category of the picture element, so that the corresponding drawing interface is obtained, and the flexibility of picture generation is improved.
In some embodiments, step S202, namely acquiring initial picture data, includes: acquiring initial picture data, wherein the initial picture data comprises element objects corresponding to picture elements, the element objects are generated according to the initial attribute information and the corresponding picture elements, and the element objects comprise one or more key value pairs formed according to initial attribute identifications and attribute values in the initial attribute information.
Specifically, the initial picture data may include element objects corresponding to picture elements, where an element object may be generated according to the initial attribute information and the corresponding picture element, and one picture element may correspond to one element object. The element object comprises one or more key value pairs formed according to the initial attribute identification and the attribute value in the initial attribute information. The initial attribute identification is used to identify the attribute. An attribute value refers to a value to which the attribute corresponds. For example, a text element may correspond to a width attribute value, a height attribute value, a color attribute value, and the like, and for an element object corresponding to the text element, the attribute identifier may include an attribute identifier for identifying the width attribute value, an attribute identifier for identifying the height attribute value, and an attribute identifier for identifying the color attribute value. The key-value pair includes a key (key) and a value (value), wherein the key is used as an index. In the key value pair formed by the initial attribute identifier and the attribute value, the initial attribute identifier is a key, and the attribute value is a value.
For example, the element object corresponding to the Text element in the design may be represented by { "coordinateSystem": "LeftTop", "elementType": Text "," height ":10," width ":60," horizontal margin ":74," vertical margin ":207," private pro ":" textSize ":88," textContent ": ABC", "textColor" # F7F8FA "," visibility ": center", "textWeight": book ": field", where "coordinateSystem": "LeftTop" represents the upper left coordinate system description, "elementary type": Text "represents the Text element," height "# 10," width ":60 represents the high Text width relative to the design," Text element indicates the Text size in the left coordinate system, and "Text element 7" Text ": 5" Text element, such as Text size, Text element, and Text element, such as "Text element, 7, Text element, and Text element, 7, Text element, etc., "textWeight". Bld "means text bolding. Wherein, the contents around the colon form a key-value pair, for example, "height":10 "is a key-value pair, wherein" height "is a key, and" 10 "is a value.
Step S302, obtaining the corresponding relationship between the attribute information and the drawing interface in the operating system according to the category corresponding to the picture element, including: and acquiring the corresponding relation between the attribute identification and the drawing interface in the operating system according to the category corresponding to the element object.
Specifically, since the element object is generated according to the initial attribute information and the corresponding picture element, the category corresponding to the element object refers to the category of the picture element.
In some embodiments, the element object may include a key-value pair consisting of a category identifier and a corresponding attribute value. Wherein the category identification is for identifying a category of the picture element. For example, for an element object corresponding to a text element, a category identifier for identifying the text element and a key-value pair composed of the corresponding text category may be included. The software development kit can acquire the category identifier from the element object, acquire the corresponding attribute value, namely the element category, according to the category identifier, and acquire the corresponding relationship between the attribute identifier in the element object corresponding to the picture element and the drawing interface in the operating system according to the acquired element category.
Step S304, determining a corresponding target rendering interface according to the corresponding relationship between the attribute information and the rendering interface, including: and taking the key in each key value pair as an initial attribute identifier, and obtaining a corresponding drawing interface as a target drawing interface according to the corresponding relation between the attribute identifier and the drawing interface.
Specifically, the software development kit may obtain each key value pair in the element object corresponding to the picture element, use a key in each key value pair as an initial attribute identifier, obtain a drawing interface corresponding to the initial attribute identifier according to a correspondence between the attribute identifier and the drawing interface, and use the drawing interface as a target drawing interface corresponding to the target attribute information.
In the above embodiment, the obtained initial picture data includes an element object corresponding to the picture element, the element object is generated according to the picture element and the corresponding initial attribute information, and the element object includes one or more key value pairs formed according to the initial attribute identifier and the attribute value in the initial attribute information. Therefore, the acquired picture data has a uniform data format, when a picture needs to be generated, a software development kit can be called to generate the picture by generating the picture data according to the uniform data format through the data corresponding to the picture without processing a complicated picture drawing process, and thus the picture generation efficiency is improved.
In some embodiments, the step S202 of acquiring the initial picture data includes: receiving a resolution adjustment request for adjusting the resolution of the initial picture, and responding to the resolution adjustment request to obtain initial picture data corresponding to the initial picture, wherein the resolution adjustment request carries a target resolution.
Specifically, the initial picture is a generated picture, for example, when one or more pictures are displayed on the terminal and a user needs to zoom in the picture, the user may request to adjust the resolution of the picture by clicking a "picture zoom in" button. The resolution adjustment request is used for requesting adjustment of the resolution corresponding to the initial picture. The target resolution is a desired resolution, which may be a user-specified resolution. The resolution may include a number of horizontal pixels and a number of vertical pixels.
In some embodiments, the resolution adjustment request may further carry initial picture data corresponding to the initial picture, for example, the application may send a resolution adjustment request carrying the target resolution and the initial picture data to a software development kit, and the software development kit receives the resolution adjustment request and obtains the target resolution and the initial picture data in the resolution adjustment request.
In some embodiments, the resolution adjustment request may further carry an initial picture identifier corresponding to the initial picture, and the software development kit may obtain the initial picture identifier in the resolution adjustment request, and obtain initial picture data corresponding to the initial picture according to the initial picture identifier.
In some embodiments, the resolution adjustment request may be sent by the application. Specifically, when resolution needs to be adjusted, for example, when a relevant operation of adjusting the resolution by a user is received, the application program may call a corresponding interface of the software development kit, send a resolution adjustment request carrying a target resolution to the software development kit, and transmit the target resolution to the corresponding interface.
In the above embodiment, by receiving a resolution adjustment request carrying a target resolution and used for adjusting the resolution of an initial picture, the initial attribute information may be adjusted according to the target resolution to obtain target attribute information, and the target rendering interface is used to render corresponding picture data according to the obtained target attribute information, where the obtained target picture has the same elements as the picture corresponding to the initial attribute information, thereby implementing a change of the resolution of the picture corresponding to the initial attribute information. Therefore, the resolution of the picture can be adjusted according to actual requirements, and the picture with the specified resolution is obtained, so that the picture is prevented from being directly amplified to cause picture distortion.
In some embodiments, as shown in fig. 4, step S206 is to acquire a target resolution, and adjust at least one attribute information in the initial attribute information according to the target resolution, where the acquiring of the target attribute information includes:
s402, determining first attribute information and second attribute information in the initial attribute information, wherein the first attribute information is attribute information related to resolution, and the second attribute information is attribute information unrelated to resolution.
Specifically, the initial attribute information may include attribute information related to resolution, and may further include attribute information unrelated to resolution. The attribute information related to the resolution may be coordinate information, length information, or width information, etc., and the attribute information not related to the resolution may be color information, font type, etc. Accordingly, attribute information related to the resolution among the initial attribute information can be identified as first attribute information; to identify attribute information, which is irrelevant to resolution, among the initial attribute information as second attribute information.
In some embodiments, the software development kit may be pre-set with resolution-related attributes, and the resolution-related attribute information may be determined based on the resolution-related attributes. The software development kit may compare the corresponding attribute with a specified attribute related to the resolution according to the attribute corresponding to each attribute information in the initial attribute information, determine whether the corresponding attribute is related to the resolution, and further determine whether the attribute information corresponding to the attribute is attribute information related to the resolution. Thereby dividing each attribute information corresponding to the initial attribute information into attribute information related to the resolution and attribute information unrelated to the resolution.
S404, acquiring a target resolution, and adjusting the first attribute information according to the target resolution to obtain the adjusted attribute information.
Specifically, the first attribute information refers to attribute information related to resolution, and the software development kit may adjust the first attribute information according to the target resolution to obtain the adjusted attribute information. For example, the software development kit may adjust the value corresponding to the first attribute information according to the size relationship between the target resolution and the value corresponding to the first attribute information, and for example, may enlarge or reduce the value corresponding to the first attribute information.
S406, the adjusted attribute information and the second attribute information are used as target attribute information.
Specifically, the second attribute information refers to attribute information that is independent of the resolution, i.e., data information that does not need to be adjusted according to the target resolution. The adjusted attribute information and the second attribute information may be used as target attribute information, that is, the target attribute information may include the attribute information adjusted according to the target resolution and the second attribute information.
In the above embodiment, the attribute information related to the resolution in the target attribute information is adjusted according to the target resolution, and the image data can be enlarged or reduced before the image is generated, so that the image data can be changed according to actual requirements, and distortion of the generated image after enlargement can be avoided.
In some embodiments, as shown in fig. 5, step S206 is to acquire a target resolution, and adjust at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information, including:
and S502, acquiring a target resolution, and obtaining a target scaling factor according to the target resolution and the resolution corresponding to the initial picture.
Specifically, the target scaling factor may be obtained according to the number of horizontal pixels and the number of vertical pixels respectively corresponding to the target resolution and the resolution corresponding to the initial picture. The horizontal scaling factor can be obtained by calculating the ratio of the number of horizontal pixels corresponding to the target resolution to the number of horizontal pixels corresponding to the resolution of the initial picture; the vertical scaling factor may be obtained by calculating a ratio of the number of vertical pixels corresponding to the target resolution to the number of vertical pixels corresponding to the resolution of the initial picture. The smaller of the horizontal scale factor and the vertical scale factor, which corresponds to the smaller value, may be taken as the target scale factor. For example, if the target resolution is 200 × 200 and the resolution corresponding to the original picture is 100 × 100, the horizontal scaling factor and the vertical scaling factor are both 2, and thus the target scaling factor is 2; if the target resolution is 150 × 200 and the original picture has a corresponding resolution of 100 × 100, the horizontal scaling factor is 1.5 and the vertical scaling factor is 2, so the target scaling factor can be 1.5.
S504, at least one attribute information in the initial attribute information is zoomed according to the target zooming factor, and the target attribute information is obtained.
Specifically, zooming refers to zooming in or out. The software development kit may scale the resolution-related attribute information in the initial attribute information according to a target scaling factor. When the target scaling factor is greater than 1, the software development kit can correspondingly amplify the attribute information related to the resolution in the initial attribute information according to the target scaling factor; when the target scaling factor is smaller than 1, the software development kit may perform corresponding scaling down on the attribute information related to the resolution in the initial attribute information according to the target scaling factor.
In the above embodiment, the target scaling factor is obtained according to the target resolution and the resolution corresponding to the initial picture, and at least one attribute information in the initial attribute information is scaled by the target scaling factor, so that the picture data can be changed according to actual requirements, and distortion of the generated picture after amplification can be avoided. When a smaller scaling factor is selected from the vertical scaling factor and the horizontal scaling factor as a target scaling factor to scale the attribute information, the attribute information can be scaled in the same proportion through the scaling factor, and the image deformation generated according to the target attribute information is avoided.
In some embodiments, the image data processing method is performed by a software development kit between an application and an operating system, the software development kit including a data specification layer, a format parsing layer, and an interface calling layer.
Specifically, the data specification layer is used for defining data specifications corresponding to data transmitted into the software development kit; the format analysis layer is used for analyzing the initial picture data according to the data specification to obtain the category and the initial attribute information of the picture elements; and the interface calling layer is used for calling the corresponding target drawing interface to draw the picture.
In some embodiments, after the software development kit acquires the initial picture data, the data format of the initial picture data is checked, and if the data format of the acquired picture data does not conform to the data format defined by the data specification layer, information that the picture data format is wrong may be returned to the application program that has transmitted the picture data.
In some embodiments, the format parsing layer may parse the initial picture data according to the data specification to obtain the category of the picture element and the initial attribute information, find a corresponding drawing interface according to the category of the picture element, and transmit the initial attribute information to a corresponding view to draw the view corresponding to the picture element.
In some embodiments, the same picture data may be obtained through format parsing layers corresponding to different systems. For example, assuming that the font size of a text element included in picture data conforming to the data specification obtained by the format parsing layer is 10, the intermediate layer calls a system interface for setting the font size corresponding to the android system in the android system, and calls a system interface for setting the font corresponding to the IOS system in the IOS. The system interfaces of different systems for drawing font sizes are not consistent, but the format analysis layer can adapt to the interface differences of different systems, so that the same data can generate views with the same font size. Similarly, other content and coordinates of text elements, picture links of picture elements, or picture fillets may also be rendered using the corresponding rendering interface of the corresponding system.
In some embodiments, after the application program may send the specified resolution to the software development tool, and the format resolution layer obtains the category of the picture element and the initial attribute information, the application program may adjust the initial attribute information according to the specified resolution, and call the rendering interface to perform rendering according to the adjusted attribute information, so as to obtain a picture with the specified resolution.
In the above embodiment, the software development kit includes a data specification layer, a format analysis layer, and an interface calling layer, where the software development kit defines a data specification through the data specification layer, so that the picture data input into the software development kit conforms to a specific data format, the format analysis layer may analyze the obtained picture data according to the data specification defined by the data specification layer to obtain a category and attribute information corresponding to a picture element, and the format analysis layer may automatically call a corresponding drawing interface according to the category of the obtained element and transmit the corresponding attribute information, so that the drawing interface draws a corresponding view. Therefore, when the picture needs to be generated, the software development kit can be called to generate the picture by generating the data corresponding to the picture according to the data specification without processing a complicated picture drawing process, so that the picture generation efficiency is improved.
In some embodiments, the acquiring initial picture data in step S202 includes: receiving initial picture data sent by an application program, wherein the initial picture data is generated according to a data specification defined by a data specification layer; the method further comprises the following steps: and returning the target picture to the application program.
Specifically, when the initial picture data sent by the application program conforms to the data specification defined by the data specification layer of the software development kit, the software development kit can analyze the initial picture data through the format analysis layer and call the corresponding drawing interface to draw to obtain a view of the picture corresponding to the initial picture data, and the software development kit can generate a target picture through the obtained view of the picture and return the target picture to the application program. Specifically, the software development kit may return the target picture to the application program in a callback manner.
In some embodiments, the target picture may be a picture binary stream, a picture local file, or a network picture. The pictures are stored in the memory in the form of binary streams during program running, and the picture binary streams are used for displaying the pictures during program running. The picture local file refers to a file stored in a computer disk, and may be a picture in a PNG (portable internet Graphics) format, for example. A network picture refers to a picture stored in a server and linked with a URL, such as "https:// www.xxx.com/bbbccc. The PNG is a lossless compressed bitmap graphic format, and supports the characteristics of an index, a gray scale, an RGB three-color scheme, an Alpha (transparent) channel and the like. The development goal of PNG is to improve and replace GIF as a format suitable for network transmission without patent approval, and thus is widely used in the internet and other fields.
In the embodiment, the software development kit returns the target picture to the application program, so that the application program obtains the target picture according to the picture data, the application program can obtain the required picture without performing more operations, and the development efficiency of the application program is improved.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts of the above embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a part of the sub-steps or the stages of other steps.
In some embodiments, as shown in fig. 6, there is provided an image data processing apparatus including: an initial picture data obtaining module 602, configured to obtain initial picture data, where the initial picture data is generated according to a preset format. The picture element and attribute information obtaining module 604 is configured to analyze the initial picture data according to an analysis rule corresponding to the preset format, so as to obtain a picture element and corresponding initial attribute information in the initial picture data. A target attribute information obtaining module 606, configured to obtain a target resolution, and adjust at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information corresponding to the picture element, where the target attribute information is attribute information corresponding to a drawing interface, and the drawing interface is configured to obtain a target picture according to the target attribute information and the picture element.
In some embodiments, the apparatus further comprises: and the corresponding relation acquisition module is used for acquiring the corresponding relation between the attribute information and the drawing interface in the operating system according to the category corresponding to the picture element. And the target drawing interface determining module is used for determining a corresponding target drawing interface according to the corresponding relation between the attribute information and the drawing interface. And the target picture obtaining module is used for drawing the corresponding picture elements according to the target attribute information by using the target drawing interface to obtain the target picture.
In some embodiments, the initial picture data obtaining module 602 is further configured to obtain initial picture data, where the initial picture data includes an element object corresponding to a picture element, the element object is generated according to the picture element and corresponding initial attribute information, and the element object includes one or more key value pairs composed of an initial attribute identifier and an attribute value in the initial attribute information. And the corresponding relation acquisition module is also used for acquiring the corresponding relation between the attribute identifier and the drawing interface in the operating system according to the category corresponding to the element object. And the target drawing interface determining module is also used for taking the key in each key value pair as an initial attribute identifier, and obtaining a corresponding drawing interface as a target drawing interface according to the corresponding relation between the attribute identifier and the drawing interface.
In some embodiments, the initial picture data obtaining module 602 is further configured to receive a resolution adjustment request for performing resolution adjustment on the initial picture, and obtain initial picture data corresponding to the initial picture in response to the resolution adjustment request, where the resolution adjustment request carries the target resolution.
In some embodiments, the target attribute information obtaining module 606 includes: and the attribute information determining unit is used for determining first attribute information and second attribute information in the initial attribute information, wherein the first attribute information is attribute information related to the resolution, and the second attribute information is attribute information unrelated to the resolution. And the adjusted attribute information obtaining unit is used for obtaining the target resolution, and adjusting the first attribute information according to the target resolution to obtain the adjusted attribute information. And the target attribute information acquisition unit is used for taking the adjusted attribute information and the second attribute information as target attribute information.
In some embodiments, the target attribute information obtaining module 606 is further configured to obtain a target resolution, and obtain a target scaling factor according to the target resolution and a resolution corresponding to the initial picture; and zooming at least one attribute information in the initial attribute information according to the target zooming factor to obtain target attribute information.
In some embodiments, the image data processing method is performed by a software development kit between an application and an operating system, the software development kit including a data specification layer, a format parsing layer, and an interface calling layer. The data specification layer is used for defining data specifications corresponding to data transmitted into the software development kit; the format analysis layer is used for analyzing the initial picture data according to the data specification to obtain the category and the initial attribute information of the picture elements; and the interface calling layer is used for calling the corresponding target drawing interface to draw the picture. The image data processing apparatus may be integrated in a software development kit.
In some embodiments, the initial picture data obtaining module 602 is further configured to receive initial picture data sent by an application program, where the initial picture data is generated according to a data specification defined by a data specification layer; the device is also used for returning the target picture to the application program.
For specific limitations of the image data processing apparatus, reference may be made to the above limitations of the image data processing method, which are not described herein again. The respective modules in the image data processing apparatus described above may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an image data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the image data processing method described above when executing the computer program.
In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the above-mentioned image data processing method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of image data processing, the method comprising:
acquiring initial picture data, wherein the initial picture data is generated according to a preset format;
analyzing the initial picture data according to an analysis rule corresponding to the preset format to obtain picture elements in the initial picture data and corresponding initial attribute information;
and acquiring a target resolution, and adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information corresponding to a picture element, wherein the target attribute information is attribute information corresponding to a drawing interface, and the drawing interface is used for obtaining a target picture according to the target attribute information and the picture element.
2. The method of claim 1, further comprising:
acquiring the corresponding relation between the attribute information and a drawing interface in the operating system according to the category corresponding to the picture element;
determining a corresponding target drawing interface according to the corresponding relation between the attribute information and the drawing interface;
and drawing the corresponding picture element according to the target attribute information by using the target drawing interface to obtain a target picture.
3. The method of claim 2, wherein the obtaining initial picture data comprises:
acquiring initial picture data, wherein the initial picture data comprises element objects corresponding to the picture elements, the element objects are generated according to the picture elements and corresponding initial attribute information, and the element objects comprise one or more key value pairs consisting of initial attribute identifications and attribute values in the initial attribute information;
the obtaining of the corresponding relationship between the attribute information and the drawing interface in the operating system according to the category corresponding to the picture element includes:
acquiring the corresponding relation between the attribute identification and the drawing interface in the operating system according to the category corresponding to the element object;
determining a corresponding target drawing interface according to the corresponding relationship between the attribute information and the drawing interface, including:
and taking the key in each key value pair as an initial attribute identifier, and obtaining a corresponding drawing interface as a target drawing interface according to the corresponding relation between the attribute identifier and the drawing interface.
4. The method of claim 1, wherein the obtaining initial picture data comprises:
receiving a resolution adjustment request for adjusting the resolution of an initial picture, and acquiring initial picture data corresponding to the initial picture in response to the resolution adjustment request, wherein the target resolution is carried in the resolution adjustment request.
5. The method of claim 1, wherein the obtaining a target resolution, and adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information comprises:
determining first attribute information and second attribute information in the initial attribute information, wherein the first attribute information is attribute information related to resolution, and the second attribute information is attribute information unrelated to resolution;
acquiring a target resolution, and adjusting the first attribute information according to the target resolution to obtain adjusted attribute information;
and taking the adjusted attribute information and the second attribute information as target attribute information.
6. The method of claim 1, wherein the obtaining a target resolution, and adjusting at least one attribute information in the initial attribute information according to the target resolution to obtain target attribute information comprises:
acquiring a target resolution, and acquiring a target scaling factor according to the target resolution and the resolution corresponding to the initial picture;
and zooming at least one attribute information in the initial attribute information according to the target zooming factor to obtain target attribute information.
7. The method of claim 1, wherein the method is performed by a software development kit between an application and an operating system, the software development kit comprising a data specification layer, a format parsing layer, and an interface call layer;
the data specification layer is used for defining data specifications corresponding to data transmitted into the software development kit;
the format analysis layer is used for analyzing the initial picture data according to the data specification to obtain the category of the picture element and the initial attribute information;
and the interface calling layer is used for calling the corresponding target drawing interface to draw the picture.
8. An image data processing apparatus, characterized in that the apparatus comprises:
the device comprises an initial picture data acquisition module, a data processing module and a data processing module, wherein the initial picture data acquisition module is used for acquiring initial picture data which is generated according to a preset format;
a picture element and attribute information obtaining module, configured to analyze the initial picture data according to an analysis rule corresponding to the preset format, so as to obtain a picture element and corresponding initial attribute information in the initial picture data;
and the target attribute information obtaining module is used for obtaining a target resolution ratio, adjusting at least one attribute information in the initial attribute information according to the target resolution ratio to obtain target attribute information corresponding to a picture element, wherein the target attribute information is attribute information corresponding to a drawing interface, and the drawing interface is used for obtaining a target picture according to the target attribute information and the picture element.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201911006758.5A 2019-10-22 2019-10-22 Image data processing method, device, computer equipment and storage medium Active CN111223155B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911006758.5A CN111223155B (en) 2019-10-22 2019-10-22 Image data processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911006758.5A CN111223155B (en) 2019-10-22 2019-10-22 Image data processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111223155A true CN111223155A (en) 2020-06-02
CN111223155B CN111223155B (en) 2023-12-05

Family

ID=70805812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911006758.5A Active CN111223155B (en) 2019-10-22 2019-10-22 Image data processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111223155B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112712395A (en) * 2021-01-08 2021-04-27 北京有竹居网络技术有限公司 Display information generation method and device and electronic equipment
CN114115767A (en) * 2020-08-31 2022-03-01 西安诺瓦星云科技股份有限公司 Media playing method, device and system and computer readable storage medium
CN114756322A (en) * 2022-05-09 2022-07-15 北京航云物联信息技术有限公司 Picture processing method and device, computer equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270109A (en) * 2011-08-23 2011-12-07 上海网达软件有限公司 Self-converting method and system for user interfaces with different resolutions
US20120249550A1 (en) * 2009-04-18 2012-10-04 Lytro, Inc. Selective Transmission of Image Data Based on Device Attributes
CN103530079A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Picture displaying method and device adaptive to mobile terminals of different resolution ratios
US20150268850A1 (en) * 2012-12-19 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method of Implementing Screen Adaptation for Owner-Drawn Elements and Apparatus
CN105959610A (en) * 2016-06-20 2016-09-21 乐视控股(北京)有限公司 Image display method and terminal device
CN107481697A (en) * 2015-07-03 2017-12-15 广东欧珀移动通信有限公司 A kind of image display method and user terminal and related media production
CN107786882A (en) * 2017-09-30 2018-03-09 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set top box
CN109413434A (en) * 2018-11-08 2019-03-01 腾讯科技(深圳)有限公司 Image processing method, device, system, storage medium and computer equipment
CN109710827A (en) * 2018-12-13 2019-05-03 百度在线网络技术(北京)有限公司 Picture attribute management method, device, photo services end and business processing end
CN110032697A (en) * 2019-04-22 2019-07-19 苏州紫焰网络科技有限公司 Image processing method, device, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120249550A1 (en) * 2009-04-18 2012-10-04 Lytro, Inc. Selective Transmission of Image Data Based on Device Attributes
CN102270109A (en) * 2011-08-23 2011-12-07 上海网达软件有限公司 Self-converting method and system for user interfaces with different resolutions
US20150268850A1 (en) * 2012-12-19 2015-09-24 Tencent Technology (Shenzhen) Company Limited Method of Implementing Screen Adaptation for Owner-Drawn Elements and Apparatus
CN103530079A (en) * 2013-09-30 2014-01-22 山西云途信息技术有限公司 Picture displaying method and device adaptive to mobile terminals of different resolution ratios
CN107481697A (en) * 2015-07-03 2017-12-15 广东欧珀移动通信有限公司 A kind of image display method and user terminal and related media production
CN105959610A (en) * 2016-06-20 2016-09-21 乐视控股(北京)有限公司 Image display method and terminal device
CN107786882A (en) * 2017-09-30 2018-03-09 青岛海信宽带多媒体技术有限公司 A kind of Webpage display process, device and set top box
CN109413434A (en) * 2018-11-08 2019-03-01 腾讯科技(深圳)有限公司 Image processing method, device, system, storage medium and computer equipment
CN109710827A (en) * 2018-12-13 2019-05-03 百度在线网络技术(北京)有限公司 Picture attribute management method, device, photo services end and business processing end
CN110032697A (en) * 2019-04-22 2019-07-19 苏州紫焰网络科技有限公司 Image processing method, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115767A (en) * 2020-08-31 2022-03-01 西安诺瓦星云科技股份有限公司 Media playing method, device and system and computer readable storage medium
CN112712395A (en) * 2021-01-08 2021-04-27 北京有竹居网络技术有限公司 Display information generation method and device and electronic equipment
CN114756322A (en) * 2022-05-09 2022-07-15 北京航云物联信息技术有限公司 Picture processing method and device, computer equipment and storage medium
CN114756322B (en) * 2022-05-09 2024-02-20 北京航云物联信息技术有限公司 Picture processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111223155B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN111223155B (en) Image data processing method, device, computer equipment and storage medium
EP1559264A1 (en) Method and system for conducting image processing from a mobile client device
CN109343851A (en) Page generation method, device, computer equipment and storage medium
CN107301046B (en) Icon processing method and device, computer equipment and storage medium
CN110751149A (en) Target object labeling method and device, computer equipment and storage medium
WO2023071861A1 (en) Data visualization display method and apparatus, computer device, and storage medium
CN111208998A (en) Method and device for automatically laying out data visualization large screen and storage medium
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
CN110910475A (en) Picture editing method and device, computer equipment and storage medium
CN110443772B (en) Picture processing method and device, computer equipment and storage medium
CN116466935A (en) Template processing method, device, computer equipment and storage medium
CN105389308B (en) Webpage display processing method and device
CN108388463B (en) Icon processing method and device, computer equipment and storage medium
CN110865943A (en) Interface testing method and device, computer equipment and storage medium
CN105739717A (en) Information input method and device
WO2023050744A1 (en) Map editing method, system, apparatus, computer device, program product, and storage medium
CN115756461A (en) Annotation template generation method, image identification method and device and electronic equipment
CN114489910A (en) Video conference data display method, device, equipment and medium
US11074392B2 (en) Information processing apparatus and non-transitory computer readable medium for switching between an attribute information mode and an image information mode
CN114330240A (en) PDF document analysis method and device, computer equipment and storage medium
CN113655973A (en) Page segmentation method and device, electronic equipment and storage medium
CN112328940A (en) Method and device for embedding transition page into webpage, computer equipment and storage medium
CN113096217A (en) Picture generation method and device, electronic equipment and storage medium
CN113112395B (en) Picture processing method, device and storage medium
WO2021164756A1 (en) Input method and apparatus for smart television, computer device, and storage medium

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