Cross-Environment Image Rendering Through Function Call Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Images created using a graphics engine associated with a first image rendering environment, such as.NET, cannot be rendered in a second environment like HTML due to the exclusive nature of the libraries used.
Innovation Solution
A function call converter is employed to convert drawing commands from the first image rendering environment into compatible instructions for the second environment, utilizing a mock command library and rendering implementation to facilitate cross-environment rendering.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If images are created using a graphics engine associated with a first image rendering environment, then the images can be displayed using the associated drawing platform and library of drawing commands, but the images cannot be rendered in a second image rendering environment due to the exclusive nature of the libraries
Solution Approach 1:
The patent introduces a function call converter as an intermediary component that translates drawing commands from the first image rendering environment's library into compatible instructions for the second image rendering environment. This converter acts as a mediator that enables cross-environment rendering without requiring direct integration between the two environments, thereby improving adaptability while managing complexity through a dedicated translation layer.
2Adaptability or versatility
If a function call converter is introduced to enable cross-environment rendering, then images can be rendered in the second image rendering environment, but the system complexity increases due to the conversion function
Solution Approach 1:
The function call converter is designed to handle multiple rendering environments and command types through a universal translation mechanism. By creating a multi-functional converter that can adapt to different source and target environments, the system achieves broad adaptability without proportionally increasing complexity, as the converter handles diverse scenarios through a unified approach.
3Adaptability or versatility
If drawing commands are converted from the first image rendering environment to the second, then compatibility is improved, but the conversion process requires additional processing time and resources
Solution Approach 1:
The system performs preliminary analysis of the drawing commands during the conversion process to identify optimization opportunities. By pre-processing and analyzing the command structure before full conversion, the system can apply efficient translation strategies and reduce the overall conversion time, balancing compatibility requirements with processing efficiency.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
The invention relates to an image rendering device, a user terminal comprising such a device as well as to a method, computer program and computer program product for rendering an image that has been created in a first image rendering environment. The image rendering device (48) comprises a function call converter (58) that receives, from a graphics engine (50) associated with the first environment, a call (Calli) for the use of commands in a library of drawing functions associated with the first environment, the call (Calli) being a call for the drawing of an image (I) using one or more drawing commands in the library, converts, in a converting function, the at least one drawing command to at least one drawing instruction of a second image rendering environment (56) and applies the at least one drawing instruction in the second environment (56) in order to draw the image (I).