Skip to main content
Apr 23, 2023 1:49 AM UTC
Solved

On the issue of importing images from format templates

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?
    hadardorAnswer
    May 11, 2023 6:58 AM UTC

    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

    5 replies

    Apr 23, 2023 11:37 AM UTC

    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)

    Apr 23, 2023 2:11 PM UTC

    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

     

    Apr 24, 2023 6:33 AM UTC

    @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.

    hadardorAnswer
    May 11, 2023 6:58 AM UTC

    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