Hallo zusammen,
was muss ich in einen vorhanden Script einfügen, das das Bild noch auf die Maximale Ausdehnung Höhe oder Breite 1024Pixel beträgt?
Hier eine Auszug aus einen einfachen Script was zu PNG wandelt:
print STDERR "Status: Running image conversion for file $sInputFile\n";
my @cmd = ($layoutCmd);
push @cmd, ("-T","PNGf");
push @cmd, "-oPrintColor=RGB";
push @cmd, "-oScreenResolution=0";
push @cmd, "-oSpotToProcess=FALSE";
push @cmd, "-oIgnoreMasks=FALSE";
push @cmd, "-oIgnoreSpots=FALSE";
push @cmd, "-oOmitProfile=FALSE";
push @cmd, "-oIncludeProfile=TRUE";
push @cmd, "-oThumbnail=TRUE";
push @cmd, "-oProfilePaths=RGB=AdobeRGB1998.icc";
push @cmd, ("-l","$sBasename");
push @cmd, "$sProcessedFile";
print "[$$] Command line: " . (join " ", @cmd) . "\n" if ($iScriptDebug > 0);