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
0233
0233 JBD Watercolor 9 X 12 2020 Bali Indonesia The Mermaids of Candidasa
Quick View
0232
0232 JBD Watercolor 11 X 17 2020 Bali Indonesia The Heart
Quick View
0042
0042 JBD OIL ON CANVAS 32 X 25 1973 Paris France ENERGY
Quick View
0041
0041 JBD OIL ON CANVAS 36 X 28 1975 Paris France Oleron Fort Boyard
Quick View
0040
0040 JBD OIL ON CANVAS 36 X 23 1974 Paris France Oleron Abstract sea
Quick View
0039
0039 JBD OIL ON CANVAS 32 X 28 1975 Paris France Woman face above the sea
Quick View
0038
0038 JBD OIL ON CANVAS 38 X 28 1974 Oleron France The sea abstract
Quick View
0037
0037 JBD OIL ON CANVAS 39 X 29 1974 Oleron France Four Faces
Quick View
0036
0036 JBD OIL ON CANVAS 36 X 29 1974 Paris France Face Abstract
Quick View
0035
0035 JBD OIL ON CANVAS 39 X 23 1975 Paris France Raconte Abstract
Quick View
0032
0032 JBD OIL ON CANVAS 38 X 31 1988 FAIRFIELD USA Wind Surf
Quick View
0031
0031 JBD OIL ON CANVAS 45 X 28 1989 FAIRFIELD USA Taxi Driver
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