Skip to main content
6-Contributor
April 23, 2023
Solved

On the issue of importing images from format templates

  • April 23, 2023
  • 2 replies
  • 1763 views
I am using Creo Parametric Release 9.0 and Datecode9.0.2.0

After importing images through object OLE in the format template, the image cannot be displayed when opened again, and even after creating a drawing template using the format template, the image cannot be displayed. What is the reason? How can I import PNG images with transparent backgrounds into the format template file?
    Best answer by hadardor

    Hello,

    Fact A black or white background will display when image with transparent background is inserted as an Object in a format file is a working as designed behavior, refer to article : 

    https://www.ptc.com/en/support/article/CS364138

    2 replies

    tbraxton
    22-Sapphire II
    22-Sapphire II
    April 23, 2023

    it is not clear from your post if using transparency on import is part of the problem. This may help with the transparent background issue.

     

    Article - CS118311 - How to insert an image or transparent color image to a drawing in Creo Parametric (ptc.com)

    6-Contributor
    April 23, 2023

    Thank you for answering my question. My main problem is how to insert a PNG image with a transparent background in the format file. I saw that it is possible to insert a PNG image with a transparent background in the drawing file, but in the format file, it seems that the image can only be inserted through OLE by inserting objects. I imported it through the built-in drawing software on my computer, and the background has become opaque and pure white.

    CT_10646942_0-1682258758292.png

    CT_10646942_1-1682258872361.png

    The above two images are the appearance of imported images in a format file. The transparent background of the image has changed to a white background

    CT_10646942_2-1682258937580.png

    The above image was imported from a drawing file with a transparent background

     

    24-Ruby III
    April 24, 2023

    @CT_10646942 wrote:

    Thank you for answering my question. My main problem is how to insert a PNG image with a transparent background in the format file. I saw that it is possible to insert a PNG image with a transparent background in the drawing file, but in the format file, it seems that the image can only be inserted through OLE by inserting objects. I imported it through the built-in drawing software on my computer, and the background has become opaque and pure white.

    CT_10646942_0-1682258758292.png

    CT_10646942_1-1682258872361.png

    The above two images are the appearance of imported images in a format file. The transparent background of the image has changed to a white background

    CT_10646942_2-1682258937580.png

    The above image was imported from a drawing file with a transparent background

     


    Hi,

    ask PTC support to let you know if it is possible to instert png in a format with a transparent background.

    I guess such functionality is not implemented and you will have to use drawing template instead of format.

    hadardor17-PeridotAnswer
    17-Peridot
    May 11, 2023

    Hello,

    Fact A black or white background will display when image with transparent background is inserted as an Object in a format file is a working as designed behavior, refer to article : 

    https://www.ptc.com/en/support/article/CS364138