c_{mode}
parameter. Each mode handles dimensions differently:
crop
- Exact Dimensionsfill
- Smart Resize and Cropfit
- Preserve Contentscale
- Simple Resizelimit
- Downscale Onlypad
- Add Paddingg_{position}
to control the focal point during cropping. Only works with crop
and fill
modes:
crop
and fill
modes:
airplane
apple
backpack
banana
baseball bat
baseball glove
bed
bench
bicycle
bird
boat
book
bottle
bowl
broccoli
bus
cake
car
carrot
cat
cell phone
chair
clock
couch
cow
cup
dining table
dog
donut
elephant
fire hydrant
fork
frisbee
giraffe
hair drier
handbag
horse
hot dog
keyboard
kite
knife
laptop
microwave
motorcycle
mouse
orange
oven
parking meter
person
pizza
potted plant
refrigerator
remote
sandwich
scissors
sheep
sink
skateboard
skis
snowboard
spoon
sports ball
stop sign
suitcase
surfboard
teddy bear
tennis racket
tie
toaster
toilet
toothbrush
traffic light
train
truck
tv
umbrella
vase
wine glass
zebra