On Sun, Feb 21, 2016 at 11:25 AM Brian Matherly <c...@brianmatherly.com>
wrote:
> What does width_type=none do?
>
It does what is does today by default. It creates an image large enough to
hold all of the text you entered. Then, that gets scaled by a normalization
filter per the profile.
>
> Does width_type=fit shrink the size? If so, how about "shrink" instead of
> "fit"?
>
Mainly because we recently added a width_fit property. Also, "fit" is
fairly common-place as a fill mode in various software and tech.
>
> Also, is "width_type" the best name? How about "fit_mode" or "overflow"?
>
I thought about asking for width_mode, and then dismissed that idea as
nit-picking. I do like having width in the name since it directly interacts
with the width of the get_image request and does not interact with height.
>
> ~BM
>
> ------------------------------
> *From:* Dan Dennedy <d...@dennedy.org>
> *To:* Maksym Veremeyenko <ve...@m1stereo.tv>;
> mlt-devel@lists.sourceforge.net
> *Sent:* Sunday, February 21, 2016 12:19 PM
> *Subject:* Re: [Mlt-devel] [PATCH] Wrapping customizing implemented.
>
>
> On Sun, Feb 21, 2016 at 12:33 AM Maksym Veremeyenko <ve...@m1stereo.tv>
> wrote:
>
> On 20.02.2016 21:06, Dan Dennedy wrote:
> > I am not opposed to wrap_type, but can we avoid adding wrap_width? If
> > so, then change wrap_type to simply "wrap" where 0 = no wrapping and +1
> > for all the other modes.
>
> i think it is possible to combine all width limiting features into two
> properties:
> width - will specify width
> and
> width_type - will specify a methods:
> 0 - none
> 1 - crop
> 2 - fit
> 3 - wrap word
> 4 - wrap char
> 5 - wrap word/char
>
> what do you think about this approach?
>
>
> That sounds great!
>
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>
> _______________________________________________
> Mlt-devel mailing list
> Mlt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mlt-devel
>
>
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel