resizing an image to reduce resolution (for art reasons)












0















I want to use Python to "resize" an image to make the physical size of the image larger without increasing the number of pixels in the image. This will result hopefully in a very low resolution highly pixelated image. I have tried creating a new image using PIL from Python and zooming in on it using the standard image viewer in my computer. Unfortunately it would not zoom in much.



Any ideas appreciated.










share|improve this question













migrated from datascience.stackexchange.com 35 mins ago


This question came from our site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field.
















  • It seems that you don't want to resize the image since you want to keep the number of pixels the same. You probably want to change the DPI (see stackoverflow.com/a/27328679/1383366). Whether the correct size is displayed depends on the program that will show the image. To change the DPI using Python, see stackoverflow.com/a/9174789/1383366.

    – redcurry
    39 secs ago
















0















I want to use Python to "resize" an image to make the physical size of the image larger without increasing the number of pixels in the image. This will result hopefully in a very low resolution highly pixelated image. I have tried creating a new image using PIL from Python and zooming in on it using the standard image viewer in my computer. Unfortunately it would not zoom in much.



Any ideas appreciated.










share|improve this question













migrated from datascience.stackexchange.com 35 mins ago


This question came from our site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field.
















  • It seems that you don't want to resize the image since you want to keep the number of pixels the same. You probably want to change the DPI (see stackoverflow.com/a/27328679/1383366). Whether the correct size is displayed depends on the program that will show the image. To change the DPI using Python, see stackoverflow.com/a/9174789/1383366.

    – redcurry
    39 secs ago














0












0








0








I want to use Python to "resize" an image to make the physical size of the image larger without increasing the number of pixels in the image. This will result hopefully in a very low resolution highly pixelated image. I have tried creating a new image using PIL from Python and zooming in on it using the standard image viewer in my computer. Unfortunately it would not zoom in much.



Any ideas appreciated.










share|improve this question














I want to use Python to "resize" an image to make the physical size of the image larger without increasing the number of pixels in the image. This will result hopefully in a very low resolution highly pixelated image. I have tried creating a new image using PIL from Python and zooming in on it using the standard image viewer in my computer. Unfortunately it would not zoom in much.



Any ideas appreciated.







python






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 40 mins ago







user66205











migrated from datascience.stackexchange.com 35 mins ago


This question came from our site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field.






migrated from datascience.stackexchange.com 35 mins ago


This question came from our site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field.















  • It seems that you don't want to resize the image since you want to keep the number of pixels the same. You probably want to change the DPI (see stackoverflow.com/a/27328679/1383366). Whether the correct size is displayed depends on the program that will show the image. To change the DPI using Python, see stackoverflow.com/a/9174789/1383366.

    – redcurry
    39 secs ago



















  • It seems that you don't want to resize the image since you want to keep the number of pixels the same. You probably want to change the DPI (see stackoverflow.com/a/27328679/1383366). Whether the correct size is displayed depends on the program that will show the image. To change the DPI using Python, see stackoverflow.com/a/9174789/1383366.

    – redcurry
    39 secs ago

















It seems that you don't want to resize the image since you want to keep the number of pixels the same. You probably want to change the DPI (see stackoverflow.com/a/27328679/1383366). Whether the correct size is displayed depends on the program that will show the image. To change the DPI using Python, see stackoverflow.com/a/9174789/1383366.

– redcurry
39 secs ago





It seems that you don't want to resize the image since you want to keep the number of pixels the same. You probably want to change the DPI (see stackoverflow.com/a/27328679/1383366). Whether the correct size is displayed depends on the program that will show the image. To change the DPI using Python, see stackoverflow.com/a/9174789/1383366.

– redcurry
39 secs ago












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f54282799%2fresizing-an-image-to-reduce-resolution-for-art-reasons%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 Stack Overflow!


  • 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%2fstackoverflow.com%2fquestions%2f54282799%2fresizing-an-image-to-reduce-resolution-for-art-reasons%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

How to label and detect the document text images

Vallis Paradisi

Tabula Rosettana