Is it possible to optimise and resize an image with mozjpeg?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Does "Until when" sound natural for native speakers?

Should I take out a loan for a friend to invest on my behalf?

What was the Kree's motivation in Captain Marvel?

PTIJ: Should I kill my computer after installing software?

Do I really need to have a scientific explanation for my premise?

How to draw cubes in a 3 dimensional plane

What does "the touch of the purple" mean?

In the quantum hamiltonian, why does kinetic energy turn into an operator while potential doesn't?

Does the nature of the Apocalypse in The Umbrella Academy change from the first to the last episode?

What are actual Tesla M60 models used by AWS?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Is "history" a male-biased word ("his+story")?

Intuition behind counterexample of Euler's sum of powers conjecture

How are showroom/display vehicles prepared?

'The literal of type int is out of range' con número enteros pequeños (2 dígitos)

NASA's RS-25 Engines shut down time

Single word request: Harming the benefactor

How to write ı (i without dot) character in pgf-pie

Accepted offer letter, position changed

Latex does not go to next line

Why was Goose renamed from Chewie for the Captain Marvel film?

Good for you! in Russian

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?



Is it possible to optimise and resize an image with mozjpeg?














0















I want to be able to compress and resize and image with mozjpeg's cjpeg command



However according to the usage file it does not seem like cjpeg can do both in one single command.



Is it right?



If it is impossible to both compress and resize at the same time, should I use jpegtran to perform the resize function? If I should use jpegtran, then should the resize before or after the cjpeg optimises?










share|improve this question

























  • Perhaps I am blind, but in the usage page you link to, neither cjpeg nor jpegtran seem to have a resize option? The closest thing I spotted was djpeg, which has a scale option, but that's for decompressing .jpg images.

    – Anaksunaman
    7 mins ago











  • then how can one use this toolset to scale down a jpeg image?

    – Anthony Kong
    2 mins ago
















0















I want to be able to compress and resize and image with mozjpeg's cjpeg command



However according to the usage file it does not seem like cjpeg can do both in one single command.



Is it right?



If it is impossible to both compress and resize at the same time, should I use jpegtran to perform the resize function? If I should use jpegtran, then should the resize before or after the cjpeg optimises?










share|improve this question

























  • Perhaps I am blind, but in the usage page you link to, neither cjpeg nor jpegtran seem to have a resize option? The closest thing I spotted was djpeg, which has a scale option, but that's for decompressing .jpg images.

    – Anaksunaman
    7 mins ago











  • then how can one use this toolset to scale down a jpeg image?

    – Anthony Kong
    2 mins ago














0












0








0








I want to be able to compress and resize and image with mozjpeg's cjpeg command



However according to the usage file it does not seem like cjpeg can do both in one single command.



Is it right?



If it is impossible to both compress and resize at the same time, should I use jpegtran to perform the resize function? If I should use jpegtran, then should the resize before or after the cjpeg optimises?










share|improve this question
















I want to be able to compress and resize and image with mozjpeg's cjpeg command



However according to the usage file it does not seem like cjpeg can do both in one single command.



Is it right?



If it is impossible to both compress and resize at the same time, should I use jpegtran to perform the resize function? If I should use jpegtran, then should the resize before or after the cjpeg optimises?







mozjpeg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 mins ago







Anthony Kong

















asked 58 mins ago









Anthony KongAnthony Kong

1,53863458




1,53863458













  • Perhaps I am blind, but in the usage page you link to, neither cjpeg nor jpegtran seem to have a resize option? The closest thing I spotted was djpeg, which has a scale option, but that's for decompressing .jpg images.

    – Anaksunaman
    7 mins ago











  • then how can one use this toolset to scale down a jpeg image?

    – Anthony Kong
    2 mins ago



















  • Perhaps I am blind, but in the usage page you link to, neither cjpeg nor jpegtran seem to have a resize option? The closest thing I spotted was djpeg, which has a scale option, but that's for decompressing .jpg images.

    – Anaksunaman
    7 mins ago











  • then how can one use this toolset to scale down a jpeg image?

    – Anthony Kong
    2 mins ago

















Perhaps I am blind, but in the usage page you link to, neither cjpeg nor jpegtran seem to have a resize option? The closest thing I spotted was djpeg, which has a scale option, but that's for decompressing .jpg images.

– Anaksunaman
7 mins ago





Perhaps I am blind, but in the usage page you link to, neither cjpeg nor jpegtran seem to have a resize option? The closest thing I spotted was djpeg, which has a scale option, but that's for decompressing .jpg images.

– Anaksunaman
7 mins ago













then how can one use this toolset to scale down a jpeg image?

– Anthony Kong
2 mins ago





then how can one use this toolset to scale down a jpeg image?

– Anthony Kong
2 mins ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413275%2fis-it-possible-to-optimise-and-resize-an-image-with-mozjpeg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413275%2fis-it-possible-to-optimise-and-resize-an-image-with-mozjpeg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...