Skip to main content
Participant
Sep 8, 2022 7:30 PM UTC
Answered

Converting Tiff to JPG or PNG

Running into a cfimage problem trying to convert a tiff image to a PNG or JPG. PNG conversion results in a 0 byte file.  JPG conversion produces am image, but it is a negative of the original.

<cfimage source="test.tif" action="convert" destination="test.jpg" overwrite="true">
    This topic is closed to new replies. Start a new post to keep the conversation going.
    Chris260274265e5sCorrect answer
    Participant
    Sep 12, 2022 12:26 PM UTC

    It was bad images. 

    3 replies

    BKBK
    Community Expert
    Community Expert
    Sep 9, 2022 9:19 PM UTC

    What is your ColdFusion version and update level?

    Might it be that there is a problem with the image? What happens when you test with image I have attached? 

    Translate
    Chris260274265e5sAuthorCorrect answer
    Participant
    Sep 12, 2022 12:26 PM UTC

    It was bad images. 

    Translate
    Legend
    Sep 9, 2022 5:58 PM UTC

    Can you check to see if the TIFF images are CMYK format?   According to Adobe's documentation, CFIMAGE cannot convert TIFF images.  Maybe attach a sample image for us to analyze?

    Translate