Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: PerlMagick Scene attribute

by syphilis (Archbishop)
on Sep 26, 2017 at 23:01 UTC ( [id://1200158]=note: print w/replies, xml ) Need Help??


in reply to PerlMagick Scene attribute

Have you tried:
$image->Write(filename=>"testp%04d.tif", compression=>'Group4', density=>"240x240", scene=>15);
Untested.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: PerlMagick Scene attribute
by BrentD (Sexton) on Sep 27, 2017 at 15:30 UTC
    Yes. Also tried the following variants with the same result: Variant 1:
    $image->Read($filename); $image->[0]->Set(scene=>15); $image->Write(filename=>"testp%04d.tif", compression=>'Group4', density=>"240x240");
    Variant 2:
    $image->Read($filename); $image->Write(filename=>"testp%04d.tif", compression=>'Group4', density=>"240x240", scene=>15);
    And just in case the order of attributes made a difference in the "Write" command:
    Variant 3:
    $image->Read($filename); $image->Write(scene=>15, filename=>"testp%04d.tif", compression=>'Group4', density=>"240x240");

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200158]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found