ecl-logo Documentation

UploadNameOptions

UploadNameOptions[objects,names]resolvedOptions

returns the resolved options for UploadName when it is called on objects and names.

Details

  • This function returns the resolved options that would be fed to UploadName if it were called on these input objects and names.
  • Input
    {Transmogrify`Private`origwrappedWidth, Transmogrify`Private`origwrappedHeight} If[Ceiling[Transmogrify`Private`width$443656] > 1024, If[Transmogrify`Private`optDebug, Print[producing narrow 1024 image]]; Transmogrify`Private`defaultWindowSize = 1024; Transmogrify`Private`f = StringReplace[Files/UploadNameOptions.en/1.png, FileBaseName[Files/UploadNameOptions.en/1.png] :> FileBaseName[Files/UploadNameOptions.en/1.png]<>_1024]; Transmogrify`Private`boxToImageOptions = Flatten[{MaxImageSize -> 1024, Magnification -> Transmogrify`Private`magnification Transmogrify`Private`resolution, Transmogrify`Private`Resolution -> Transmogrify`Private`resolution, Sequence @@ Transmogrify`Private`options}]; Transmogrify`Private`btiWrappedImageReturn = BoxToImage[Transmogrify`Private`f, Sequence @@ Transmogrify`Private`boxToImageOptions]; If[Transmogrify`Private`optDebug, Print[btiWrappedImageReturn = <>ToString[Transmogrify`Private`btiWrappedImageReturn]]]; {Transmogrify`Private`origwrappedWidth, Transmogrify`Private`origwrappedHeight} = ToExpression[{Width, Height} /. Transmogrify`Private`btiWrappedImageReturn]; {Transmogrify`Private`wrappedWidth, Transmogrify`Private`wrappedHeight} = Ceiling[-------------------------------------------------------------------------------]; Return[XMLElement[img, {src -> (URL /. Transmogrify`Private`btiWrappedImageReturn), data-src -> (URL /. Transmogrify`Private`btiWrappedImageReturn), data-big -> ToString[Transmogrify`Private`defaultWidth]<> <>ToString[Transmogrify`Private`defaultHeight], data-small -> ToString[Transmogrify`Private`wrappedWidth]<> <>ToString[Transmogrify`Private`wrappedHeight], Sequence @@ {alt -> }}, {}]], If[Transmogrify`Private`optDebug, Print[narrow image branch, width <= 1024]]; Return[(XMLElement[img, {src -> (URL /. #1), height -> ToString[Transmogrify`Private`defaultHeight], width -> ToString[Transmogrify`Private`defaultWidth], Sequence @@ {alt -> }}, {}] & )[Transmogrify`Private`btiDefaultImageReturn]]] Transmogrify`Private`resolution
    Output
    General Options

Examples

Basic Examples  (3)

Returns resolved options for UploadName when passed a singleton input:

Returns resolved options for UploadName when passed a list of inputs:

Does not actually name the input:

Options  (1)

OutputFormat  (1)

Returns resolved options for UploadName as a table: