]> git.proxmox.com Git - pve-docs.git/blame - png-verify.pl
correctly set DOCRELEASE=5.0
[pve-docs.git] / png-verify.pl
CommitLineData
f250356f
DM
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6my $infile = shift ||
7 die "no input file specified\n";
8
9798ad65 9my $dpcm = 58; # expected
f250356f 10
9798ad65 11my $tmp = `identify -units PixelsPerCentimeter -format '%x x %y' $infile`;
f250356f 12
9798ad65
DM
13die "got unexpected density '$tmp' (fix with png-cleanup.pl)\n"
14 if $tmp ne "$dpcm x $dpcm";
f250356f
DM
15
16exit 0;