Skip to main content
Participant
September 8, 2022
Answered

Converting Tiff to JPG or PNG

  • September 8, 2022
  • 2 replies
  • 810 views

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 has been closed for replies.
    Correct answer Chris260274265e5s

    It was bad images. 

    2 replies

    BKBK
    Community Expert
    Community Expert
    September 9, 2022

    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? 

    Chris260274265e5sAuthorCorrect answer
    Participant
    September 12, 2022

    It was bad images. 

    Legend
    September 9, 2022

    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?