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
0131
0131 JBD OIL ON CANVAS 18 X 13 1972 Paris France The Sail Boat
Quick View
130
0130 JBD OIL ON CANVAS 18 X 13 1973 Paris France Nature Morte Paris
Quick View
0129
0129 JBD OIL ON CANVAS 18 X 15 1974 Paris France Abstract. White Band
Quick View
0128
0128 JBD OIL ON CANVAS 18 X 15 1988 Fairfield USA Satellite. Esquisse
Quick View
0127
0127 JBD OIL ON CANVAS 18 X 15 1972 Paris France La Blessure. The Cut
Quick View
0126
0126 JBD OIL ON CANVAS 18 X 15 1974 Paris France Abstract Hospital
Quick View
0125
0125 JBD OIL ON CANVAS 18 X 15 1973 Paris France Regarde Moi
Quick View
0123
0124 JBD OIL ON CANVAS 22 X 15 1973 Paris France Opposite Force
Quick View
0123
0123 JBD OIL ON CANVAS 22 X 15 1974 Paris France Abstract Forcing
Quick View
0122
0122 JBD OIL ON CANVAS 22 X 18 1988 Fairfield USA The Blue Swirl
Quick View
0120
0120 JBD OIL ON CANVAS 26 X 21 1973 Paris France The Little Girl
Quick View
0121
0121 JBD OIL ON CANVAS 22 X 18 1972 Paris France Abstract Venice
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