Your shopping cart is empty.
Last call for Christmas delivery: use code ARTGIFT when placing your order to get 20% off. Ends tomorrow.
Sep 28, 2023
This is a short python program which uses PIL (Python imaging library or Pillow) to perform its magic. Cut and paste or email me for the source (Or even better sign up for my page and I'll use that email).
It takes an input image and places it in a 2048x2048 square with a white background.
# (c) 2023 Treadco
import numpy as np
from PIL import Image
image = Image.open(sys.argv)
print("Could not open the input \nUsage to_instagram inputfile outputname")
if len( sys.argv) < 3:
outputfilename = "output.jpg"
outputfilename = sys.argv
iarray = np.array(image.convert("RGB"))
nx = iarray.shape
ny = iarray.shape
inew = Image.new( "RGB", [2048,2048], (255,255,255))
if nx > ny :
simage = image.resize([ int((2048.*ny)/nx),2048 ])
inew.paste( simage, [int((2048-int((2048.*ny)/nx))/2),0])
simage = image.resize([2048, int((2048.*nx)/ny) ])
inew.paste( simage, [0,int((2048-int((2048.*nx)/ny))/2)])
The presence of this badge signifies that this business has officially registered with the Art Storefronts Organization and has an established track record of selling art.
It also means that buyers can trust that they are buying from a legitimate business. Art sellers that conduct fraudulent activity or that receive numerous complaints from buyers will have this badge revoked. If you would like to file a complaint about this seller, please do so here.
This website provides a secure checkout with SSL encryption.
This is only visible to you because you are logged in and are authorized to manage this website. This message is not visible to other website visitors.
Click on any Image to continue
Below, select which favorite lists you would like to save this product into.
This means you can use the camera on your phone or tablet and superimpose any piece of art onto a wall inside of your home or business.
To use this feature, Just look for the "Live Preview AR" button when viewing any piece of art on this website!
SAVE 20% ON YOUR FIRST ORDER!
Enter your email below and we'll email you a 20% OFF Coupon right now!