Ticket #3568 (closed defect: fixed)
view basic information for JPEG files with image.sh without installed exif tool
Reported by: | SubOptimal | Owned by: | zaytsev |
---|---|---|---|
Priority: | trivial | Milestone: | 4.8.16 |
Component: | mc-core | Version: | master |
Keywords: | image.sh jpeg | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: | committed-master |
Description
Pressing F3 on a JPEG file without EXIF information does not show the basic information provided by "identify".
Reason is that if "exif" tool is not installed, "identify" will also not be called for JPEG files.
which exif >/dev/null 2>&1 && \
{
identify "${MC_EXT_FILENAME}"; exif "${MC_EXT_FILENAME}" 2>/dev/null
}
GNU Midnight Commander 4.8.13
Built with GLib 2.42.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Attachments
Change History
comment:1 Changed 9 years ago by and
nice catch
but I prefer which over type because busybox don't support type at least.
comment:4 Changed 9 years ago by zaytsev
- Branch state changed from no branch to on review
Branch: 3568_image_view_jpeg
Initial changeset: 65421dcac7f5aee72b846c10606b94bba1d17d8d
comment:5 Changed 9 years ago by andrew_b
- Votes for changeset set to andrew_b
- Branch state changed from on review to approved
comment:6 Changed 9 years ago by zaytsev
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master: [e213af27a6428787365e7cbc94a96e835d568b56]