[OpenR8 solution] Image_ConvertFileFormat (Convert image file format)
  1. Chapter1: Image_ConvertFileFormat Introduction

 

The function of Image_ConvertFileFormat is to convert the image file into another image format. In this example, the TIFF image file is converted into a PNG file, and the user can convert the TIFF, BMP, JPEG, PNG, GIF image files into TIFF, BMP, JPEG, PNG, GIF file format.

 

Fig. 1 is the setting procedure of the convert. After the setting is completed, it can be converted.

 

Fig. 1. convert process.png

Fig. 1. convert process.

 

 

 

 

  1. Chapter2: Instructions for use

 

Here's how to turn a tiff image into a png image.

 

Step1: At the beginning, please open the "OpenR8", if the computer has installed display adapter, please click "R8_Python3.6_GPU.bat" to execute the file. If not, click "R8_Python3.6_CPU.bat" to execute the file. Select the Image_ConvertFileFormat.py to open it, as shown in.Fig. 2, Fig. 3, Fig. 4, Fig. 5.

 

Fig. 2. execute the OpenR8.png

Fig. 2. execute the OpenR8.

 

Fig. 3. Open py.png

Fig. 3. Open py.

 

Fig. 4. Select the Image_ConvertFileFormat.png

Fig. 4. Select the Image_ConvertFileFormat.py.

 

Fig. 5. Open the Image_ConvertFileFormat.png

Fig. 5. Open the Image_ConvertFileFormat.py.

 

Step2: Select the location of the image path after the transition and the format to be converted, as shown in Fig. 6, Fig. 7.

 

Fig. 6. Select the convert image folder path you want to store.png

Fig. 6. Select the convert image folder path you want to store.

 

Fig. 7. Set the format you want to convert.png

Fig. 7. Set the format you want to convert.

 

Step3: Select the image folder path where you want to convert files.

 

Fig. 8. Select the image folder path where you want to convert files.png

Fig. 8. Select the image folder path where you want to convert files.

 

Fig. 9. Set the image format to be redirected.png

Fig. 9. Set the image format to be redirected.

 

Step4: Run the Image_ConvertFileFormat.py 

 

Fig. 10. Run the result.png

Fig. 10. Run the result.

 

Fig. 11. After the successful operation the converted png file appears..png

Fig. 11. After the successful operation, the converted png file appears.

 

※ Additional explanation: Suppose you want to convert tiff to jpg, change the value of Figure 7 (.png to .jpg), and so on. Currently, raw file conversion is not supported.


Recommended Article

1.
OpenR8 Community Edition - AI Software for Everyone (Free Download)