Image compression settings

Hi there,

The compression settings applied to JPEG images make a huge difference to image quality and page load times if being used for web. Can someone please tell me what the default JPEG compression settings are in Razuna and wether or not we can change this in the config please.

There is no apparent way to do this on the front end, but surely there should be a way to alter this somewhere.

Thanks

Tom

In the current version we do not offer any way to change this. The reason
for this is obvious as many people don’t know what to set and will most
likely mess with it and thus create even more issues.

That being said, we understand that Razuna is being used by power users and
we will make adjustments for this in Razuna 2.0 (to be released later this
year).

If you search for imagemagick on this forum you will find code examples
from our users that have manipulated this in the core.

I hope this helps.

Hi,

I’m afraid it doesn’t really help much at all.

Firstly i would still like to know what the default JPEG compression settings are.

Secondly searching for imagemagick in the search bar only returns 4 posts none of which contain any helpful information or examples on manipulating the compression/quality. If you could link me to a specific example that would be great.

Thanks

Tom

With all due respect, but are you a developer? If so, I can point you to
the lines in the code and you can look into it.

If not, than as stated in my initial reply, we don’t have an option to
change this right now. If your “fear” is that images are to big then maybe
you can present me with a case or let me know what your goal is in all of
this.

Hi,

No i am not a developer but we have several developesr in the team who would if needed make this change. It would be great if you could point us to the lines in the code should we need to make a change.

With that said if you could also tell me what the current JPEG compression/quality settings are they may not need alter it. I am not trying to be difficult just looking information.

Our use case for the future would be that images renditioned at larger resolutions, HD for instance would be created with lower quality vs smaller images such as thumbnails or images for mobile devices. By doing this you can optimise page load vs image quality.

For now we would like to know what the default setting is should we want to manipulate it. The pages we intend to use Razuna for will be image rich so this is a very important consideration for us.

Thanks

Tom

The code is in assets.cfc and images.cfc. Your developer has to look for
“convert” and follow the trail of how we set parameters with variables. It
is not a “here is the line” answer as the code is set together with
conditions.

That being said, we do not provide support for customisation.

Note: If you are seriously considering deploying Razuna your company you
should consider our support plans at http://razuna.org/support/subscriptions

Hope this helps.

Hi Nitai,

Thank you for sending this through. We do already have Razuna deployed (though not yet in production) and i believe we have a support plan with you.

Thanks again for the help

Tom

Ah I see. Ok, if you have a support plan you are also free to reach out to us directly per email, too. The forum here does not let us differentiate who is a paid customer :wink: