WxH not possible from CLI?

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
rhester
Veteran User
Posts: 2888
Joined: Tue Apr 18, 2006 10:24 pm

WxH not possible from CLI?

Post by rhester »

I've noticed that if you specify width via CLI, height is ignored when if specified, whether or not anamorphic is enabled. Is this by design?

Rodney
jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: WxH not possible from CLI?

Post by jbrjake »

rhester wrote:I've noticed that if you specify width via CLI, height is ignored when if specified, whether or not anamorphic is enabled. Is this by design?
I believe this is a bug introduced alongside Pixel Aspect Ratio.

In test.c, this code:

Code: Select all

            if( width && height )
            {
                job->width  = width;
                job->height = height;
            }
Is being superseded by this code:

Code: Select all

            else if( !pixelratio )
            {
                hb_fix_aspect( job, HB_KEEP_WIDTH );
            }
prigaux
Experienced
Posts: 94
Joined: Mon Jan 01, 2007 3:25 pm

Post by prigaux »

Humm sorry, look at that...

Philippe
Post Reply