Reducing file size of rendered jpg

I have figured out how to render a jpg in Daz Studio 4.10 using iray.  The image will be used on a website, and the jpg file size is too big.  I have reduced the quality of the render in Daz Studio by reducing the max samples, but the jpg size is still much too big.  Currently, I must edit the image in Gimp and export it as lower quality in order to get the jpg file size I want.  Then the image is good enough quality and the file size is acceptable.  Is there a way to generate a jpg of lower quality in Daz Studio, so I do not need to edit it again in Gimp?

Comments

  • Not as far as I know - jpg quality, and file size, are related to how exactly the export matches the render on screen (jpg is a lossy format), so lowering the render quality just gives a noisier image tos tart from - indeed, the noise may make it harder to compress and so produce a larger file.

  • I have reduced the quality of the render in Daz Studio by reducing the max samples, but the jpg size is still much too big.

    Yes, as mentioned above, the graininess of a reduced quality render will cause less efficient jpg compression. A higher quality render will compress more efficiently because the image will be more like the sort of thing jpg was designed for; scanned photographs. There's really no way around having to use an external program to adjust compression.

    Have you tried a simpler image manipulation/viewer program? The one I prefer is Irfanview, which allows you to optimise for a specific compression factor, or to target a specific final file size. It's simple to use, I can load, adjust, and re-save an image in a matter of seconds. And it's free, which might not be a minor consideration for you.

  •  the noise may make it harder to compress and so produce a larger file.

    Ihad noticed that as the quality of the render decreased, the file size increased.  This did not make any sense to me.  Thank you for explaining.

  • Have you tried a simpler image manipulation/viewer program? The one I prefer is Irfanview

    I have used Irfanview in the past.  That may be quicker for me so I will look into it.  Thanks!

  • rames44rames44 Posts: 329

    ImageMagic will also easily alter the compression level on jpegs. 

  • agent unawaresagent unawares Posts: 3,513
    edited December 2017
    FYI, if you render to jpeg then resave to jpeg from GIMP you are performing lossy compression twice which gives you extra artifacts. I would save to png which is lossless, then do noise reduction in GIMP to the point you think looks good (which as Richard mentioned will help the image compress better), THEN save to jpeg. Your overall result will be better.
    Post edited by agent unawares on
Sign In or Register to comment.