PNG2LOG
Use the PNG2LOG utility to convert a PNG (Portable Network Graphic) file into a graphics (LOG) file.
Note | You can also use Studio’s Graphic manager to convert PNG files. |
Not all PNG formats are supported. Specifically, PNG supports a transparency attribute that is not supported. The system only supports opaque (non-transparent) bitmaps.
PNG also supports a variety of color bit patterns, such as - 1, 2, 4, 8, 16, 24, and 32 bits per pixel. The system does not support all of these formats, but a 3rd-party PNG library included with the system will convert the bitmaps into a pixel format the system does support.
Program names
- Windows: PNG2LOG.EXE
Syntax
PNG2LOG /I /O
Parameter |
Description |
/I |
Enter the name of the PNG file you want to convert, with or without the extension (PNG). When converting a large number of files, simply enter /i=*. |
/O |
The name of the graphics (LOG) file you want to create. Enter the name with or without the extension (LOG). If omitted, the utility uses the PNG file’s name and the LOG extension. |
Keep in mind...
- The system converts PNG files into bitmaps when printing. It handles monochrome (1 bit), 16-color (4-bit), 256-color (8-bit), and full color (24-bit) bitmaps. However, not all printers can support these, so make sure you use bitmaps appropriate for your printer.
- PDF only supports 1-bit and 24-bit bitmaps. So, some types of PNG files may look different when you create PDF files.
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.