top of page
ABOUT US
PORTFOLIO
Jean Baptiste Ducruet
Jean Louis Ducruet
Albert Lemoine
Sophie Pamela
REPRODUCTION
ORIGINAL
DIGITAL
PRODUCT
SHOP
More
Use tab to navigate through the menu items.
Log In
Sort by
Load Previous
Quick View
0012
0012 JLD OIL ON FOAM BOARD 44 X 40 DIJON FRANCE CITY CHURCH
Quick View
0234
0234 JBD Watercolor 9 X 12 2020 Bali Indonesia The Mask Denpasar
Quick View
0262
0262 JBD Water Color The Denpasar Lady Bali Indonesia 2020
Quick View
0263
0263 JBD Water Color The world turning Fairfield USA 2020
Quick View
0137
0137 JBD Oil On Canvas Comme des Albatros
Quick View
0144
0144 JBD Oil On Canvas Iphone Syndrome
Quick View
0238
0238 JBD Watercolor 9 X 12 2020 Bali Indonesia Abstract Nusa Dua
Quick View
0246
0246 JBD Free Hand Sketch 9 X 11 2017 Fairfield USA Aix en Provence
Quick View
0247
0247 JBD Free Hand Sketch 8 X 11 2018 Fairfield USA Conquistador
Quick View
0248
0248 JBD Free Hand Sketch 8 X 11 2018 Fairfield USA The Black Dress
Quick View
0252
0252 JBD Free Hand Sketch 8 X 11 2019 Fairfield USA Black & White
Quick View
0253
0253 JBD Oil on Cardboard 8 X 15 2019 Fairfield USA Woman Face
Load More
bottom of page
#!/usr/bin/env bash # --- Function to split string split_by () { string=$1 separator=$2 tmp=${string//"$separator"/$'\2'} IFS=$'\2' read -a arr <<< "$tmp" echo "${arr[@]}" } # --- Create directories for processed images mkdir -p thumbnails_600 mkdir -p thumbnails_200 mkdir -p watermark_images # --- Loop over all .png images in this directory for image in ./*.png do # --- Don't process the watermark foreground image if [[ $image =~ "pictura_darte" ]] then continue fi echo "Processing "$image # --- Create thumbnails images thumbnail="thumbnails_600/"$image convert -thumbnail 600 $image $thumbnail thumbnail="thumbnails_200/"$image convert -thumbnail 200 $image $thumbnail # --- Get size of image geometry=`identify -verbose $image |grep geometry | head -n 1` separator=': ' tmp=${geometry//"$separator"/$'\2'} ; IFS=$'\2' read -a arr <<< "$tmp" geometry=${arr[1]} separator='+' tmp=${geometry//"$separator"/$'\2'} ; IFS=$'\2' read -a arr <<< "$tmp" geometry=${arr[0]} separator='x' tmp=${geometry//"$separator"/$'\2'} ; IFS=$'\2' read -a arr <<< "$tmp" size_x=${arr[0]} size_y=${arr[1]} # --- Figure out where to position the watermark factor=$size_x if (($size_x > $size_y)) then factor=$size_y fi diff_x=$((size_x - $factor)) pos_x=$((diff_x / 2)) diff_y=$((size_y - $factor)) pos_y=$((diff_y / 2)) watermark="watermark_images/"$image convert $image \( pictura_darte.png -thumbnail x$factor \) -geometry +$pos_x+$pos_y -composite $watermark done