Skip to content

Commit

Permalink
Make size of image returned by the same as .
Browse files Browse the repository at this point in the history
  • Loading branch information
dtschump committed Sep 11, 2023
1 parent e8b9c0f commit e897652
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gmic_stdlib.gmic
Original file line number Diff line number Diff line change
Expand Up @@ -39659,6 +39659,7 @@ gui_print_preview : skip "${1=},${3=}" check "${2=32}>=0 && ${4=20}>=0"
if $! k[0] fi
drgba
siz={0$_preview_area_width?[0$_preview_area_width,0$_preview_area_height]:\
0$_preview_width?[0$_preview_width,0$_preview_height]:\
[${fitscreen\ {[max(w,1),max(h,1),1]},400,800}]}
sizw={arg(1,$siz)-8}
if $! rr2d $siz,2,3 drgba else $siz,1,3,128 fi
Expand Down

0 comments on commit e897652

Please sign in to comment.