Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: image format from jpg to png

  1. #1
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default image format from jpg to png

    Hi

    I know back in 2009 the file format could not be changed from jpg but do you know if it is possible to change the product image default to .png?

  2. #2
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    Are you talking about when the pictures are rendered to the screen (like after watermark application) or when they are saved to the server through the interface?
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM

  3. #3
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    Hi

    No I was just talking about product image default. It looks like it an accept jpg, bmp or png. I guess the problem we have now is how to batch convert 22,000 jpg to png with a transparent background!

  4. #4
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    Yea, their default of JPG is, in my opinion, a very poor choice. However, it is pretty simple to go in to the source code to set it to always output PNG when it is manipulating images.
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM

  5. #5
    bradg is offline Junior Member
    Join Date
    May 2012
    Posts
    13

    Default

    Any updates on this issue? We sell phone plans and our product images occasionally have prices on them. Jpeg uses lossy compression. Yada yada.

    Which file(s) need to be edited to use a different default file extension?

  6. #6
    cjbarth is offline Senior Member
    Join Date
    Oct 2008
    Posts
    392

    Default

    I've made some major modifications to the watermark handler to support transparency utilizing PNG's transparency layer.

    http://forums.aspdotnetstorefront.co...ency-Watermark

    http://forums.aspdotnetstorefront.co...atermark-Issue
    ML9.3.1.1
    SQL 2012 Express
    VS 2010
    Azure VM