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
0091
0091 JBD OIL ON CANVAS 26 X 21 1974 Paris France Visage Green
Quick View
0092
0092 JBD OIL ON CANVAS 26 X 21 1974 Fairfield France Compo Beach Westport
Quick View
0090
0090 JBD OIL ON CANVAS 24 X 20 1974 Paris France Irene
Quick View
0089
0089 JBD OIL ON CANVAS 24 X 20 1975 Paris France Red On White Abstract
Quick View
0088
0088 JBD OIL ON CANVAS 24 X 20 1975 Paris France Yellow Tower
Quick View
0087
0087 JBD OIL ON CANVAS 30 X 24 1975 Paris France Visage Photo
Quick View
0084
0084 JBD OIL ON CANVAS 27 X 23 1978 Paris France The Pellows
Quick View
0086
0086 JBD OIL ON CANVAS 26 X 22 1977 Paris France The Cross
Quick View
0085
0085 JBD OIL ON CANVAS 30 X 24 1977 Paris France The Blue Sea
Quick View
0082
0082 JBD OIL ON CANVAS 31 X 26 1976 Paris France Reflection
Quick View
0083
0083 JBD OIL ON CANVAS 31 X 23 1977 Paris France Amoco Cadiz
Quick View
PAL0002
PAL0002 AL l Photography Panorama Nuage-01
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