diff --git a/README.md b/README.md index 6fb66f1..569a831 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,5 @@ I'm a photographer. I regularly need to save jpegs for web. This is a python scr 1. Run `convert.py` * This will download ImageMagick into the imagemagick folder. - * This convert files into the web-files folder. \ No newline at end of file + * This will convert files into the web-files folder. + * This will convert files into the high-res folder for customer delivery. \ No newline at end of file diff --git a/convert.py b/convert.py index 5d081b7..6b68664 100644 --- a/convert.py +++ b/convert.py @@ -24,10 +24,9 @@ def convertFilesInInput(): print("Converting " + filename + " for web.") convertImage("1500","50",filename,getOutputPath()) - for filename in os.listdir(inputFolder): print("Converting " + filename + " for delivery.") # 6000x can give you a 20 inch image for print. Printing is 300dpi so 6000px/300dpi = 20inch, but if someone wants a 20x16 your smaller edge needs to be 4800px - convertImage("8000","50",filename,getOutputPathHighRes()) + convertImage("8000","50",filename,getOutputPathHighRes()) def convertImage(pixels,quality,filename,outputPath): #os.path.splitext(filename)[0] gets rid of file extension if you want a different extension