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
0118
0118 JBD OIL ON CANVAS 24 X 15 1974 Paris France Visage Rouge
Quick View
0119
0119 JBD OIL ON CANVAS 24 X 20 2019 Fairfield USA The Migration
Quick View
0117
0117 JBD OIL ON CANVAS 24 X 18 1975 Paris France Perfection
Quick View
0116
0116 JBD OIL ON CANVAS 24 X 20 1984 Fairfield Perfect Proportion
Quick View
0115
0115 JBD OIL ON CANVAS 24 X 20 1980 Fairfield USA White Square
Quick View
0113
0113 JBD OIL ON CANVAS 30 X 24 2019 Fairfield USA California Fire & Caravan
Quick View
0112
0112 JBD OIL ON CANVAS 22 X 28 2020 Fairfield USA Coral Sea Indonesian Dream
Quick View
0075
0075 JBD OIL ON CANVAS 122 X 51 1980 Paris France The Red Lips
Quick View
0077
0077 JBD OIL ON CANVAS 29 X 24 1998 Fairfield USA Abstract Dark
Quick View
0078
0078 JBD OIL ON CANVAS 34 X 24 1977 Paris France Sunset
Quick View
0076
0076 JBD OIL ON STEEL PLATE 58 X 47 2018 Fairfield USA The Sun
Quick View
0081
0081 JBD OIL ON CANVAS 31 X 24 1976 Oleron France Oleron Abstract
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