High-definition picture cutting and displaying method
A cutting method and image technology, applied in the information field, can solve problems such as lost data, long network noise, etc., and achieve the effects of reducing loading time, improving security, and reducing access traffic
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The technical scheme of the present invention will be further described in detail below in conjunction with the accompanying drawings:
[0024] Such as figure 1 As shown, the present invention provides a method for cutting high-definition pictures, including the following steps:
[0025] Step 1. According to the size of the uploaded image and the predefined minimum rectangular size, calculate the maximum number of compression levels for the uploaded image, which are specifically:
[0026] lv=ceil(log 2 (max(width_pic / width_i,height_pic / height_i)))
[0027] Among them, lv is the maximum number of levels, width_pic and height_pic are the width and height of the uploaded picture respectively, width_i and height_i are the width and height of the predefined minimum rectangle respectively, and ceil(·) means rounding up;
[0028] Step 2: Set the current level number now_lv to 0;
[0029] Step 3. Calculate the current compressed size (width, height) according to the current level, (width,...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 