A drag on a scaled-down preview
Du skriver inn
- Bildestørrelse
- 4000 x 3000
- Forhåndsvisningsskala
- 0.35
- Dra fra
- 100, 50
- Dra til
- 300, 150
Du får
- X
- 285
- Y
- 142
- Bredde
- 572
- Høyde
- 286
Large pictures are shown at most 1400 pixels wide or tall, so a 4000 by 3000 image is previewed at 35%. The drag is scaled back up to real pixels, rounding the start down and the size up so the box is never smaller than what you drew.
Kjørt med verktøyets egen kode.