Unlock instant, AI-driven research and patent intelligence for your innovation.

Image preview method, device, equipment and storage medium

An image preview and preview technology, which is applied in the fields of still image data browsing/visualization, program control device, still image data retrieval, etc., can solve the problems of poor gesture recognition performance, difficult gesture operation response, and difficulty in displaying preview images.

Active Publication Date: 2020-05-19
苏州沁游网络科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although only one version of WebApp can be written for Android system and iOS system at the same time, the gesture recognition performance of WebApp is poor, and it is difficult to respond to gesture operations smoothly.
For example, when the image preview is triggered by the user's gesture operation, there will be a freeze phenomenon, and it is difficult to display the preview image smoothly

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
  • Image preview method, device, equipment and storage medium
  • Image preview method, device, equipment and storage medium
  • Image preview method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] figure 1 It is a flow chart of a React Native-based image preview method provided in Embodiment 1 of the present invention. The method of this embodiment can be executed by a React Native-based image preview device, which can be implemented by means of hardware and / or software , and can generally be integrated into devices, such as mobile terminals, servers, etc. The method of this embodiment specifically includes:

[0042] S101. Obtain an operation interface conversion instruction.

[0043] In this embodiment, the operation interface specifically refers to an operation interface of an application program for receiving and executing user operations. The operation interface switching instruction specifically refers to an instruction for switching from the current operation interface to another operation interface.

[0044] S102. If the converted operation interface corresponding to the operation interface conversion command is the set image preview interface, call the...

Embodiment 2

[0051] figure 2 It is a flow chart of a React Native-based image preview method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. In this embodiment, a specific implementation manner of embodying user operations and embodying the steps of displaying a preview image is given.

[0052] Correspondingly, the method in this embodiment specifically includes:

[0053] S201. Obtain an operation interface conversion instruction.

[0054] S202. Determine whether the converted operation interface corresponding to the operation interface conversion instruction is a set image preview interface, if yes, perform step 204, and if not, perform step 203.

[0055] S203. Call the program corresponding to the converted operation interface.

[0056] In this embodiment, if the converted operation interface corresponding to the operation interface conversion command is not the preset image preview interface, the program corr...

Embodiment 3

[0071] image 3 It is a flow chart of a React Native-based image preview method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, a specific implementation manner of embodying the step of displaying the preview image and adding the step of updating the preview image is given.

[0072] S301. Obtain an operation interface conversion instruction.

[0073] S302. Determine whether the converted operation interface corresponding to the operation interface conversion instruction is a set image preview interface, if yes, perform step 304, and if not, perform step 303.

[0074] S303. Call the program corresponding to the converted operation interface.

[0075] S304. Call the image preview program based on React Native.

[0076] S305. Through the image preview program, determine whether the user's gesture operation on the target image in the image preview interface is a long press opera...

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 embodiment of the invention discloses an image preview method and device based on React Native, equipment and a storage medium. The method comprises the steps of obtaining an operation interface conversion instruction; And if the converted operation interface corresponding to the operation interface conversion instruction is a set image preview interface, calling a React Native-based image preview program to enable the image preview program to display a preview image according to a user operation corresponding to the set image preview interface. According to the technical scheme provided by the embodiment of the invention, the problem that in the prior art, different image preview program modules which are arranged in an application program or can be called by the application program need to be compiled for different mobile operation systems is solved; The technical defects that the development cost of the application program is increased and the development efficiency is reduced are overcome, the development cost of the application program based on the Android and the iOS system is reduced, and the development efficiency of the application program is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of image preview, and in particular, to a React Native-based image preview method, device, device, and storage medium. Background technique [0002] Nowadays, most of the operating systems used by mobile terminals are Android system and iOS system. Among them, the Android system is an operating system developed by Google, and the iOS system is a mobile operating system developed by Apple. These two mobile operating systems completely different. [0003] In the prior art, when programming an application program in a mobile terminal, programmers need to write two versions of the application program for the Android system and the iOS system, which wastes a lot of manpower and material resources, making the development cost of the application program relatively high and the development efficiency low. lower. [0004] WebApp refers to web-based systems and applications, which can publish a...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/54G06F3/0484G06F3/0485G06F3/0488G06F9/451
CPCG06F3/04845G06F3/0485G06F3/04883G06F9/451
Inventor 宋大伟张丹
Owner 苏州沁游网络科技有限公司