croptool_crop.1 (1329B)
1 .Dd July 12, 2026 2 .Dt CROPTOOL_CROP 1 3 .Os 4 .Sh NAME 5 .Nm croptool_crop 6 .Nd simple image cropping tool 7 .Sh SYNOPSIS 8 .Nm 9 .Ar <width>x<height>+<x>+<y> 10 .Ar <source filename> 11 .Op Ar destination filename 12 .Sh DESCRIPTION 13 .Nm 14 crops the given 15 .Ar source filename 16 to the dimensions specified, where 17 .Ar width 18 and 19 .Ar height 20 are the width and height of the cropping rectangle and 21 .Ar x 22 and 23 .Ar y 24 specify the top left corner of the cropping rectangle. 25 If a 26 .Ar destination filename 27 is given, the cropped image is written to this file instead 28 of modifying the source image in-place. 29 This program is meant primarily as a companion to 30 .Xr croptool 1 . 31 .Pp 32 Note that metadata such as EXIF data is currently not preserved. 33 If preserving such data is necessary, consider using the commands 34 provided by 35 .Xr ImageMagick 1 36 instead. 37 The same goes for cases where it is necessary to specify options 38 such as the JPEG compression level that 39 .Nm 40 does not support. 41 .Sh EXIT STATUS 42 .Ex -std 43 .Sh SEE ALSO 44 .Xr convert 1 , 45 .Xr croptool 1 , 46 .Xr ImageMagick 1 , 47 .Xr mogrify 1 48 .Sh AUTHORS 49 .An lumidify Aq Mt nobody@lumidify.org 50 .Sh CAVEATS 51 The image format of the cropped image is determined by the format of the 52 source image, even if the destination file has a different ending. 53 .Sh BUGS 54 At least some versions of Imlib2 seem to have issues with saving gif files.