diff --git a/.gitignore b/.gitignore index c5e2ef6..788a99a 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,8 @@ $RECYCLE.BIN/ Network Trash Folder Temporary Items .apdisk + +node_modules +.docusaurus + +build \ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index 86a0c27..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -www.imageflow.io \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index c85a105..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,3 +0,0 @@ -My extensions of site design and code: MIT, have at it -(Core jekyll (MIT) and html5up (Creative Commons)) -See _pages/credits.html for complete listing. diff --git a/README.md b/README.md index 7145063..8960fa2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,33 @@ -## imageflow.io +# Website -Jekyll site for www.imageflow.io +This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator. -gem instal jeykll -jekyll serve \ No newline at end of file +## Installation + +```console +yarn install +``` + +## Local Development + +```console +yarn start +``` + +This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. + +## Build + +```console +yarn build +``` + +This command generates static content into the `build` directory and can be served using any static contents hosting service. + +## Deployment + +```console +GIT_USER= USE_SSH=true yarn deploy +``` + +If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. diff --git a/_config.yml b/_config.yml deleted file mode 100644 index e9cf34f..0000000 --- a/_config.yml +++ /dev/null @@ -1,124 +0,0 @@ -# Welcome to Jekyll! -version: 3.0.3 - -# In addition to these settings, there is a file _data/tokens-template.yml -# that you'll want to customize for your site. It's named 'tokens' because -# that was it's original purpose, but because tokens.yml is .gitexcluded, it's -# a good place to store your site-specific data that you'd rather not have -# forked or cloned. Of course, that means you'd want to back it up elsewhere. - -# Also, for your post bylines, add author info for yourself in `_data/authors.yml`. -# (Using that method instead of site.owner, in case your posts get cloned with your repo.) - -# Site settings -title: Imageflow - Optimal images at incredible speeds -description: treat your images right -owner: - name: Imazen # or company name - email: support@imazen.io - url: http://imazen.io -first_published: 2016 # if migrating another site, the year of your first publish -baseurl: "" # the subpath of your site, e.g. /blog -url: "https://www.imageflow.io" # the base hostname & protocol for your site - -# on landing page -# - set the greeting only if you want to display the first green section -greeting: - title: What does imageflow solve? - text: It provides a compact and correct toolkit for transforming image assets. libimageflow allows in-process use, and imageflow-server enables easy responsive images. -# - title for your blog's featured posts -features-title: Featured topics -# - displayed at the bottom -closing-head: Thanks for visiting -closing-para: Feel free to get in touch. Cheers! - -# on all pages (and the first three you list display with greeting, if included) -social: - twitter: https://twitter.com/imageflow_io - github: https://github.com/imazen/imageflow - # linkedin-square: https://linkedin.com/in/garyfaircloth - # facebook-official: https://facebook.com/gary.faircloth - # google-plus-square: https://plus.google.com/u/0/+GaryFaircloth - email: mailto:support@imazen.io - #flickr: - #instagram: - #youtube-square: - #spotify: - #stack-overflow: - #vimeo: - #reddit: - #stubleupon: - #delicious: - #pied-piper: - #digg: - #soundcloud: - #deviantart: - #angellist: - #tumblr-square: - #stackexchange: - #weibo: - #trello: - #foursquare: - #linux: - #bitbucket-square: - #vk: - #slack: - #vine: - #weixin: - #yelp: - #skyatlas: - #leanpub: - #connectdevelop: - #ils: - #forumbee: - #tripadvisor: - #amazon: - -# if you use this repo's `ruby compose.rb` script to initiate new posts, put the -# command to invoke your editor here. (I didn't spend time dealing with spaces -# and full paths of the various OSes in compose.rb. For my Windows -# environment, I just put a subl.cmd file in my PATH that points to the full -# path to Sublime's subl.exe.) Also, put your most common post extension. -compose: - editor: subl - extension: md - -# choose where to put back and next links: -# top, bottom, both, none -navlinks: bottom - -# expecting more works? mark your list as in-progress -works_in_progress: yes - -# If you have custom extensions, specifically includes/_my/custom.scss, -# set this to yes -custom_extensions: no - -# Build settings -permalink: /:categories/:title.html -markdown: kramdown -#sass: -# style: compressed -exclude: ['site.bat','compose.rb','README.md'] -include: ['_pages','.htaccess'] -defaults: - - scope: - path: _pages - values: - layout: page - #permalink: /:slug/ # dunna work. See github.com/jekyll/jekyll/issues/2280 - - scope: - path: _posts - values: - layout: post - - scope: - path: _drafts - values: - layout: post - -# to initialize arrays in assignments (assign myarr = site.empty_array) -# (easier to grok than assign myarr = '' | split',') -empty_array: [] - -gems: - - jekyll-redirect-from diff --git a/_data/authors.yml b/_data/authors.yml deleted file mode 100644 index c003458..0000000 --- a/_data/authors.yml +++ /dev/null @@ -1,25 +0,0 @@ -# authors - -lilithriver: - name: Lilith River - bio: > - Writes software. - url: https://trans.lilithriver.com - email: lilith@imazen.io - -arkadianriver: - name: Gary Faircloth - bio: > - Interests: tech writing, programming, science, history. - You might also find me playing some PC Ga—SQUIRREL! - disqus_shortname: arkadianriver - url: http://arkadianriver.com - email: gfair@arkadianriver.com - avatar: gar.png - -n33: - name: aj (n33co) - bio: Creator of HTML5 UP themes among other things - email: aj@n33.co - url: http://html5up.net - avatar: https://pbs.twimg.com/profile_images/656346837733912576/Mr2blC1B.png diff --git a/_data/tokens.yml b/_data/tokens.yml deleted file mode 100644 index 32cc4b3..0000000 --- a/_data/tokens.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Rename this file to tokens.yml - -# If you want to use Google analytics to monitor your site traffic, -# register your site https://www.google.com/analytics/standard/ -google-analytics: UA-5218175-14 - -# # Specify your mail form action, whether it be cgiemail, PHP, whatever -# mailaction: - -# # If you've added more vendor contributions that are only applicable to -# # posts on your specific site, you can add to the "credits" list here, -# # so that they won't be propagated to other forks and clones -# extra-credit: | -#
  • Excellent contribution: Generous Contributor, -# with very generous open license
  • -# image-credit: | -#
  • -# Artist, -# generous open creative license
  • - -# # Any other site-specific things you'd rather have .gitexcluded -# # ... diff --git a/_includes/author-block.html b/_includes/author-block.html deleted file mode 100644 index c2e7d40..0000000 --- a/_includes/author-block.html +++ /dev/null @@ -1,13 +0,0 @@ -{% if page.author %}{% assign auth = site.data.authors[page.author] %}{% assign test1 = auth.avatar | slice: 0,4 %}{% if test1 == "http" %}{% assign pic = auth.avatar %}{% else %}{% assign pic = auth.avatar | prepend: "/images/" | prepend: site.baseurl %}{% endif %} -
    -
    - - -
    -
    by:
    {{ - auth.name }}

    ({{ auth.email }})
    {{ auth.url }} -
    -
    {{ auth.bio }}
    -
    -
    {% endif %} diff --git a/_includes/backnextnav.html b/_includes/backnextnav.html deleted file mode 100644 index 3f6d770..0000000 --- a/_includes/backnextnav.html +++ /dev/null @@ -1,12 +0,0 @@ -
    {% if prevurl %} - - - {% endif %} -
    - diff --git a/_includes/breadcrumb.html b/_includes/breadcrumb.html deleted file mode 100644 index e49f1a3..0000000 --- a/_includes/breadcrumb.html +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/_includes/disqus.html b/_includes/disqus.html deleted file mode 100644 index e76eb33..0000000 --- a/_includes/disqus.html +++ /dev/null @@ -1,23 +0,0 @@ -{% comment %} ------------------------------------------------------------ -Modified so that comments follow the author rather than the -site owner, should the topic be duplicated elsewhere ------------------------------------------------------------ -{% endcomment %}{% if page.author %}{% assign auth = site.data.authors[page.author] %}{% if auth.disqus_shortname %} -
    - -{% endif %}{% endif %} diff --git a/_includes/fn_groupsort_reverse.html b/_includes/fn_groupsort_reverse.html deleted file mode 100644 index de8014b..0000000 --- a/_includes/fn_groupsort_reverse.html +++ /dev/null @@ -1,9 +0,0 @@ -{% comment %} - # Get a grouped and sorted array of posts - # include-params: unsorted, groupby, sortby - # returns: sorted_list array - # Grouped sort from: - # https://gist.github.com/budparr/0ad4a7449f9604f47eec - # Jekyll group_by structures have the form - # [{ 'name'=>group_by_field, 'items'=>[items_in_group] },...] - {% endcomment %}{% assign sorted_list = site.empty_array %}{% assign items_grouped = include.unsorted | group_by: include.groupby | sort: 'name' | reverse %}{% for group in items_grouped %}{% assign items = group.items | sort: include.sortby | reverse %}{% for item in items %}{% assign sorted_list = sorted_list | push: item %}{% endfor %}{% endfor %} \ No newline at end of file diff --git a/_includes/fn_sortednav.html b/_includes/fn_sortednav.html deleted file mode 100644 index 3488272..0000000 --- a/_includes/fn_sortednav.html +++ /dev/null @@ -1,17 +0,0 @@ -{% comment %} - # Find this post in sorted_list and get back/next - # depends: sorted_list of posts and idxperma, idxtitle, idxbutton of index - # include-params: posclass - indicates whether top or bottom style - # returns: displays navigation using included backnextnav.html - # Original idea: - # https://gist.github.com/budparr/3e637e575471401d01ec - {% endcomment %}{% for post in sorted_list %}{% if post.url == page.url %}{% unless forloop.first %}{% assign prevbutton = '< Back' %}{% assign prevurl = prev.url %}{% assign prevtitle = prev.title %}{% elsif page.permalink %}{% assign prevbutton = nil %}{% assign prevurl = nil %}{% assign prevtitle = nil %}{% else %}{% assign prevbutton = idxbutton %}{% assign prevurl = idxperma | prepend: baseurl %}{% assign prevtitle = idxtitle %}{% endunless %}{% unless forloop.last %}{% assign next = sorted_list[forloop.index] %}{% assign nextbutton = 'Next >' %}{% assign nexturl = next.url %}{% assign nexttitle = next.title %}{% else %}{% assign nextbutton = idxbutton %}{% assign nexturl = idxperma | prepend: baseurl %}{% assign nexttitle = idxtitle %}{% endunless %}{% endif %}{% assign prev = post %}{% endfor %} -
    - {% include backnextnav.html %} -
    - \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index 64d32e7..0000000 --- a/_includes/footer.html +++ /dev/null @@ -1,18 +0,0 @@ - -
    -
      {% for socloc in site.social %}{% if socloc[1] %}{% if socloc[0] == 'email' %} -
    • E-mail
    • {% else %} -
    • {{ socloc[0] }}
    • {% endif %}{% endif %}{% endfor %} -
    - -
    diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 14a133c..0000000 --- a/_includes/head.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} - - - - - - {% if page.background-image %}{% assign first_char = page.background-image | slice: 0 %}{% if first_char == '/' %}{% assign second_char = page.background-image | slice: 1 %}{% if second_char == '/' %}{% comment %} // remote {% endcomment %}{% assign imageurl = page.background-image %}{% else %}{% comment %} // local, not in /images/ {% endcomment %}{% assign imageurl = page.background-image | prepend: site.baseurl %}{% endif %}{% else %}{% comment %} // local, in /images/ {% endcomment %}{% assign imageurl = page.background-image | prepend: "/images/" | prepend: site.baseurl %}{% endif %} - - {% endif %}{% if page.style-includes %}{% for include in page.style-includes %}{% assign test1 = include | slice: 0,2 %}{% if test1 == "//" %} - {% else %} - {% endif %}{% endfor %}{% endif %}{% if page.style %} -{% endif %} - - - - diff --git a/_includes/header-inner.html b/_includes/header-inner.html deleted file mode 100644 index 32e6d04..0000000 --- a/_includes/header-inner.html +++ /dev/null @@ -1,6 +0,0 @@ -
    -

    {{ page.title }}{% if page.options contains 'minihead' %} - - {{ page.excerpt }}

    {% else %} -

    {{ page.excerpt }}

    {% endif %} -
    - {% include breadcrumb.html %} diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 9e8257b..0000000 --- a/_includes/header.html +++ /dev/null @@ -1,20 +0,0 @@ - - diff --git a/_includes/pledges.md b/_includes/pledges.md deleted file mode 100644 index 8e5db81..0000000 --- a/_includes/pledges.md +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/_includes/scripts.html b/_includes/scripts.html deleted file mode 100644 index f6a5662..0000000 --- a/_includes/scripts.html +++ /dev/null @@ -1,31 +0,0 @@ - - - -{% for include in page.script-includes %}{% assign test1 = include | slice: 0,2 %}{% if test1 == "//" %} -{% else %} -{% endif %}{% endfor %}{% if page.script %} - -{% endif %}{% if jekyll.environment == "production" %} - - - - - - -{% endif %} \ No newline at end of file diff --git a/_includes/techlist.html b/_includes/techlist.html deleted file mode 100644 index 8011379..0000000 --- a/_includes/techlist.html +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 019fd8b..0000000 --- a/_layouts/default.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - {% include head.html %} - - - - -
    - - {% include header.html %} - -
    - - {% include header-inner.html %} - - {{ content }} -
    - - {% include footer.html %} - - {% include scripts.html %} - -
    - - - - \ No newline at end of file diff --git a/_layouts/landing.html b/_layouts/landing.html deleted file mode 100644 index a631096..0000000 --- a/_layouts/landing.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - {% include head.html %} - - - - -
    - - {% include header.html %} - - - - {% if site.greeting %} - -
    -
    -
    - - {% capture a %}{% include home.md %}{% endcapture %} - {{ a | markdownify }} -
    -
      {% for socloc in site.social limit:3 %}{% if socloc[1] %}{% if socloc[0] == 'email' %} -
    • E-mail
    • {% else %} -
    • {{ socloc[0] }}
    • {% endif %}{% endif %}{% endfor %} -
    -
    -
    {% endif %} - -
    -
    -
    - - {% capture a %}{% include platforms.md %}{% endcapture %} - {{ a | markdownify }} -
    -
      {% for socloc in site.social limit:3 %}{% if socloc[1] %}{% if socloc[0] == 'email' %} -
    • E-mail
    • {% else %} -
    • {{ socloc[0] }}
    • {% endif %}{% endif %}{% endfor %} -
    -
    -
    - - - -
    {% assign sorted_pages = site.pages | sort:"id" %}{% for my_page in sorted_pages %}{% if my_page.title %}{% unless my_page.options contains 'nolanding' %} -
    -
    - - - -
    - -
    {% endunless %}{% endif %}{% endfor %} -
    - - - -
    -
    - {% capture pledges %}{% include pledges.md %}{% endcapture %} - {{ pledges | markdownify }} -
    -
    - - {% include footer.html %} - - {% include scripts.html %} - -
    - - - - \ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 2890366..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: default ---- -
    -
    - {{ content }} -
    -
    diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index 945e032..0000000 --- a/_layouts/post.html +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: default ---- -
    -
    {% unless site.navlinks == 'none' %}{% if page.categories contains 'works' %}{% assign idxperma = '/works/' %}{% assign idxtitle = 'Works Index' %}{% assign idxbutton = 'Index' %}{% include fn_groupsort_reverse.html unsorted=site.categories.works groupby='priority' sortby='date' %}{% endif %}{% if page.categories.first == 'topics' and page.categories.last != 'topics' %}{% assign idxperma = page.categories | join: '/' | prepend: '/' | append: '/' %}{% assign idxtitle = 'Start page' %}{% assign idxbutton = 'Start' %}{% assign sorted_list = site.empty_array %}{% for topic in site.categories.topics %}{% if topic.categories.last == page.categories.last %}{% assign sorted_list = sorted_list | push: topic %}{% endif %}{% endfor %}{% assign sorted_list = sorted_list | sort: 'date' %}{% endif %}{% endunless %}{% if sorted_list and (site.navlinks == 'top' or site.navlinks == 'both') %}{% include fn_sortednav.html posclass='btntop' %}{% endif %}{% unless page.options contains 'minihead' %} - {{ page.date | date: "%-d %B %Y" }}
    {% endunless %}{% if page.categories contains 'works' and page.tags %} -

    Skills

    - {% assign work = page %}{% include techlist.html %} - {% endif %} - - {{ content }}{% - - if sorted_list and (site.navlinks == 'bottom' or site.navlinks == 'both') %}{% unless perma %}{% assign perma = '/topics/' %}{% endunless %}{% include fn_sortednav.html posclass='btnbottom' %}{% endif %}{% unless page.author == 'none' %}{% include author-block.html %} - {% endunless %}{% if jekyll.environment == "production" %}{% unless page.options contains nocomment or page.categories contains 'works' %}{% include disqus.html %} - {% endunless %}{% endif %} -
    -
    diff --git a/_pages/contact-failure.html b/_pages/contact-failure.html deleted file mode 100644 index 10dc7c4..0000000 --- a/_pages/contact-failure.html +++ /dev/null @@ -1,13 +0,0 @@ ---- -id: 5 -title: oops! -permalink: /contact-success/ -options: nomenu, nolanding -excerpt: something went wrong -background-image: caustic_light.jpg ---- - -

    Sorry about that. Your mail didn't get through for some reason.

    - -

    Feel free to contact me on twitter.

    diff --git a/_pages/contact-success.html b/_pages/contact-success.html deleted file mode 100644 index ea93c7e..0000000 --- a/_pages/contact-success.html +++ /dev/null @@ -1,12 +0,0 @@ ---- -id: 4 -title: Thanks! -permalink: /contact-success/ -options: nomenu, nolanding -excerpt: I'll get in touch soon -background-image: caustic_light.jpg ---- - -

    Meanwhile, why not check out some -cool tunes. :O)

    diff --git a/_pages/contact.html b/_pages/contact.html deleted file mode 100644 index 67e1aae..0000000 --- a/_pages/contact.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -key: 3 -#title: Contact -permalink: /contact/ -options: nolanding -excerpt: Get in touch -background-image: caustic_light.jpg -script-includes: - - /js/jquery.validate.min.js -script: | - $("#sendemail").validate({ - rules: { - country: { - required: true, - equalTo: "#type3" - } - }, - messages: { - country: "Specify a three-letter lowercase name." - } - }); ---- - -
    -
    - - - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
      -
    • -
    -
    -
    - - -
    -
    diff --git a/_pages/credits.html b/_pages/credits.html deleted file mode 100644 index 75b337f..0000000 --- a/_pages/credits.html +++ /dev/null @@ -1,72 +0,0 @@ ---- -#title: Credits -permalink: /credits/ -options: nolanding, nomenu -excerpt: People to thank -background-image: caustic_light.jpg ---- - -
    -
    Design and framework
    -
    -
      -
    • Design and overall theme: n33co, -Creative Commons license
    • -
    • Design mods for a jekyll blog: arkadianriver, MIT license
    • -
    • Icons: Dave Gandy, -MIT license
    • -
    • Syntax-highlighting theme: Pygments.org, -MIT license
    • -
    • Lora font: Cyreal, SIL Open Font License, 1.1
    • -
    • Open Sans font: Google, Apache License, 2.0
    • -
    • Build framework: Jekyll, -MIT license
    • -
    • jQuery validation: Jörn Zaefferer, MIT license
    • -
    • jQuery: jQuery Foundation, MIT license
    • -{{ site.data.tokens.extra-credit }} -
    -
    -
    Inspiration for jekyll blog mods
    -
    - -
    -
    Images
    -
    -
      -
    • -Konstaninos Dafallas, Creative Commons license
    • -
    • -fdecomite, Creative Commons license
    • -
    • -public domain
    • -
    • -public domain
    • -
    • -public domain
    • -{{ site.data.tokens.image-credit }}
    -
    -

     

    diff --git a/_pages/kickstarter.md b/_pages/kickstarter.md deleted file mode 100644 index 1b031b6..0000000 --- a/_pages/kickstarter.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -key: 5 -title: Kickstarter -permalink: /kickstarter/ -options: nolanding -excerpt: June 1st, 2016 - ---- - -## [Visit Kickstarter](https://www.kickstarter.com/projects/lilithriver/imageflow-respect-the-pixels-a-secure-alt-to-image) - - - diff --git a/_pages/resizer.md b/_pages/resizer.md deleted file mode 100644 index 9aa6162..0000000 --- a/_pages/resizer.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -key: 14 -title: ImageResizer -permalink: /imageresizer/ -options: nolanding -excerpt: ImageResizer & Imageflow - ---- - - -
    - - -

    Imageresizer

    -

    ImageResizer is the best image server for ASP.NET. It can be dropped into existing apps and works alongside your CMS or existing platform to eliminate manual image tasks, enable fast and adaptive websites, and improve your sales by reducing page load time.

    -
    - -
    - -**Imageflow is open-source software which scales, edits, and optimizes images.** It's similar to [ImageResizer](https://imageresizing.net), but faster and is not bound to the Windows API. Imageflow supports Linux, Mac, and Windows – and can be used from [any programming language](/images/imageflow-features.svg). - - -**Imageflow tackles image optimization – expect smaller images, faster website load times, and increased sales.** - -Imageflow-server will offer a REST Querystring API like ImageResizer, but will also include a REST JSON API so you can perform complex operations on an arbitrary number of images. **It will be easier to deploy, manage, and communicate with.** - - - -**Imageflow is ImageResizer's future.** Without it, ImageResizer can't become cross-platform, run on .NET Core, or be deployed on Windows Server Core. - -![](/images/imageresizer-imageflow.svg) ![](/images/bench1.png) - - -After we deliver Imageflow, we'll turn our attention to ImageResizer 5, which will become a thin compatibility layer over Imageflow. If you want Imageflow's benefits sooner, consider adopting Imageflow directly as it reaches a stable phase. diff --git a/_pages/topics.html b/_pages/topics.html deleted file mode 100644 index 80fb6ba..0000000 --- a/_pages/topics.html +++ /dev/null @@ -1,34 +0,0 @@ ---- -key: 2 -#title: Topics -permalink: /topics/ -options: fullwidth -excerpt: Just ramblings and musings? Nay, nay -image: pic01.jpg -background-image: pic01.jpg ---- - -{% if site.posts %}{% if site.tags.featured %} -
    -

    Featured

    - {% endif %} -
    - - - -{% endif %} diff --git a/_pages/works.html b/_pages/works.html deleted file mode 100644 index d06321c..0000000 --- a/_pages/works.html +++ /dev/null @@ -1,30 +0,0 @@ ---- -key: 1 -#title: Works -permalink: /works/ -excerpt: The portfolio—things I enjoyed creating -image: pic02.jpg -background-image: pic02.jpg ---- -{% if site.social.linkedin-square %} -
    - -
    Visit my - LinkedIn profile
    -
    {% endif %} -{% if site.categories.works %} -
    - - {% include fn_groupsort_reverse.html unsorted=site.categories.works groupby='priority' sortby='date' %}{% for work in sorted_list %} - - - - - - {% endfor %} - -
    {{ work.title }}{{ work.date | date: "%b %Y" }}{{ work.excerpt | strip_html | truncatewords: 12 }} - {% include techlist.html %} -
    -
    {% if site.works_in_progress %} -
    In-progress, more to come.
    {% endif %}{% endif %} diff --git a/_posts/3000-01-01-works-example1.md b/_posts/3000-01-01-works-example1.md deleted file mode 100644 index d017e2c..0000000 --- a/_posts/3000-01-01-works-example1.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -priority: 0.6 -title: Project X -excerpt: An example of a and b -categories: works -background-image: works-sample.png -tags: - - This - - That - - The other ---- - -#### Results - -- 18% increase in M, measured by N -- ... - -#### Summary - -Project X involved .... diff --git a/_posts/3000-09-01-works-example3.md b/_posts/3000-09-01-works-example3.md deleted file mode 100644 index 2d906cd..0000000 --- a/_posts/3000-09-01-works-example3.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -priority: 0.6 -title: Project Z -excerpt: An example of d and e -categories: works -background-image: works-sample.png -tags: - - This - - That - - The other ---- - -#### Results - -- 19% increase in M, measured by N -- ... - -#### Summary - -Project Z involved .... diff --git a/_posts/3001-01-01-works-example2.md b/_posts/3001-01-01-works-example2.md deleted file mode 100644 index c6483b6..0000000 --- a/_posts/3001-01-01-works-example2.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -priority: 0.7 -title: Project Y -excerpt: A better example of a and b, with c -categories: works -background-image: works-sample.png -tags: - - This - - That - - The other ---- - -#### Results - -- 24% increase in M, measured by N -- ... - -#### Summary - -Project Y involved .... diff --git a/_posts/3006-09-22-subcattest-topic1.md b/_posts/3006-09-22-subcattest-topic1.md deleted file mode 100644 index a9f2b0c..0000000 --- a/_posts/3006-09-22-subcattest-topic1.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: My Topic Group -excerpt: first topic in my neat grouping -permalink: /topics/my topic group/ -categories: - - topics - - my topic group -date: 3006-09-22 00:00 ---- - -Here we go. diff --git a/_posts/3006-09-22-subcattest-topic2.md b/_posts/3006-09-22-subcattest-topic2.md deleted file mode 100644 index 279df86..0000000 --- a/_posts/3006-09-22-subcattest-topic2.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Test topic 2 -excerpt: Second awesome topic in the group -categories: - - topics - - my topic group -date: 3006-09-22 00:01 ---- - -Yada yada and more yada. diff --git a/_posts/3006-09-22-subcattest-topic3.md b/_posts/3006-09-22-subcattest-topic3.md deleted file mode 100644 index fed5bbf..0000000 --- a/_posts/3006-09-22-subcattest-topic3.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Last topic in group -excerpt: last topic -categories: - - topics - - my topic group -date: 3006-09-22 00:02 ---- - -This about sums it all up. diff --git a/_posts/3015-08-16-elements.html b/_posts/3015-08-16-elements.html deleted file mode 100644 index 1536a63..0000000 --- a/_posts/3015-08-16-elements.html +++ /dev/null @@ -1,313 +0,0 @@ ---- -title: Elements -categories: topics -excerpt: The styles available with the spectral theme -author: n33 -icon: code ---- -
    -

    Editor note: These are the styles available with the spectral theme by HTML5 UP - (n33). Note that some elements require classes, ala - <ul class="icons"> or <div class="6u 12u$(medium)">. View - the source for examples. And see his skel docs to grok the CSS.

    -

    Text

    -

    This is bold and this is strong. This is italic and this is emphasized. - This is superscript text and this is subscript text. - This is underlined and this is code: for (;;) { ... }. Finally, this is a link.

    -
    -
    -

    Heading with a Subtitle

    -

    Lorem ipsum dolor sit amet nullam id egestas urna aliquam

    -
    -

    Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.

    -
    -
    Heading with a Subtitle
    -

    Lorem ipsum dolor sit amet nullam id egestas urna aliquam

    -
    -

    Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.

    -
    -

    Heading Level 2

    -

    Heading Level 3

    -

    Heading Level 4

    -
    Heading Level 5
    -
    Heading Level 6
    -
    -
    Blockquote
    -
    Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan faucibus. Vestibulum ante ipsum primis in faucibus lorem ipsum dolor sit amet nullam adipiscing eu felis.
    -
    Preformatted
    -
    i = 0;
    -
    -while (!deck.isInOrder()) {
    -  print 'Iteration ' + i;
    -  deck.shuffle();
    -  i++;
    -}
    -
    -print 'It took ' + i + ' iterations to sort the deck.';
    -
    -
    -

    Lists

    -
    -
    -
    Unordered
    -
      -
    • Dolor pulvinar etiam.
    • -
    • Sagittis adipiscing.
    • -
    • Felis enim feugiat.
    • -
    -
    Alternate
    -
      -
    • Dolor pulvinar etiam.
    • -
    • Sagittis adipiscing.
    • -
    • Felis enim feugiat.
    • -
    -
    -
    -
    Ordered
    -
      -
    1. Dolor pulvinar etiam.
    2. -
    3. Etiam vel felis viverra.
    4. -
    5. Felis enim feugiat.
    6. -
    7. Dolor pulvinar etiam.
    8. -
    9. Etiam vel felis lorem.
    10. -
    11. Felis enim et feugiat.
    12. -
    -
    Icons
    - -
    -
    -
    Actions
    -
    -
    - - - - -
    -
    - - -
    -
    -
    -
    -

    Table

    -
    Default
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescriptionPrice
    Item OneAnte turpis integer aliquet porttitor.29.99
    Item TwoVis ac commodo adipiscing arcu aliquet.19.99
    Item Three Morbi faucibus arcu accumsan lorem.29.99
    Item FourVitae integer tempus condimentum.19.99
    Item FiveAnte turpis integer aliquet porttitor.29.99
    100.00
    -
    -
    Alternate
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescriptionPrice
    Item OneAnte turpis integer aliquet porttitor.29.99
    Item TwoVis ac commodo adipiscing arcu aliquet.19.99
    Item Three Morbi faucibus arcu accumsan lorem.29.99
    Item FourVitae integer tempus condimentum.19.99
    Item FiveAnte turpis integer aliquet porttitor.29.99
    100.00
    -
    -
    -
    -

    Buttons

    - - - - - -
      -
    • Disabled
    • -
    • Disabled
    • -
    -
    -
    -

    Form

    -
    -
    -
    - -
    -
    - -
    -
    -
    - -
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    - -
    -
    -
      -
    • -
    • -
    -
    -
    -
    -
    -
    -

    Image

    -
    Fit
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    Left & Right
    -

    Morbi mattis mi consectetur tortor elementum, varius pellentesque velit convallis. Aenean tincidunt lectus auctor mauris maximus, ac scelerisque ipsum tempor. Duis vulputate ex et ex tincidunt, quis lacinia velit aliquet. Duis non efficitur nisi, id malesuada justo. Maecenas sagittis felis ac sagittis semper. Curabitur purus leo, tempus sed finibus eget, fringilla quis risus. Maecenas et lorem quis sem varius sagittis et a est. Maecenas iaculis iaculis sem. Donec vel dolor at arcu tincidunt bibendum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Fusce ut aliquet justo. Donec id neque ipsum. Integer eget ultricies odio. Nam vel ex a orci fringilla tincidunt. Aliquam eleifend ligula non velit accumsan cursus. Etiam ut gravida sapien. Morbi mattis mi consectetur tortor elementum, varius pellentesque velit convallis. Aenean tincidunt lectus auctor mauris maximus, ac scelerisque ipsum tempor. Duis vulputate ex et ex tincidunt, quis lacinia velit aliquet. Duis non efficitur nisi, id malesuada justo. Maecenas sagittis felis ac sagittis semper. Curabitur purus leo, tempus sed finibus eget, fringilla quis risus. Maecenas et lorem quis sem varius sagittis et a est. Maecenas iaculis iaculis sem. Donec vel dolor at arcu tincidunt bibendum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Fusce ut aliquet justo. Donec id neque ipsum. Integer eget ultricies odio. Nam vel ex a orci fringilla tincidunt. Aliquam eleifend ligula non velit accumsan cursus. Etiam ut gravida sapien.

    -

    Vestibulum ultrices risus velit, sit amet blandit massa auctor sit amet. Sed eu lectus sem. Phasellus in odio at ipsum porttitor mollis id vel diam. Praesent sit amet posuere risus, eu faucibus lectus. Vivamus ex ligula, tempus pulvinar ipsum in, auctor porta quam. Proin nec dui cursus, posuere dui eget interdum. Fusce lectus magna, sagittis at facilisis vitae, pellentesque at etiam. Quisque posuere leo quis sem commodo, vel scelerisque nisi scelerisque. Suspendisse id quam vel tortor tincidunt suscipit. Nullam auctor orci eu dolor consectetur, interdum ullamcorper ante tincidunt. Mauris felis nec felis elementum varius. Nam sapien ante, varius in pulvinar vitae, rhoncus id massa. Donec varius ex in mauris ornare, eget euismod urna egestas. Etiam lacinia tempor ipsum, sodales porttitor justo. Aliquam dolor quam, semper in tortor eu, volutpat efficitur quam. Fusce nec fermentum nisl. Aenean erat diam, tempus aliquet erat. Etiam iaculis nulla ipsum, et pharetra libero rhoncus ut. Phasellus rutrum cursus velit, eget condimentum nunc blandit vel. In at pulvinar lectus. Morbi diam ante, vulputate et imperdiet eget, fermentum non dolor. Ut eleifend sagittis tincidunt. Sed viverra commodo mi, ac rhoncus justo. Duis neque ligula, elementum ut enim vel, posuere finibus justo. Vivamus facilisis maximus nibh quis pulvinar. Quisque hendrerit in ipsum id tellus facilisis fermentum. Proin mauris dui.

    -
    diff --git a/_posts/3015-08-16-generic.html b/_posts/3015-08-16-generic.html deleted file mode 100644 index a7c79b4..0000000 --- a/_posts/3015-08-16-generic.html +++ /dev/null @@ -1,15 +0,0 @@ ---- -options: fullwidth -title: Generic -categories: topics -tags: featured -excerpt: Morbi mattis mi consectetur tortor elementum -author: n33 ---- -

    Lorem ipsum dolor

    -

    Morbi mattis mi consectetur tortor elementum, varius pellentesque velit convallis. Aenean tincidunt lectus auctor mauris maximus, ac scelerisque ipsum tempor. Duis vulputate ex et ex tincidunt, quis lacinia velit aliquet. Duis non efficitur nisi, id malesuada justo. Maecenas sagittis felis ac sagittis semper. Curabitur purus leo, tempus sed finibus eget, fringilla quis risus. Maecenas et lorem quis sem varius sagittis et a est. Maecenas iaculis iaculis sem. Donec vel dolor at arcu tincidunt bibendum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Fusce ut aliquet justo. Donec id neque ipsum. Integer eget ultricies odio. Nam vel ex a orci fringilla tincidunt. Aliquam eleifend ligula non velit accumsan cursus. Etiam ut gravida sapien.

    -

    Vestibulum ultrices risus velit, sit amet blandit massa auctor sit amet. Sed eu lectus sem. Phasellus in odio at ipsum porttitor mollis id vel diam. Praesent sit amet posuere risus, eu faucibus lectus. Vivamus ex ligula, tempus pulvinar ipsum in, auctor porta quam. Proin nec dui cursus, posuere dui eget interdum. Fusce lectus magna, sagittis at facilisis vitae, pellentesque at etiam. Quisque posuere leo quis sem commodo, vel scelerisque nisi scelerisque. Suspendisse id quam vel tortor tincidunt suscipit. Nullam auctor orci eu dolor consectetur, interdum ullamcorper ante tincidunt. Mauris felis nec felis elementum varius.

    -
    -

    Feugiat aliquam

    -

    Nam sapien ante, varius in pulvinar vitae, rhoncus id massa. Donec varius ex in mauris ornare, eget euismod urna egestas. Etiam lacinia tempor ipsum, sodales porttitor justo. Aliquam dolor quam, semper in tortor eu, volutpat efficitur quam. Fusce nec fermentum nisl. Aenean erat diam, tempus aliquet erat.

    -

    Etiam iaculis nulla ipsum, et pharetra libero rhoncus ut. Phasellus rutrum cursus velit, eget condimentum nunc blandit vel. In at pulvinar lectus. Morbi diam ante, vulputate et imperdiet eget, fermentum non dolor. Ut eleifend sagittis tincidunt. Sed viverra commodo mi, ac rhoncus justo. Duis neque ligula, elementum ut enim vel, posuere finibus justo. Vivamus facilisis maximus nibh quis pulvinar. Quisque hendrerit in ipsum id tellus facilisis fermentum. Proin mauris dui, at vestibulum sit amet, auctor bibendum neque.

    diff --git a/_posts/3015-08-16-icons.html b/_posts/3015-08-16-icons.html deleted file mode 100644 index 144a37d..0000000 --- a/_posts/3015-08-16-icons.html +++ /dev/null @@ -1,696 +0,0 @@ ---- -title: font-awesome icons -categories: topics -excerpt: the icons available ---- - - - diff --git a/_posts/3016-02-26-template.md b/_posts/3016-02-26-template.md deleted file mode 100644 index 71ba0a2..0000000 --- a/_posts/3016-02-26-template.md +++ /dev/null @@ -1,307 +0,0 @@ ---- -title: Guide for new posts -categories: topics -excerpt: Front-matter guide for site pages and posts -author: arkadianriver ---- - -## Required - -### `categories` - -If it's a post, the categories array is required with at least -the first element set to the permalink name of its parent page -(so that breadcrumbs work). - -{% highlight yaml %} -categories: topics ... -{% endhighlight %} - -The two top-level categories with provided index pages are `topics` and `works`. - -If you want back/next navigation within a subcategory: - -{:.nobullet} -- Create a first post for the sub-category, but with a permalink. - The category list can be space-delimited on one line or in a bulleted list. - Note that the category names must exactly match the permalink. - - {% highlight yaml %} - categories: topics my-great-vacation - permalink: /topics/my-great-vacation/ -{% endhighlight %} - -{:.nobullet} -- The site permalink would be: - `/topics/my-great-vacation/index.html` - -{:.nobullet} -- If your subcategory contains spaces, specify categories as an array - - {% highlight yaml %} - categories: - - topics - - my great vacation - permalink: /topics/my great vacation/ -{% endhighlight %} - -{:.nobullet} -- For subsequent topics in the sub-category, add the sub-category and no - permalink: - - {% highlight yaml %} - categories: topics my-great-vacation -{% endhighlight %} - -{:.nobullet} -- resulting in: `/topics/my-great-vacation/topic-title.html` - -{:.nobullet} -- Topics in the sub-category are sorted by date (and time). Therefore, if they - all fall on the same day, specify the date in the post with a timestamp by - which to sort. - - {% highlight yaml %} - date: 3009-09-22 00:00:03 -{% endhighlight %} - - -### `excerpt` - -You'll probably wanna provide an excerpt in front-matter, because relying on jekyll to -get the excerpt from the body has too many caveats. The excerpt is truncated -as necessary in references, so it can be as long as you want, except that it's also -displayed, centered, right under the topic title (in all caps). - -{% highlight yaml %} -excerpt: yada yada -{% endhighlight %} - -### `permalink` - -If it's the first page of a sub-category, use a permalink for the categories. -It becomes the index that a breadcrumb link would pop up to, ie: -`/topics/new-category/index.html`. Also see `categories`. - -{% highlight yaml %} -permalink: /topics/new-category/ -{% endhighlight %} - -### `title` - -Title for `` and `<h1/>`. For this and all other fields refer to Yaml -restrictions on when you need to quote the value. - -{% highlight yaml %} -title: My interesting topic -{% endhighlight %} - - -## Presentation options - -### `author` - -If you want the article to be attributed to an author, specify a name that -corresponds to a key in the `_data\authors.yml` file. - -{% highlight yaml %} -author: key_name -{% endhighlight %} - -### `background-image` - -If you want a larger title block with a background image, specify it here. -If it's in the `/images/` folder, specify just the name; -otherwise specify the folder relative to your jekyll root, starting with `/`. -If it's a remote image, begin the name with `//`. -Use a high resolution image, if possible, -for when viewed full screen. Once displayed, you'll wanna slowly resize your -browser or use its developer tools to see how the image responds for all `@media` -breakpoints and crop it as necessary. - -{% highlight yaml %} -background-image: imagefile.png -{% endhighlight %} - -### `icon` - -For the featured articles on the main page, if you want an icon other than -the heart icon, specify the `font-awesome` icon identifier (just the text after `fa-`). -See the [font-awesome icons]({{ '/topics/icons.html' | prepend: site.baseurl }}) -topic for a list of available icons. - -{% highlight yaml %} -icon: industry -{% endhighlight %} - -### `layout` - -For both posts and pages, there's no need to specify the layout. -Specifying the layout is optional because defaults -are set in the `_config.yml` file to set the layout based on the folder it's in -(`_posts` or `_pages`). The layout _is_ useful for pages outside of these folders, -however. - -{% highlight yaml %} -layout: {page|post} -{% endhighlight %} - -### `options` - -The options allow you to customize the page somewhat. - -{% highlight yaml %} -options: - - minihead # as minimal a title as possible, and no date printed - - fullwidth # leaving only a tiny margin on all media sizes - - nocomment # disable disqus comments for this post - - nomenu # for pages, don't add to the menu - - nolanding # for pages and featured posts, don't add to the landing page -{% endhighlight %} - -Note that disqus comments are not displayed on `works` posts. - -## Ordering and site map options - -### `changefreq` - -The default change frequency for all pages in the site map is `monthly`. -Depending on how often you think you'll edit a page, you can set the page -change frequency. <a target="_blank" -href="https://www.v9seo.com/blog/2011/12/27/sitemap-xml-why-changefreq-priority-are-important/" ->Here's a good guide</a> on when to use the available values. - -{% highlight yaml %} -changefreq: weekly -{% endhighlight %} - -### `key` - -All files in the `_pages` folder are displayed in the nav menu unless you -set the `nomenu` option. -Use `key` to specify the order you want the pages listed in the nav menu. -Values are sorted in ascending order. - -{% highlight yaml %} -key: 2 -{% endhighlight %} - -### `lastmod`, `date` - -If you want the site map `lastmod` setting to be updated, you can set one or both of -these to your new modified date as `YYYY-MM-DD HH:MM:SS +/-TTTT` (`lastmod` has priority). -If you use `date`, the date shown on the page is also modified, overriding the -date in the filename. The timestamp is assumed to be UTC unless you specify the -time zone offset afterward. - -{% highlight yaml %} -lastmod: 2016-03-13 23:11:00 -date: 2016-01-01 00:00:00 -0800 -{% endhighlight %} - -### `priority` - -Use `priority` to specify two things: - -- the grouping in the works index -- the site map priority - -{% highlight yaml %} -priority: 0.8 -{% endhighlight %} - -In the works index, the works are grouped by priority, listed by descending priority -and by descending date within each priority. - -**Note:** For now, `works` posts _must_ have a priority set for the ordering - to work. If you get a "`can't compare float with nil`" error in your - jekyll build, there's a missing priority somewhere. - -Because the value is used to set the site map priority, -it must be set to a value between 0 and 1.0. -I have three groups of works, using priorities 0.7, 0.6, and 0.5. -None as high as featured posts, but then, I'm not looking for a job right now. ;-) - -Default priorities in the `sitemap.xml` file: - -- `1.0` - Landing page -- `0.9` - Featured posts -- `0.7` - Other posts -- `0.5` - Pages - -### `sitemap_exclude` - -Set to `yes` if you want to exclude a page from the sitemap. - -{% highlight yaml %} -sitemap_exclude: yes -{% endhighlight %} - -### `tags` - -For _topics_ posts, the only tag that has an effect right now is `featured`, -which adds it to the top of the `/topics/` page. The most recent eight -featured posts are also added to the main landing page. - -{% highlight yaml %} -tags: featured -{% endhighlight %} - -For _works_ posts, the tags become a listing of skills demonstrated. For example: - -{% highlight yaml %} -tags: - - C - - Windows DLL - - SGML -{% endhighlight %} - -![web page display of the preceding tags]({{ '/images/skills.png' | prepend: site.baseurl }}) - -You can add the `featured` tag to a work if you want it to appear on the main landing page. -The `featured` tag is excluded from the list of skills on the page and `works` index. -However, its page priority overrides the standard priority of featured posts in the site map. - -## CSS and Script support - -### `includes` - -If your page needs to include stylesheets or scripts, provide 'em as either -local or remote URLs. Prefix remote urls with `//`, not `http`. Stylesheets -are included in the header and scripts at the bottom before the body closes. - -{% highlight yaml %} -style-includes: - - /local/path/to/stylesheet.css - - //remote.com/url/to/stylesheet.css -{% endhighlight %} - -{% highlight yaml %} -script-includes: - - /local/path/to/script.js - - //remote.com/url/to/script.js -{% endhighlight %} - -### `style, script` - -These are useful when you want to embed styles and scripts outside of the -`{% raw %}{{ content }}{% endraw %}` area. -Use the yaml `|` indented block to ensure line breaks are preserved. -The styles are included in the header below stylesheet includes; -scripts are included at the bottom below script includes. - -{% highlight yaml %} -style: | - /* some css block here */ - .some-class { - somestyle: definition; - } -{% endhighlight %} - -{% highlight yaml %} -script: | - // some script block here... - $(document).ready(function(){ - ... - }); -{% endhighlight %} diff --git a/_sass/libs/_functions.scss b/_sass/libs/_functions.scss deleted file mode 100644 index c76c72a..0000000 --- a/_sass/libs/_functions.scss +++ /dev/null @@ -1,34 +0,0 @@ -/// Gets a duration value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _duration($keys...) { - @return val($duration, $keys...); -} - -/// Gets a font value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _font($keys...) { - @return val($font, $keys...); -} - -/// Gets a misc value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _misc($keys...) { - @return val($misc, $keys...); -} - -/// Gets a palette value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _palette($keys...) { - @return val($palette, $keys...); -} - -/// Gets a size value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _size($keys...) { - @return val($size, $keys...); -} diff --git a/_sass/libs/_mixins.scss b/_sass/libs/_mixins.scss deleted file mode 100644 index 79f6695..0000000 --- a/_sass/libs/_mixins.scss +++ /dev/null @@ -1,37 +0,0 @@ -/// Makes an element's :before pseudoelement a FontAwesome icon. -/// @param {string} $content Optional content value to use. -@mixin icon($content: false) { - - text-decoration: none; - - &:before { - - @if $content { - content: $content; - } - - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - text-transform: none !important; - - } - -} - -/// Applies padding to an element, taking the current element-margin value into account. -/// @param {mixed} $tb Top/bottom padding. -/// @param {mixed} $lr Left/right padding. -/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left) -/// @param {bool} $important If true, adds !important. -@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) { - - @if $important { - $important: '!important'; - } - - padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max(0.1em, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important}; - -} \ No newline at end of file diff --git a/_sass/libs/_skel.scss b/_sass/libs/_skel.scss deleted file mode 100644 index ba5b506..0000000 --- a/_sass/libs/_skel.scss +++ /dev/null @@ -1,585 +0,0 @@ -// skel.scss v3.0.1 | (c) skel.io | MIT licensed */ - -// Vars. - - /// Breakpoints. - /// @var {list} - $breakpoints: () !global; - - /// Vendor prefixes. - /// @var {list} - $vendor-prefixes: ( - '-moz-', - '-webkit-', - '-ms-', - '' - ); - - /// Properties that should be vendorized. - /// @var {list} - $vendor-properties: ( - 'align-content', - 'align-items', - 'align-self', - 'animation', - 'animation-delay', - 'animation-direction', - 'animation-duration', - 'animation-fill-mode', - 'animation-iteration-count', - 'animation-name', - 'animation-play-state', - 'animation-timing-function', - 'appearance', - 'backface-visibility', - 'box-sizing', - 'filter', - 'flex', - 'flex-basis', - 'flex-direction', - 'flex-flow', - 'flex-grow', - 'flex-shrink', - 'flex-wrap', - 'justify-content', - 'order', - 'perspective', - 'pointer-events', - 'transform', - 'transform-origin', - 'transform-style', - 'transition', - 'transition-delay', - 'transition-duration', - 'transition-property', - 'transition-timing-function', - 'user-select' - ); - - /// Values that should be vendorized. - /// @var {list} - $vendor-values: ( - 'filter', - 'flex', - 'linear-gradient', - 'radial-gradient', - 'transform' - ); - -// Functions. - - /// Removes a specific item from a list. - /// @author Hugo Giraudel - /// @param {list} $list List. - /// @param {integer} $index Index. - /// @return {list} Updated list. - @function remove-nth($list, $index) { - - $result: null; - - @if type-of($index) != number { - @warn "$index: #{quote($index)} is not a number for `remove-nth`."; - } - @else if $index == 0 { - @warn "List index 0 must be a non-zero integer for `remove-nth`."; - } - @else if abs($index) > length($list) { - @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; - } - @else { - - $result: (); - $index: if($index < 0, length($list) + $index + 1, $index); - - @for $i from 1 through length($list) { - - @if $i != $index { - $result: append($result, nth($list, $i)); - } - - } - - } - - @return $result; - - } - - /// Replaces a substring within another string. - /// @author Hugo Giraudel - /// @param {string} $string String. - /// @param {string} $search Substring. - /// @param {string} $replace Replacement. - /// @return {string} Updated string. - @function str-replace($string, $search, $replace: '') { - - $index: str-index($string, $search); - - @if $index { - @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); - } - - @return $string; - - } - - /// Replaces a substring within each string in a list. - /// @param {list} $strings List of strings. - /// @param {string} $search Substring. - /// @param {string} $replace Replacement. - /// @return {list} Updated list of strings. - @function str-replace-all($strings, $search, $replace: '') { - - @each $string in $strings { - $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); - } - - @return $strings; - - } - - /// Gets a value from a map. - /// @author Hugo Giraudel - /// @param {map} $map Map. - /// @param {string} $keys Key(s). - /// @return {string} Value. - @function val($map, $keys...) { - - @if nth($keys, 1) == null { - $keys: remove-nth($keys, 1); - } - - @each $key in $keys { - $map: map-get($map, $key); - } - - @return $map; - - } - -// Mixins. - - /// Sets the global box model. - /// @param {string} $model Model (default is content). - @mixin boxModel($model: 'content') { - - $x: $model + '-box'; - - *, *:before, *:after { - -moz-box-sizing: #{$x}; - -webkit-box-sizing: #{$x}; - box-sizing: #{$x}; - } - - } - - /// Wraps @content in a @media block using a given breakpoint. - /// @param {string} $breakpoint Breakpoint. - /// @param {map} $queries Additional queries. - @mixin breakpoint($breakpoint: null, $queries: null) { - - $query: 'screen'; - - // Breakpoint. - @if $breakpoint and map-has-key($breakpoints, $breakpoint) { - $query: $query + ' and ' + map-get($breakpoints, $breakpoint); - } - - // Queries. - @if $queries { - @each $k, $v in $queries { - $query: $query + ' and (' + $k + ':' + $v + ')'; - } - } - - @media #{$query} { - @content; - } - - } - - /// Wraps @content in a @media block targeting a specific orientation. - /// @param {string} $orientation Orientation. - @mixin orientation($orientation) { - @media screen and (orientation: #{$orientation}) { - @content; - } - } - - /// Utility mixin for containers. - /// @param {mixed} $width Width. - @mixin containers($width) { - - // Locked? - $lock: false; - - @if length($width) == 2 { - $width: nth($width, 1); - $lock: true; - } - - // Modifiers. - .container.\31 25\25 { width: 100%; max-width: $width * 1.25; min-width: $width; } - .container.\37 5\25 { width: $width * 0.75; } - .container.\35 0\25 { width: $width * 0.5; } - .container.\32 5\25 { width: $width * 0.25; } - - // Main class. - .container { - @if $lock { - width: $width !important; - } - @else { - width: $width; - } - } - - } - - /// Utility mixin for grid. - /// @param {list} $gutters Column and row gutters (default is 40px). - /// @param {string} $breakpointName Optional breakpoint name. - @mixin grid($gutters: 40px, $breakpointName: null) { - - // Gutters. - @include grid-gutters($gutters); - @include grid-gutters($gutters, \32 00\25, 2); - @include grid-gutters($gutters, \31 50\25, 1.5); - @include grid-gutters($gutters, \35 0\25, 0.5); - @include grid-gutters($gutters, \32 5\25, 0.25); - - // Cells. - $x: ''; - - @if $breakpointName { - $x: '\\28' + $breakpointName + '\\29'; - } - - .\31 2u#{$x}, .\31 2u\24#{$x} { width: 100%; clear: none; margin-left: 0; } - .\31 1u#{$x}, .\31 1u\24#{$x} { width: 91.6666666667%; clear: none; margin-left: 0; } - .\31 0u#{$x}, .\31 0u\24#{$x} { width: 83.3333333333%; clear: none; margin-left: 0; } - .\39 u#{$x}, .\39 u\24#{$x} { width: 75%; clear: none; margin-left: 0; } - .\38 u#{$x}, .\38 u\24#{$x} { width: 66.6666666667%; clear: none; margin-left: 0; } - .\37 u#{$x}, .\37 u\24#{$x} { width: 58.3333333333%; clear: none; margin-left: 0; } - .\36 u#{$x}, .\36 u\24#{$x} { width: 50%; clear: none; margin-left: 0; } - .\35 u#{$x}, .\35 u\24#{$x} { width: 41.6666666667%; clear: none; margin-left: 0; } - .\34 u#{$x}, .\34 u\24#{$x} { width: 33.3333333333%; clear: none; margin-left: 0; } - .\33 u#{$x}, .\33 u\24#{$x} { width: 25%; clear: none; margin-left: 0; } - .\32 u#{$x}, .\32 u\24#{$x} { width: 16.6666666667%; clear: none; margin-left: 0; } - .\31 u#{$x}, .\31 u\24#{$x} { width: 8.3333333333%; clear: none; margin-left: 0; } - - .\31 2u\24#{$x} + *, - .\31 1u\24#{$x} + *, - .\31 0u\24#{$x} + *, - .\39 u\24#{$x} + *, - .\38 u\24#{$x} + *, - .\37 u\24#{$x} + *, - .\36 u\24#{$x} + *, - .\35 u\24#{$x} + *, - .\34 u\24#{$x} + *, - .\33 u\24#{$x} + *, - .\32 u\24#{$x} + *, - .\31 u\24#{$x} + * { - clear: left; - } - - .\-11u#{$x} { margin-left: 91.6666666667% } - .\-10u#{$x} { margin-left: 83.3333333333% } - .\-9u#{$x} { margin-left: 75% } - .\-8u#{$x} { margin-left: 66.6666666667% } - .\-7u#{$x} { margin-left: 58.3333333333% } - .\-6u#{$x} { margin-left: 50% } - .\-5u#{$x} { margin-left: 41.6666666667% } - .\-4u#{$x} { margin-left: 33.3333333333% } - .\-3u#{$x} { margin-left: 25% } - .\-2u#{$x} { margin-left: 16.6666666667% } - .\-1u#{$x} { margin-left: 8.3333333333% } - - } - - /// Utility mixin for grid. - /// @param {list} $gutters Gutters. - /// @param {string} $class Optional class name. - /// @param {integer} $multiplier Multiplier (default is 1). - @mixin grid-gutters($gutters, $class: null, $multiplier: 1) { - - // Expand gutters if it's not a list. - @if length($gutters) == 1 { - $gutters: ($gutters, 0); - } - - // Get column and row gutter values. - $c: nth($gutters, 1); - $r: nth($gutters, 2); - - // Get class (if provided). - $x: ''; - - @if $class { - $x: '.' + $class; - } - - // Default. - .row#{$x} > * { padding: ($r * $multiplier) 0 0 ($c * $multiplier); } - .row#{$x} { margin: ($r * $multiplier * -1) 0 -1px ($c * $multiplier * -1); } - - // Uniform. - .row.uniform#{$x} > * { padding: ($c * $multiplier) 0 0 ($c * $multiplier); } - .row.uniform#{$x} { margin: ($c * $multiplier * -1) 0 -1px ($c * $multiplier * -1); } - - } - - /// Wraps @content in vendorized keyframe blocks. - /// @param {string} $name Name. - @mixin keyframes($name) { - - @-moz-keyframes #{$name} { @content; } - @-webkit-keyframes #{$name} { @content; } - @-ms-keyframes #{$name} { @content; } - @keyframes #{$name} { @content; } - - } - - /// - /// Sets breakpoints. - /// @param {map} $x Breakpoints. - /// - @mixin skel-breakpoints($x: ()) { - $breakpoints: $x !global; - } - - /// - /// Initializes layout module. - /// @param {map} config Config. - /// - @mixin skel-layout($config: ()) { - - // Config. - $configPerBreakpoint: (); - - $z: map-get($config, 'breakpoints'); - - @if $z { - $configPerBreakpoint: $z; - } - - // Reset. - $x: map-get($config, 'reset'); - - @if $x { - - /* Reset */ - - @include reset($x); - - } - - // Box model. - $x: map-get($config, 'boxModel'); - - @if $x { - - /* Box Model */ - - @include boxModel($x); - - } - - // Containers. - $containers: map-get($config, 'containers'); - - @if $containers { - - /* Containers */ - - .container { - margin-left: auto; - margin-right: auto; - } - - // Use default is $containers is just "true". - @if $containers == true { - $containers: 960px; - } - - // Apply base. - @include containers($containers); - - // Apply per-breakpoint. - @each $name in map-keys($breakpoints) { - - // Get/use breakpoint setting if it exists. - $x: map-get($configPerBreakpoint, $name); - - // Per-breakpoint config exists? - @if $x { - $y: map-get($x, 'containers'); - - // Setting exists? Use it. - @if $y { - $containers: $y; - } - - } - - // Create @media block. - @media screen and #{map-get($breakpoints, $name)} { - @include containers($containers); - } - - } - - } - - // Grid. - $grid: map-get($config, 'grid'); - - @if $grid { - - /* Grid */ - - // Use defaults if $grid is just "true". - @if $grid == true { - $grid: (); - } - - // Sub-setting: Gutters. - $grid-gutters: 40px; - $x: map-get($grid, 'gutters'); - - @if $x { - $grid-gutters: $x; - } - - // Rows. - .row { - border-bottom: solid 1px transparent; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - } - - .row > * { - float: left; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - box-sizing: border-box; - } - - .row:after, .row:before { - content: ''; - display: block; - clear: both; - height: 0; - } - - .row.uniform > * > :first-child { - margin-top: 0; - } - - .row.uniform > * > :last-child { - margin-bottom: 0; - } - - // Gutters (0%). - @include grid-gutters($grid-gutters, \30 \25, 0); - - // Apply base. - @include grid($grid-gutters); - - // Apply per-breakpoint. - @each $name in map-keys($breakpoints) { - - // Get/use breakpoint setting if it exists. - $x: map-get($configPerBreakpoint, $name); - - // Per-breakpoint config exists? - @if $x { - $y: map-get($x, 'grid'); - - // Setting exists? - @if $y { - - // Sub-setting: Gutters. - $x: map-get($y, 'gutters'); - - @if $x { - $grid-gutters: $x; - } - - } - - } - - // Create @media block. - @media screen and #{map-get($breakpoints, $name)} { - @include grid($grid-gutters, $name); - } - - } - - } - - } - - /// Resets browser styles. - /// @param {string} $mode Mode (default is 'normalize'). - @mixin reset($mode: 'normalize') { - - @if $mode == 'normalize' { - - // normalize.css v3.0.2 | MIT License | git.io/normalize - html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} - - } - @else if $mode == 'full' { - - // meyerweb.com/eric/tools/css/reset v2.0 | 20110126 | License: none (public domain) - html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none} - - } - - } - - /// Vendorizes a declaration's property and/or value(s). - /// @param {string} $property Property. - /// @param {mixed} $value String/list of value(s). - @mixin vendor($property, $value) { - - // Determine if property should expand. - $expandProperty: index($vendor-properties, $property); - - // Determine if value should expand (and if so, add '-prefix-' placeholder). - $expandValue: false; - - @each $x in $value { - @each $y in $vendor-values { - @if $y == str-slice($x, 1, str-length($y)) { - - $value: set-nth($value, index($value, $x), '-prefix-' + $x); - $expandValue: true; - - } - } - } - - // Expand property? - @if $expandProperty { - @each $vendor in $vendor-prefixes { - #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; - } - } - - // Expand just the value? - @elseif $expandValue { - @each $vendor in $vendor-prefixes { - #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; - } - } - - // Neither? Treat them as a normal declaration. - @else { - #{$property}: #{$value}; - } - - } \ No newline at end of file diff --git a/_sass/libs/_vars.scss b/_sass/libs/_vars.scss deleted file mode 100644 index 6d1d1c9..0000000 --- a/_sass/libs/_vars.scss +++ /dev/null @@ -1,167 +0,0 @@ -/// -/// Spectral by HTML5 UP -/// html5up.net | @n33co -/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -/// - -// Misc. - $misc: ( - max-spotlights: 10, - max-features: 10, - z-index-base: 10000 - ); - -// Duration. - $duration: ( - transitions: 0.2s, - menu: 0.5s, - fadein: 3s - ); - -// Size. - $size: ( - element-height: 2.75em, - element-margin: 2em, - letter-spacing: 0.075em, - letter-spacing-alt: 0.225em - ); - -// Font. - $font: ( - prose-weight: 400, - prose-weight-bold: 700, - weight: 400, - weight-bold: 600, - weight-extrabold: 800, - family-fixed: ('Consolas', 'Inconsolata', 'Monaco', monospace), - fixed-size: 1em, - inline-fixed-size: 1.05em, - fixed-lheight: 1.75em, - ctrl-family: ('Open Sans', Helvetica, sans-serif), - ctrl-size-xxlarge: 15pt, - ctrl-size-xlarge: 13pt, - ctrl-size-large: 12pt, - ctrl-size-small: 11pt, - ctrl-size-xsmall: 9pt, - ctrl-lheight-normal: 1.65em, - ctrl-lheight-small: 1.35em, - ctrl-lheight-smaller: 1.25em, - ctrl-lheight-smallest: 0.9em, - ctrl-form-size: 1em, - ctrl-form-label-size: 0.9em, - ctrl-bttn-size: 0.8em, - ctrl-bttn-bigsize: 1.35em, - ctrl-bttn-lheight: 3.125em, - prose-family: ('Lora', 'Garamond', serif), - prose-size-xxlarge: 15pt, - prose-size-xlarge: 13pt, - prose-size-large: 12pt, - prose-size-small: 10pt, - prose-size-xsmall: 8pt, - prose-lheight-normal: 1.65em, - prose-lheight-small: 1.35em, - prose-lheight-smaller: 1.25em, - prose-lheight-smallest: 0.9em, - hdr-size-xxlarge: 1.75em, - hdr-size-xlarge: 1.35em, - hdr-size-mlarge: 1.25em, - hdr-size-large: 1.1em, - hdr-size-normal: 1.15em, - hdr-size-small: 1em, - hdr-size-smaller: 0.9em, - hdr-size-xsmall: 0.8em, - hdr-size-xxsmall: 0.7em, - hdr-lheight-large: 1.75em, - hdr-lheight-normal: 1.65em, - hdr-lheight-small: 1.5em, - hdr-lheight-smaller: 1em - ); - -// Palette. - $palette: ( - bg: #1b1b1b, - fg: #fff, - fg-bold: #fff, - fg-light: rgba(255,255,255,0.5), - border: #fff, - border-bg: rgba(144,144,144,0.25), - border2: #fff, - border2-bg: rgba(144,144,144,0.5), - - accent1: ( - bg: #1b1b1b, - fg-bold: #ffffff, - fg: mix(#1b1b1b, #ffffff, 25%), - fg-light: mix(#1b1b1b, #ffffff, 40%), - border: rgba(0,0,0,0.125), - border-bg: rgba(255,255,255,0.075), - border2: rgba(0,0,0,0.25), - border2-bg: rgba(255,255,255,0.2) - ), - - accent2: ( - bg: #fffefe, - fg-bold: #ffffff, - fg: mix(#fffefe, #ffffff, 25%), - fg-light: mix(#fffefe, #ffffff, 40%), - border: rgba(0,0,0,0.125), - border-bg: rgba(255,255,255,0.075), - border2: rgba(0,0,0,0.25), - border2-bg: rgba(255,255,255,0.2) - ), - - accent3: ( - bg: #00f0ff, - fg-bold: #ffffff, - fg: mix(#00f0ff, #ffffff, 25%), - fg-light: mix(#00f0ff, #ffffff, 40%), - border: rgba(0,0,0,0.125), - border-bg: rgba(255,255,255,0.075), - border2: rgba(0,0,0,0.25), - border2-bg: rgba(255,255,255,0.2) - ), - - accent4: ( - bg: #76ddff, - fg-bold: #ffffff, - fg: mix(#76ddff, #ffffff, 25%), - fg-light: mix(#76ddff, #ffffff, 40%), - border: rgba(0,0,0,0.125), - border-bg: rgba(255,255,255,0.075), - border2: rgba(0,0,0,0.25), - border2-bg: rgba(255,255,255,0.2) - ), - - accent5: ( - bg: #2e3842, - fg-bold: #ffffff, - fg: mix(#2e3842, #ffffff, 25%), - fg-light: mix(#2e3842, #ffffff, 40%), - border: rgba(0,0,0,0.125), - border-bg: rgba(255,255,255,0.075), - border2: rgba(0,0,0,0.25), - border2-bg: rgba(255,255,255,0.2) - ), - - accent6: ( - bg: #ed4933, - fg-bold: #ffffff, - fg: mix(#ed4933, #ffffff, 25%), - fg-light: mix(#ed4933, #ffffff, 40%), - border: rgba(0,0,0,0.125), - border-bg: rgba(255,255,255,0.075), - border2: rgba(0,0,0,0.25), - border2-bg: rgba(255,255,255,0.2) - ), - - accent7: ( - bg: #fafafa, - fg-bold: #2E3842, - fg: #4E4852, - fg-light: #8E8892, - border: #dfdfdf, - border-bg: rgba(0,0,0,0.0375), - border2: #bfbfbf, - border2-bg: rgba(0,0,0,0.1) - ) - ); \ No newline at end of file diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..e00595d --- /dev/null +++ b/babel.config.js @@ -0,0 +1,3 @@ +module.exports = { + presets: [require.resolve('@docusaurus/core/lib/babel/preset')], +}; diff --git a/blog/2019-05-28-hola.md b/blog/2019-05-28-hola.md new file mode 100644 index 0000000..4adbc32 --- /dev/null +++ b/blog/2019-05-28-hola.md @@ -0,0 +1,11 @@ +--- +slug: hola +title: Hola +author: Gao Wei +author_title: Docusaurus Core Team +author_url: https://github.com/wgao19 +author_image_url: https://avatars1.githubusercontent.com/u/2055384?v=4 +tags: [hola, docusaurus] +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/blog/2019-05-29-hello-world.md b/blog/2019-05-29-hello-world.md new file mode 100644 index 0000000..151671f --- /dev/null +++ b/blog/2019-05-29-hello-world.md @@ -0,0 +1,17 @@ +--- +slug: hello-world +title: Hello +author: Endilie Yacop Sucipto +author_title: Maintainer of Docusaurus +author_url: https://github.com/endiliey +author_image_url: https://avatars1.githubusercontent.com/u/17883920?s=460&v=4 +tags: [hello, docusaurus] +--- + +Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/). + +<!--truncate--> + +This is a test post. + +A whole bunch of other information. diff --git a/blog/2019-05-30-welcome.md b/blog/2019-05-30-welcome.md new file mode 100644 index 0000000..d35d57b --- /dev/null +++ b/blog/2019-05-30-welcome.md @@ -0,0 +1,13 @@ +--- +slug: welcome +title: Welcome +author: Yangshun Tay +author_title: Front End Engineer @ Facebook +author_url: https://github.com/yangshun +author_image_url: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4 +tags: [facebook, hello, docusaurus] +--- + +Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well! + +Delete the whole directory if you don't want the blog features. As simple as that! diff --git a/compose.rb b/compose.rb deleted file mode 100644 index b029aa4..0000000 --- a/compose.rb +++ /dev/null @@ -1,228 +0,0 @@ -#!/usr/bin/ruby -# -# my first ruby script! -# (could surely be better, but it gets the job done well enough) -# -# Walks through creating a new post rather than reading everything -# in the "Guide to New Posts" topic and rather than typing the filename -# and all by hand, like jekyll-compose, but specific to this repo. -# - -Gem.win_platform? ? (system "cls") : (system "clear") - -# for getting the name of your editor and extension -require 'yaml' -cfgfile = YAML.load_file('_config.yml') - -# getting the default author (first in authors file if exist) -authfile = "./_data/authors.yml" -if (File.exist?(authfile)) - author = YAML.load_file(authfile).keys[0] -end - -# for print stmt buffers -STDOUT.sync = true - -# -# interview -# - -puts <<-eoh - -This script helps you create a post. It adds it to the _drafts folder. -(Hit Ctrl-C at any time to cancel. Default values are shown in brackets; -to accept the default you can just hit return.) - -This site has two types of posts: -- Topics: blog posts -- Works: portfolio entries - -eoh -print "Is this a (t)opic or (w)ork? [t]: " -type = '' -while true - type = gets - type.strip! - unless (type == '' or /^[tw]$/.match(type)) then redo end - if type=='' then type = 't' end - break -end - -categories = Array.new -if type=='w' - categories << 'works' - puts <<-eoh - -Higher priority works are listed first and also get the same priority value -for the site map. 1.0 is the highest possible value, and you probably don't -want it to have a priority under 0.5. What priority should it have? - eoh - priority = '' - while true - print "(0 - 1.0) [0.7]: " - priority = gets - priority.strip! - unless (priority == '' or (priority.to_f >= 0.0 and priority.to_f <= 1.0)) then redo end - if priority == '' then priority = '0.7' end - break - end -else - categories << 'topics' - puts <<-eoh - -The first 10 featured posts are listed on the front page and get a higher -priority in the site map. Is this a featured post? - eoh - featured = '' - while true - print "(y or [n]): " - featured = gets - featured.strip! - unless (featured == '' or /^[yn]$/.match(featured)) then redo end - if (featured=='' or featured=='n') then featured = nil end - break - end - puts <<-eoh - -If this is a part of a series of posts that you want to be displayed with -back/next links, you can specify a sub-category name. Note that only the -first topic in the sub-category is listed in the topics index. Also note -that categories should probably have alphanumeric, underscores, hyphens, -and space characters only. Tip: I title my first topic in the sub-category -with the same name as the sub-category so that the breadcrumb looks nice. - - eoh - print "So, is this part of a sub-category grouping? (y or [n]): " - isgroup = gets - isgroup.strip! - if isgroup == 'y' - trapped = true - subcat = '' - while trapped do - catch :trapped do - print "\nSub-category name: " - subcat = gets - subcat.strip! - if subcat == '' then throw :trapped end - subcat.each_char do |c| - unless (/[0-9A-Za-z_\- ]/.match(c)) - puts "Use ASCII alphanumerics, underscores, hyphens, and spaces only." - throw :trapped - end - end - trapped = false - end - end - categories << subcat - isfirst = '' - while true - print "\nIs this your first topic in the sub-category? (y or [n]): " - isfirst = gets - isfirst.strip! - unless (isfirst == '' or /^[yn]$/.match(isfirst)) then redo end - if isfirst == 'y' - perma = '/' + categories.join('/') + '/' - end - break - end - end -end - -while true - print "\nPost title: " - title = gets - title.strip! - break unless title == '' - puts "Well you gotta call it something." -end - -print "\nPost excerpt: " -excerpt = gets -excerpt.strip! - -if type == 't' - print "\nPost author [" + author + "]: " - theauth = gets - theauth.strip! - if theauth == '' then theauth = author end -end - -puts <<-eoc - -If you want an image in the banner, put the image in the /images folder -and type the name here. If it's in another folder, prefix the image with -'/' and the folder name, such as /unique/images/mine.jpg. For no image, -just hit Enter. -eoc -print "background-image: " -back = gets -back = back.strip! == '' ? nil : back - -puts <<-eoc - -There are a few other options you could add, such as a mini-heading, a -full-width body, and a custom icon for featured posts on the front page. -For a full description of options, see the "Guide for New Posts" topic -when you run jekyll serve --future. - -Otherwise, hit Enter to create this starter post. -eoc -letsdothis = gets - -# -# a bit of formatting and date -# - -tslug = title.dup -# replace illegal characters on Win/Linux filesystems as well as URLs with '-' -[' ','\\','/','<','>',':','"','|','?','*','#','%'].each do |x| - tslug.gsub!(x,'-') -end -tslug.downcase! - -t = Time.new -tstamp = t.strftime("%Y-%m-%d %H:%M:%S") -dstamp = t.strftime("%Y-%m-%d") - -ext = cfgfile['compose']['extension'] ? cfgfile['compose']['extension'] : 'md' - -fname = dstamp + "-" + tslug + '.' + ext - -# -# Done, let's print the post -# - -STDOUT.flush - -if (File.exist?("./_drafts/" + fname) or File.exist?("./_posts/" + fname)) - puts <<-eom -Sorry you went through all that trouble, but the file -#{fname} already exists. - eom -else - unless (Dir.exist?("./_drafts/")) then Dir.mkdir("./_drafts") end - File.open("./_drafts/" + fname, 'w') do |f| - f.puts "---" - f.puts "title: " + title - f.puts "excerpt: " + excerpt - unless (theauth.to_s == '') then f.puts "author: " + theauth end - if (featured) then f.puts "tags: featured" end - if (priority) then f.puts "priority: " + priority end - if (perma) then f.puts "permalink: " + perma end - f.puts "categories:" - categories.each do |cat| - f.puts " - " + cat - end - if (back) then f.puts "background-image: " + back end - f.puts "#date/lastupdated are optional" - f.puts "#date: " + tstamp - f.puts "#lastupdated: " + tstamp - f.puts "---" - patharg = Gem.win_platform? ? ".\\_drafts\\" + fname : "./_drafts/" + fname - puts "File created: " + patharg - # open it in an editor if specified - if (cfgfile['compose']['editor']) - system cfgfile['compose']['editor'] + ' ' + patharg - end - end -end diff --git a/css/font-awesome.min.css b/css/font-awesome.min.css deleted file mode 100644 index ee4e978..0000000 --- a/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.4.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"} diff --git a/css/fonts.scss b/css/fonts.scss deleted file mode 100644 index 7d23ecd..0000000 --- a/css/fonts.scss +++ /dev/null @@ -1,441 +0,0 @@ -/* -https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic - -https://fonts.googleapis.com/css?family=Lora:400,400italic,700,700italic - -*/ - - -/* cyrillic-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/K88pR3goAWT7BTt32Z01m4X0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; -} -/* cyrillic */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/RjgO7rYTmqiVp7vzi-Q5UYX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* greek-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/LWCjsQkB6EMdfHrEVqA1KYX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+1F00-1FFF; -} -/* greek */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/xozscpT2726on7jbcb_pAoX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0370-03FF; -} -/* vietnamese */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/59ZRklaO5bWGqF5A9baEEYX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; -} -/* latin-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/u-WUoqrET9fUeobQW7jkRYX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSg7aC6SjiAOpAWOKfJDfVRY.woff2) format('woff2'); - unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; -} -/* cyrillic */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNShdwxCXfZpKo5kWAx_74bHs.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* greek-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSp6vnaPZw6nYDxM4SVEMFKg.woff2) format('woff2'); - unicode-range: U+1F00-1FFF; -} -/* greek */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSvy1_HTwRwgtl1cPga3Fy3Y.woff2) format('woff2'); - unicode-range: U+0370-03FF; -} -/* vietnamese */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSvgrLsWo7Jk1KvZser0olKY.woff2) format('woff2'); - unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; -} -/* latin-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSojoYw3YTyktCCer_ilOlhE.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 600; - src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNShampu5_7CjHW5spxoeN3Vs.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hg7aC6SjiAOpAWOKfJDfVRY.woff2) format('woff2'); - unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; -} -/* cyrillic */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hhdwxCXfZpKo5kWAx_74bHs.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* greek-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hp6vnaPZw6nYDxM4SVEMFKg.woff2) format('woff2'); - unicode-range: U+1F00-1FFF; -} -/* greek */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hvy1_HTwRwgtl1cPga3Fy3Y.woff2) format('woff2'); - unicode-range: U+0370-03FF; -} -/* vietnamese */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hvgrLsWo7Jk1KvZser0olKY.woff2) format('woff2'); - unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; -} -/* latin-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hojoYw3YTyktCCer_ilOlhE.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 800; - src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(https://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hhampu5_7CjHW5spxoeN3Vs.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBvZraR2Tg8w2lzm7kLNL0-w.woff2) format('woff2'); - unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; -} -/* cyrillic */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBl4sYYdJg5dU2qzJEVSuta0.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* greek-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBlBW26QxpSj-_ZKm_xT4hWw.woff2) format('woff2'); - unicode-range: U+1F00-1FFF; -} -/* greek */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBgt_Rm691LTebKfY2ZkKSmI.woff2) format('woff2'); - unicode-range: U+0370-03FF; -} -/* vietnamese */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBtDiNsR5a-9Oe_Ivpu8XWlY.woff2) format('woff2'); - unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; -} -/* latin-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBqE8kM4xWR1_1bYURRojRGc.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v13/xjAJXh38I15wypJXxuGMBogp9Q8gbYrhqGlRav_IXfk.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxjBFCZ8rkaaoOvHyaB4p1V8.woff2) format('woff2'); - unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; -} -/* cyrillic */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxs2Ua5FNUHV5nolPhplIfzg.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* greek-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxn1XrJsKtwhNaJmMXegB1eg.woff2) format('woff2'); - unicode-range: U+1F00-1FFF; -} -/* greek */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxtDawAUxQv-nqIa2sHgh1E4.woff2) format('woff2'); - unicode-range: U+0370-03FF; -} -/* vietnamese */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxo6uqQeO3rRcuZb4avK7jaw.woff2) format('woff2'); - unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; -} -/* latin-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxkWd5At5A4dPjoTcH8-WMxA.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 600; - src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxsiAiQ_a33snTsJhwZvMEaI.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxn6R3Xv-e6B79xl5HkmgNhg.woff2) format('woff2'); - unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F; -} -/* cyrillic */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxh0aj4r8o_EFns5janpBDyI.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* greek-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxi6YLLovB_TP0ww2BP_2m6E.woff2) format('woff2'); - unicode-range: U+1F00-1FFF; -} -/* greek */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxpJkxLuyU7HkgJy3gZf6al0.woff2) format('woff2'); - unicode-range: U+0370-03FF; -} -/* vietnamese */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxjXFJsAmRr-kbJgAcGJdm8k.woff2) format('woff2'); - unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; -} -/* latin-ext */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxsI9ytsQgoRd-8mg6J4vcxU.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 800; - src: local('Open Sans Extrabold Italic'), local('OpenSans-ExtraboldItalic'), url(https://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxmPkvcX8kXDzy1NrkNCBkJ4.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} - -/* cyrillic */ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 400; - src: local('Lora'), local('Lora-Regular'), url(https://fonts.gstatic.com/s/lora/v9/XXbc_aQtUtjJrkp7pYGEKhTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 400; - src: local('Lora'), local('Lora-Regular'), url(https://fonts.gstatic.com/s/lora/v9/tHQOv8O1rd82EIrTHlzvmhTbgVql8nDJpwnrE27mub0.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 400; - src: local('Lora'), local('Lora-Regular'), url(https://fonts.gstatic.com/s/lora/v9/rAXKWvABQNHjPUk26ixVvvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic */ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 700; - src: local('Lora Bold'), local('Lora-Bold'), url(https://fonts.gstatic.com/s/lora/v9/yNp9UcngimMxgyQxKMt1QVKPGs1ZzpMvnHX-7fPOuAc.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 700; - src: local('Lora Bold'), local('Lora-Bold'), url(https://fonts.gstatic.com/s/lora/v9/sNDli5YcfijR40K0xz3mZVKPGs1ZzpMvnHX-7fPOuAc.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Lora'; - font-style: normal; - font-weight: 700; - src: local('Lora Bold'), local('Lora-Bold'), url(https://fonts.gstatic.com/s/lora/v9/mlTYdpdDwCepOR2s5kS2CwLUuEpTyoUstqEm5AMlJo4.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic */ -@font-face { - font-family: 'Lora'; - font-style: italic; - font-weight: 400; - src: local('Lora Italic'), local('Lora-Italic'), url(https://fonts.gstatic.com/s/lora/v9/fCoJt7FyRSVNwXkC_nvEPX-_kf6ByYO6CLYdB4HQE-Y.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: 'Lora'; - font-style: italic; - font-weight: 400; - src: local('Lora Italic'), local('Lora-Italic'), url(https://fonts.gstatic.com/s/lora/v9/sGaC9t9HYN4ok_W_UWzQF3-_kf6ByYO6CLYdB4HQE-Y.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Lora'; - font-style: italic; - font-weight: 400; - src: local('Lora Italic'), local('Lora-Italic'), url(https://fonts.gstatic.com/s/lora/v9/_MYF_5lLoOGnzKiQsUc_vevvDin1pK8aKteLpeZ5c0A.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} -/* cyrillic */ -@font-face { - font-family: 'Lora'; - font-style: italic; - font-weight: 700; - src: local('Lora Bold Italic'), local('Lora-BoldItalic'), url(https://fonts.gstatic.com/s/lora/v9/66KG1MDzU5Zo36weZ_yx-YX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; -} -/* latin-ext */ -@font-face { - font-family: 'Lora'; - font-style: italic; - font-weight: 700; - src: local('Lora Bold Italic'), local('Lora-BoldItalic'), url(https://fonts.gstatic.com/s/lora/v9/1wR3aOJ69QwyZ9B-WDmIqYX0hVgzZQUfRDuZrPvH3D8.woff2) format('woff2'); - unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; -} -/* latin */ -@font-face { - font-family: 'Lora'; - font-style: italic; - font-weight: 700; - src: local('Lora Bold Italic'), local('Lora-BoldItalic'), url(https://fonts.gstatic.com/s/lora/v9/_IxjUs2lbQSu0MyFEAfa7ZBw1xU1rKptJj_0jans920.woff2) format('woff2'); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; -} \ No newline at end of file diff --git a/css/ie8.scss b/css/ie8.scss deleted file mode 100644 index ea387e0..0000000 --- a/css/ie8.scss +++ /dev/null @@ -1,119 +0,0 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) ---- - -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; - -/* - Spectral by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Icon */ - - .icon { - &.major { - border: none; - - &:before { - font-size: 3em; - } - } - } - -/* Form */ - - label { - color: _palette(accent7, fg-bold); - } - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - border: solid 1px _palette(accent7, border); - } - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - border: solid 2px _palette(accent7, border); - - &.special { - border: 0 !important; - } - } - -/* Page Wrapper + Menu */ - - #menu { - display: none; - } - - body.is-menu-visible { - #menu { - display: block; - } - } - -/* Header */ - - #header { - nav { - > ul { - > li { - > a { - &.menuToggle { - &:after { - display: none; - } - } - } - } - } - } - } - -/* Banner + Wrapper (style4) */ - - #banner, - .wrapper.style4 { - -ms-behavior: url('js/ie/backgroundsize.min.htc'); - - &:before { - display: none; - } - } - -/* Banner */ - - #banner { - .more { - height: 4em; - - &:after { - display: none; - } - } - } - -/* Main */ - - #main { - > header { - -ms-behavior: url('js/ie/backgroundsize.min.htc'); - - &:before { - display: none; - } - } - } \ No newline at end of file diff --git a/css/ie9.scss b/css/ie9.scss deleted file mode 100644 index d9b6aa8..0000000 --- a/css/ie9.scss +++ /dev/null @@ -1,138 +0,0 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) ---- - -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/skel'; - -/* - Spectral by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - -/* Spotlight */ - - .spotlight { - display: block; - - .image { - display: inline-block; - vertical-align: top; - } - - .content { - @include padding(4em, 4em); - display: inline-block; - } - - &:after { - clear: both; - content: ''; - display: block; - } - } - -/* Features */ - - .features { - display: block; - - li { - float: left; - } - - &:after { - content: ''; - display: block; - clear: both; - } - } - -/* Banner + Wrapper (style4) */ - - #banner, - .wrapper.style4 { - background-image: url("../../images/fire-umbrella-large.jpg"); - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - position: relative; - - &:before { - background: #000000; - content: ''; - height: 100%; - left: 0; - opacity: 0.5; - position: absolute; - top: 0; - width: 100%; - } - - .inner { - position: relative; - z-index: 1; - } - } - -/* Banner */ - - #banner { - @include padding(14em, 0); - height: auto; - - &:after { - display: none; - } - } - -/* CTA */ - - #cta { - .inner { - header { - float: left; - } - - .actions { - float: left; - } - - &:after { - clear: both; - content: ''; - display: block; - } - } - } - -/* Main */ - - #main { - > header { - background-image: url("../../images/fire-umbrella-large.jpg"); - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - position: relative; - - &:before { - background: #000000; - content: ''; - height: 100%; - left: 0; - opacity: 0.5; - position: absolute; - top: 0; - width: 100%; - } - - > * { - position: relative; - z-index: 1; - } - } - } \ No newline at end of file diff --git a/css/images/arrow.svg b/css/images/arrow.svg deleted file mode 100644 index a76c07e..0000000 --- a/css/images/arrow.svg +++ /dev/null @@ -1,6 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30px" height="30px" viewBox="0 0 30 30" zoomAndPan="disable" preserveAspectRatio="none"> - <style type="text/css"><![CDATA[ line { stroke: #ffffff; stroke-width: 3; } ]]></style> - <line x1="0" y1="15" x2="15" y2="30" /> - <line x1="30" y1="15" x2="15" y2="30" /> - <line x1="15" y1="30" x2="15" y2="0" /> -</svg> \ No newline at end of file diff --git a/css/images/bars.svg b/css/images/bars.svg deleted file mode 100644 index 467fb97..0000000 --- a/css/images/bars.svg +++ /dev/null @@ -1,6 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" zoomAndPan="disable" preserveAspectRatio="none"> - <style type="text/css"><![CDATA[ line { stroke: #ffffff; stroke-width: 2; } ]]></style> - <line x1="0" y1="1" x2="16" y2="1" /> - <line x1="0" y1="7" x2="16" y2="7" /> - <line x1="0" y1="13" x2="16" y2="13" /> -</svg> \ No newline at end of file diff --git a/css/images/close.svg b/css/images/close.svg deleted file mode 100644 index f80a2a3..0000000 --- a/css/images/close.svg +++ /dev/null @@ -1,5 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" zoomAndPan="disable" preserveAspectRatio="none"> - <style type="text/css"><![CDATA[ line { stroke: #ffffff; stroke-width: 2; } ]]></style> - <line x1="0" y1="0" x2="16" y2="16" /> - <line x1="16" y1="0" x2="0" y2="16" /> -</svg> \ No newline at end of file diff --git a/css/main.scss b/css/main.scss deleted file mode 100644 index 006ee04..0000000 --- a/css/main.scss +++ /dev/null @@ -1,2384 +0,0 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) ---- - -$baseurl: '{{ site.baseurl }}/images'; - - -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; - - -{% include_relative fonts.scss %} - -{% include_relative font-awesome.min.css %} - -{% include_relative syntax-highlighting.css %} - -{% include_relative vendor/disqus.css %} - -@import 'libs/skel'; - - - - -@mixin bgimage($width, $q) { - #main { - > header { - @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,0.3))', 'url("//z.imageflow.io/ri/fire-umbrella-large.jpg?width=#{$width}&fastscale=true&down.colorspace=linear&format=jpg&quality=#{$q}&f.sharpen=10")')); - } -} - body.landing { - #page-wrapper { - @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,0.3))', 'url("//z.imageflow.io/ri/fire-umbrella-large.jpg?width=#{$width}&fastscale=true&down.colorspace=linear&format=jpg&quality=#{$q}&f.sharpen=10")')); - } - } - body.is-mobile { - &.landing { - #page-wrapper { - background: none; - } - - #banner, - .wrapper.style4 { - @include vendor('background-image', ('linear-gradient(top, rgba(0,0,0,0.3), rgba(0,0,0,0.3))', 'url("//z.imageflow.io/ri/fire-umbrella-large.jpg?width=#{$width}&fastscale=true&down.colorspace=linear&format=jpg&quality=#{$q}&f.sharpen=10")')); - - } - } - } - -} - -@include bgimage(2880, 80); - - - -@media (max-width: 2000px) { - @include bgimage(2000, 90); -} -@media (max-width: 1600px) { - @include bgimage(1600, 90); -} -@media (max-width: 1024px) { - @include bgimage(1024, 90); -} -@media (max-width: 800px) { - @include bgimage(800, 90); -} -@media (max-width: 640px) { - @include bgimage(640, 90); -} -@media (max-width: 480px) { - @include bgimage(480, 90); -} -@media (max-width: 330px) { - @include bgimage(330, 90); -} - - -@media -only screen and (-webkit-min-device-pixel-ratio: 2), -only screen and ( min--moz-device-pixel-ratio: 2), -only screen and ( -o-min-device-pixel-ratio: 2/1), -only screen and ( min-device-pixel-ratio: 2), -only screen and ( min-resolution: 192dpi), -only screen and ( min-resolution: 2dppx) { - - - @include bgimage(2880, 80); - @media (max-width: 1024px) { - @include bgimage(2048, 80); - } - @media (max-width: 800px) { - @include bgimage(1600, 80); - } - @media (max-width: 640px) { - @include bgimage(1280, 80); - } - @media (max-width: 480px) { - @include bgimage(960, 80); - } - @media (max-width: 330px) { - @include bgimage(660, 80); - } - - - -} - - - - -/* - Spectral by HTML5 UP - html5up.net | @n33co - Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) -*/ - - -@include skel-breakpoints(( - xlarge: '(max-width: 1680px)', - large: '(max-width: 1280px)', - medium: '(max-width: 980px)', - small: '(max-width: 736px)', - xsmall: '(max-width: 480px)', - dinky: '(max-width: 260px)' -)); - - -@include skel-layout(( - reset: 'full', - boxModel: 'border', - grid: ( gutters: 1.5em ) -)); - -/* Basic */ - -@-ms-viewport { - width: device-width; -} - -body { - background: _palette(bg); - - &.is-loading { - *, *:before, *:after { - @include vendor('animation', 'none !important'); - @include vendor('transition', 'none !important'); - } - } -} - -body, input, select, textarea { - color: _palette(fg); - font-family: _font(ctrl-family); - font-size: _font(ctrl-size-xxlarge); - font-weight: _font(weight); - letter-spacing: _size(letter-spacing); - line-height: _font(ctrl-lheight-normal); - - @include breakpoint(xlarge) { - font-size: _font(ctrl-size-xlarge); - } - - @include breakpoint(large) { - font-size: _font(ctrl-size-large); - } - - @include breakpoint(ctrl-small) { - font-size: _font(ctrl-size-small); - letter-spacing: _size(letter-spacing) * 0.5; - } -} - -a { - @include vendor('transition', ('color #{_duration(transitions)} ease', 'border-bottom-color #{_duration(transitions)} ease')); - border-bottom: dotted 1px; - color: inherit; - text-decoration: none; - - &:hover { - border-bottom-color: transparent; - } -} - -strong, b { - color: _palette(fg-bold); - font-weight: _font(weight-bold); -} - -em, i { - font-style: italic; -} - -p { - margin: 0 0 _size(element-margin) 0; -} - -h1, h2, h3, h4, h5, h6 { - color: _palette(fg-bold); - font-weight: _font(weight-extrabold); - letter-spacing: _size(letter-spacing-alt); - line-height: 1em; - margin: 0 0 (_size(element-margin) * 0.5) 0; - text-transform: uppercase; - - code { - text-transform: none; - } - - a { - color: inherit; - text-decoration: none; - } -} - -h2 { - font-size: _font(hdr-size-xlarge); - line-height: 1.75em; - - @include breakpoint(small) { - font-size: _font(hdr-size-large); - line-height: 1.65em; - } -} - -h3 { - font-size: _font(hdr-size-normal); - line-height: _font(hdr-lheight-large); - - @include breakpoint(small) { - font-size: _font(hdr-size-small); - line-height: _font(hdr-lheight-normal); - } -} - -h4 { - font-size: _font(hdr-size-small); - line-height: _font(hdr-lheight-small); -} - -h5 { - font-size: _font(hdr-size-xsmall); - line-height: _font(hdr-lheight-small); -} - -h6 { - font-size: _font(hdr-size-xxsmall); - line-height: _font(hdr-lheight-small); -} - -sub { - font-size: _font(hdr-size-xsmall); - position: relative; - top: 0.5em; -} - -sup { - font-size: _font(hdr-size-xsmall); - position: relative; - top: -0.5em; -} - -hr { - border: 0; - border-bottom: solid 2px _palette(border); - margin: (_size(element-margin) * 1.5) 0; - - &.major { - margin: (_size(element-margin) * 2.25) 0; - } -} - -article .inner { - /* - // If choosing serif font for headers - h1, h2, h3, h4, h5, h6, h7 { - color: _palette(accent7,fg); - font-family: _font(prose-family); - text-transform: none; - letter-spacing: _size(letter-spacing); - //font-weight: _font(weight); - } - // might have to adjust sizes as well - h2 { - font-size: _font(hdr-size-xlarge); - } - */ - p, dt, dd, p span, th, td, li, blockquote, #post-date { - font-family: _font(prose-family); - font-size: _font(prose-size-large); - font-weight: _font(prose-weight); - line-height: _font(prose-lheight-normal); - strong, b { - font-weight: _font(prose-font-weight); - } - } - th, dt { - font-weight: _font(prose-weight-bold); - } - #post-date { - font-weight: _font(prose-weight-bold); - } - p code { - font-size: _font(inline-fixed-size); - } - .actions * { - font-family: _font(ctrl-family); - } - li { - margin-left: 0.2em; - padding-left: 0.4em; - } -} - -blockquote { - border-left: solid 5px _palette(border); - font-style: italic; - margin: 0 0 _size(element-margin) 0; - padding: 0.5em 0 0.5em 2em; - p:last-child { - margin:0; - } -} - -code { - font-family: _font(family-fixed); - font-size: _font(fixed-size); - letter-spacing: 0; - //background: #eeeeee; - //border: 1px solid #e2e2e2; - //margin: 0 0.25em; - //padding: 0.1em 0.3em 0.1em 0.3em; -} - -pre { - -webkit-overflow-scrolling: touch; - font-family: _font(family-fixed); - font-size: _font(fixed-size); - margin: 0 0 _size(element-margin) 0; - - code { - border-radius: 6px; - display: block; - line-height: _font(fixed-lheight); - background-color: #EEEEEB; - padding: 1em 1.5em; - overflow-x: auto; - } - -} - -.align-left { - text-align: left; -} - -.align-center { - text-align: center; -} - -.align-right { - text-align: right; -} - -/* Post listing */ - -.post-list { - margin: 0; - padding: 0.2em; - width: 100%; - text-align: left; - vertical-align: top; - display: block; - font-size: 1em; - - > li { - vertical-align: top; - display: inline-block; - width: 240px; - border-radius: 8px; - list-style: none; - line-height: 1em; - margin: 0.5em 0 0.5em 1em; - padding: 0; - /* - &:first-child { - margin-left: 0; - } - &.featured { - border: solid 4px black; - } - */ - .post-date { - font-style: italic; - padding: 0 0 5px 0; - margin: 0; - line-height: _font(prose-lheight-small); - } - .post-feature { - padding: 0; - margin: 0; - font-style: italic; - font-weight: _font(weight-bold); - line-height: _font(ctrl-size-small); - } - .post-title { - padding: 0; - margin: 0; - font-weight: _font(weight-extrabold); - font-size: _font(hdr-size-large); - line-height: _font(hdr-lheight-small); - } - .post-desc{ - padding: 0; - margin: 0; - font-size: _font(prose-size-small); - line-height: _font(prose-lheight-smaller); - } - .container { - background: _palette(accent6,fg); - border-radius: 8px; - width: 100%; - height: 100%; - min-height: 110px; - line-height: _font(prose-lheight-small); - margin: 0; - padding: 0.8em; - } - } -} - -/* Section/Article */ - -section, article { - &.special { - text-align: center; - } -} - -header { - p { - color: _palette(fg-light); - position: relative; - top: -0.25em; - } - - .excerpt-inline { - font-size: _font(hdr-size-xxsmall); - font-weight: _font(weight); - } - - h2 + p { - } - - h3 + p { - font-size: _font(hdr-size-large); - } - - h4 + p, - h5 + p, - h6 + p { - font-size: _font(hdr-size-smaller); - } - - &.major { - margin: 0 0 (_size(element-margin) * 1.75) 0; - - h2, h3, h4, h5, h6 { - border-bottom: solid 2px _palette(border); - display: inline-block; - padding-bottom: 1em; - position: relative; - - &:after { - content: ''; - display: block; - height: 1px; - } - } - - p { - color: _palette(fg); - top: 0; - } - - @include breakpoint(small) { - margin: 0 0 _size(element-margin) 0; - } - } - - @include breakpoint(medium) { - br { - display: none; - } - } -} - -/* Form */ - -form { - margin: 0 0 _size(element-margin) 0; -} - -label { - color: _palette(fg-bold); - display: block; - font-size: _font(ctrl-form-label-size); - font-weight: _font(weight-bold); - margin: 0 0 (_size(element-margin) * 0.5) 0; -} - -input[type="text"], -input[type="password"], -input[type="email"], -select, -textarea { - @include vendor('appearance', 'none'); - background: _palette(border-bg); - border-radius: 3px; - border: none; - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; - - &:invalid { - box-shadow: none; - } - - &:focus { - box-shadow: 0 0 0 2px _palette(accent1, bg); - } -} - -.select-wrapper { - @include icon; - display: block; - position: relative; - - &:before { - @include vendor('pointer-events', 'none'); - color: _palette(border); - content: '\f078'; - display: block; - height: _size(element-height); - line-height: _size(element-height); - position: absolute; - right: 0; - text-align: center; - top: 0; - width: _size(element-height); - } - - select::-ms-expand { - display: none; - } -} - -input[type="text"], -input[type="password"], -input[type="email"], -select { - height: _size(element-height); -} - -textarea { - padding: 0.75em 1em; -} - -input[type="checkbox"], -input[type="radio"], { - @include vendor('appearance', 'none'); - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; - - & + label { - @include icon; - color: _palette(fg); - cursor: pointer; - display: inline-block; - font-size: _font(ctrl-form-size); - font-weight: _font(weight); - padding-left: (_size(element-height) * 0.6) + 0.75em; - padding-right: 0.75em; - position: relative; - - &:before { - background: _palette(border-bg); - border-radius: 3px; - content: ''; - display: inline-block; - height: (_size(element-height) * 0.6); - left: 0; - line-height: (_size(element-height) * 0.575); - position: absolute; - text-align: center; - top: 0; - width: (_size(element-height) * 0.6); - } - } - - &:checked + label { - &:before { - background: _palette(bg); - color: _palette(fg-bold); - content: '\f00c'; - } - } - - &:focus + label { - &:before { - box-shadow: 0 0 0 2px _palette(accent1, bg); - } - } -} - -input[type="checkbox"] { - & + label { - &:before { - border-radius: 3px; - } - } -} - -input[type="radio"] { - & + label { - &:before { - border-radius: 100%; - } - } -} - -::-webkit-input-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; -} - -:-moz-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; -} - -::-moz-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; -} - -:-ms-input-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; -} - -.formerize-placeholder { - color: _palette(fg-light) !important; - opacity: 1.0; -} - -/* Box */ - -.box { - border-radius: 3px; - border: solid 2px _palette(border); - margin-bottom: _size(element-margin); - padding: 1.5em; - - > :last-child, - > :last-child > :last-child, - > :last-child > :last-child > :last-child { - margin-bottom: 0; - } - - &.alt { - border: 0; - border-radius: 0; - padding: 0; - } -} - -/* Icon */ - -.icon { - @include icon; - border-bottom: none; - position: relative; - - > .label { - display: none; - } - - &.major { - @include vendor('transform', 'rotate(-45deg)'); - border-radius: 3px; - border: solid 2px _palette(border); - display: inline-block; - font-size: _font(hdr-size-xlarge); - height: calc(3em + 2px); - line-height: 3em; - text-align: center; - width: calc(3em + 2px); - - &:before { - @include vendor('transform', 'rotate(45deg)'); - display: inline-block; - font-size: 1.5em; - } - - @include breakpoint(small) { - font-size: _font(hdr-size-large); - } - } - - &.style1 { - color: _palette(accent2, bg); - } - - &.style2 { - color: _palette(accent3, bg); - } - - &.style3 { - color: _palette(accent4, bg); - } -} - -/* Image */ - -.image { - border-radius: 3px; - border: 0; - display: inline-block; - position: relative; - - img { - border-radius: 3px; - display: block; - } - - &.left { - float: left; - margin: 0 2em 2em 0; - top: 0.25em; - } - - &.right { - float: right; - margin: 0 0 2em 2em; - top: 0.25em; - } - - &.left, - &.right { - max-width: 40%; - - img { - width: 100%; - } - } - - &.fit { - display: block; - margin: 0 0 _size(element-margin) 0; - width: 100%; - - img { - width: 100%; - } - } -} - -/* List */ - -ol { - list-style: decimal; - margin: 0 0 _size(element-margin) 0; - padding-left: 1.25em; - - li { - padding-left: 0.25em; - } -} - -ul { - list-style: disc; - margin: 0 0 _size(element-margin) 0em; - padding-left: 1em; - - li { - padding-left: 0.5em; - } - - &.alt { - list-style: none; - padding-left: 0; - - li { - border-top: solid 1px _palette(border); - padding: 0.5em 0; - - &:first-child { - border-top: 0; - padding-top: 0; - } - } - } - - &.icons { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 1em 0 0; - - &:last-child { - padding-right: 0 !important; - } - } - - &.major { - padding: 1em 0; - - li { - padding-right: 3.5em; - - @include breakpoint(small) { - padding: 0 1em !important; - } - } - } - } - - &.actions { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 (_size(element-margin) * 0.75) 0 0; - vertical-align: middle; - - &:last-child { - padding-right: 0; - } - } - - &.small { - li { - padding: 0 (_size(element-margin) * 0.375) 0 0; - } - } - - &.vertical { - li { - display: block; - padding: (_size(element-margin) * 0.75) 0 0 0; - - &:first-child { - padding-top: 0; - } - - > * { - margin-bottom: 0; - } - } - - &.small { - li { - padding: (_size(element-margin) * 0.375) 0 0 0; - - &:first-child { - padding-top: 0; - } - } - } - } - - &.fit { - display: table; - margin-left: (_size(element-margin) * -0.75); - padding: 0; - table-layout: fixed; - width: calc(100% + #{(_size(element-margin) * 0.75)}); - - li { - display: table-cell; - padding: 0 0 0 (_size(element-margin) * 0.75); - - > * { - margin-bottom: 0; - } - } - - &.small { - margin-left: (_size(element-margin) * -0.375); - width: calc(100% + #{(_size(element-margin) * 0.375)}); - - li { - padding: 0 0 0 (_size(element-margin) * 0.375); - } - } - } - - @include breakpoint(small) { - li { - display: block; - padding: (_size(element-margin) * 0.5) 0 0 0; - text-align: center; - width: 100%; - - &:first-child { - padding-top: 0; - } - - > * { - margin: 0 auto !important; - max-width: 30em; - width: 100%; - - &.icon { - &:before { - margin-left: -1em; - } - } - } - } - - &.small { - li { - padding: (_size(element-margin) * 0.25) 0 0 0; - - &:first-child { - padding-top: 0; - } - } - } - } - } -} - -dl { - margin: 0 0 _size(element-margin) 0; -} - -/* Table */ - -.table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; -} - -table { - margin: 0 0 _size(element-margin) 0; - width: 100%; - - tbody { - tr { - border: solid 1px _palette(border); - border-left: 0; - border-right: 0; - - &:nth-child(2n + 1) { - background-color: _palette(border-bg); - } - } - } - - td { - padding: 0.75em 0.75em; - } - - th { - color: _palette(fg-bold); - font-size: 0.9em; - font-weight: _font(weight-bold); - padding: 0 0.75em 0.75em 0.75em; - text-align: left; - } - - thead { - border-bottom: solid 2px _palette(border); - } - - tfoot { - border-top: solid 2px _palette(border); - } - - &.alt { - border-collapse: separate; - - tbody { - tr { - td { - border: solid 1px _palette(border); - border-left-width: 0; - border-top-width: 0; - - &:first-child { - border-left-width: 1px; - } - } - - &:first-child { - td { - border-top-width: 1px; - } - } - } - } - - thead { - border-bottom: 0; - } - - tfoot { - border-top: 0; - } - } -} - -@include breakpoint(small) { -// from https://css-tricks.com/responsive-data-tables/ - /* Force table to not be like tables anymore */ - table, thead, tbody, th, td, tr { - display: block; - } - /* Hide table headers (but not display: none;, for accessibility) */ - thead tr { - position: absolute; - top: -9999px; - left: -9999px; - } - //tr { border: 1px solid #ccc; } - td { - /* Behave like a "row" */ - border: none; - //border-bottom: 1px solid #eee; - position: relative; - padding-left: 50%; - } -} - -/* Button */ - -input[type="submit"], -input[type="reset"], -input[type="button"], -button, -.button { - @include vendor('appearance', 'none'); - @include vendor('transition', ('background-color #{_duration(transitions)} ease-in-out', 'color #{_duration(transitions)} ease-in-out')); - background-color: transparent; - border-radius: 3px; - border: 0; - box-shadow: inset 0 0 0 2px _palette(border); - color: _palette(fg-bold); - cursor: pointer; - display: inline-block; - font-size: _font(ctrl-bttn-size); - font-weight: _font(weight-bold); - height: 3.125em; - letter-spacing: _size(letter-spacing-alt); - line-height: _font(ctrl-bttn-lheight); - padding: 0 2.75em; - text-align: center; - text-decoration: none; - text-transform: uppercase; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - - &:hover { - background-color: _palette(border-bg); - } - - &:active { - background-color: _palette(border2-bg); - } - - &.icon { - &:before { - margin-right: 0.5em; - } - } - - &.fit { - display: block; - margin: 0 0 (_size(element-margin) * 0.5) 0; - width: 100%; - } - - &.small { - font-size: _font(ctrl-bttn-size); - } - - &.big { - font-size: _font(ctrl-bttn-bigsize); - } - - &.special { - background-color: _palette(accent6, bg); - box-shadow: none !important; - color: _palette(accent6, fg-bold) !important; - - &:hover { - background-color: lighten(_palette(accent6, bg), 5) !important; - } - - &:active { - background-color: darken(_palette(accent6, bg), 5) !important; - } - } - - &.disabled, - &:disabled { - @include vendor('pointer-events', 'none'); - opacity: 0.25; - } - - @include breakpoint(small) { - height: 3.75em; - line-height: 3.75em; - } -} - -/* Features */ - -.features { - @include vendor('display', 'flex'); - @include vendor('flex-wrap', 'wrap'); - @include vendor('justify-content', 'center'); - list-style: none; - padding: 0; - width: 100%; - - a { - @include vendor('transition', ('color #{_duration(transitions)} ease', 'border-bottom-color #{_duration(transitions)} ease')); - border-bottom: none; - color: inherit; - text-decoration: none; - - &:hover { - border-bottom-color: none; - } - } - - li { - display: block; - position: relative; - text-align: left; - width: 50%; - - .container { - width: 100%; - height: 100%; - margin: 0; - @include padding(4em, 4em, (0,0,0,2em)); - } - - @for $i from 1 through _misc(max-features) { - $j: 0.035 * $i; - - &:nth-child(#{$i}) { - background-color: rgba(0,0,0, $j); - } - } - - &:before { - display: block; - color: _palette(accent2, bg); - position: absolute; - left: 1.75em; - top: 2.75em; - font-size: 1.5em; - } - - &:nth-child(1) { - border-top-left-radius: 3px; - } - - &:nth-child(2) { - border-top-right-radius: 3px; - } - - &:nth-last-child(1) { - border-bottom-right-radius: 3px; - } - - &:nth-last-child(2) { - border-bottom-left-radius: 3px; - } - - @include breakpoint(medium) { - @include padding(3em, 2em); - text-align: center; - - &:before { - left: 0; - margin: 0 0 (_size(element-margin) * 0.5) 0; - position: relative; - top: 0; - } - } - - @include breakpoint(small) { - @include padding(3em, 0); - background-color: transparent !important; - border-top: solid 2px _palette(border); - width: 100%; - - &:first-child { - border-top: 0; - } - } - } -} - -/* Spotlight */ - -.spotlight { - - @include vendor('align-items', 'center'); - @include vendor('display', 'flex'); - - a { - padding:0; - margin:0; - @include vendor('transition', ('color #{_duration(transitions)} ease', 'border-bottom-color #{_duration(transitions)} ease')); - border-bottom: none; - color: inherit; - text-decoration: none; - - &:hover { - border-bottom-color: none; - } - } - - .image { - @include vendor('order', '1'); - border-radius: 0; - width: 40%; - img { - border-radius: 0; - width: 100%; - } - } - - .content { - @include padding(2em, 4em); - @include vendor('order', '2'); - max-width: 48em; - width: 60%; - } - - &:nth-child(2n) { - @include vendor('flex-direction', 'row-reverse'); - } - - @for $i from 1 through _misc(max-spotlights) { - $j: 0.075 * $i; - &:nth-child(#{$i}) { - background-color: rgba(0,0,0, $j); - } - } - - @include breakpoint(large) { - .image { - width: 45%; - } - .content { - width: 55%; - } - } - - @include breakpoint(medium) { - display: block; - br { - display: none; - } - .image { - width: 100%; - } - .content { - @include padding(4em, 3em); - max-width: none; - text-align: center; - width: 100%; - } - } - - @include breakpoint(small) { - .content { - @include padding(3em, 2em); - } - } - -} - -/* Wrapper */ - -@mixin wrapper($p) { - background-color: _palette($p, bg); - color: _palette($p, fg); - - // Basic - - strong, b { - color: _palette($p, fg-bold); - } - - h2, h3, h4, h5, h6 { - color: _palette($p, fg-bold); - } - - hr { - border-color: _palette($p, border); - } - - blockquote { - border-color: _palette($p, border); - } - /* - code { - background: _palette($p, border-bg); - } - */ - - // Section/Article - - header { - p { - color: _palette($p, fg-light); - } - - &.major { - h2, h3, h4, h5, h6 { - border-color: _palette($p, border); - } - - p { - color: _palette($p, fg); - } - } - } - - // Form - - label { - color: _palette($p, fg-bold); - } - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - background: _palette($p, border-bg); - } - - .select-wrapper { - &:before { - color: _palette($p, border); - } - } - - input[type="checkbox"], - input[type="radio"], { - & + label { - color: _palette($p, fg); - - &:before { - background: _palette($p, border-bg); - } - } - - &:checked + label { - &:before { - background: _palette($p, fg-bold); - color: _palette($p, bg); - } - } - } - - ::-webkit-input-placeholder { - color: _palette($p, fg-light) !important; - } - - :-moz-placeholder { - color: _palette($p, fg-light) !important; - } - - ::-moz-placeholder { - color: _palette($p, fg-light) !important; - } - - :-ms-input-placeholder { - color: _palette($p, fg-light) !important; - } - - .formerize-placeholder { - color: _palette($p, fg-light) !important; - } - - // Icon - - .icon { - &.major { - border-color: _palette($p, border); - } - } - - // List - - ul { - &.alt { - li { - border-color: _palette($p, border); - } - } - } - - // Table - - table { - tbody { - tr { - border-color: _palette($p, border); - - &:nth-child(2n + 1) { - background-color: _palette($p, border-bg); - } - } - } - - th { - color: _palette($p, fg-bold); - } - - thead { - border-color: _palette($p, border); - } - - tfoot { - border-color: _palette($p, border); - } - - &.alt { - tbody { - tr { - td { - border-color: _palette($p, border); - } - } - } - } - } - - // Button - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - box-shadow: inset 0 0 0 2px _palette($p, border); - color: _palette($p, fg-bold); - - &:hover { - background-color: _palette($p, border-bg); - } - - &:active { - background-color: _palette($p, border2-bg); - } - } - - // Features - - .features { - li { - @include breakpoint(small) { - border-top-color: _palette($p, border); - } - } - } - -} - -/* Breadcrumb */ - -.breadcrumb { - margin: 0; - padding: 0 2em 0 1.5em; - width: 100%; - text-align: left; - vertical-align: top; - display: block; - font-size: 0.8em; - @include wrapper(accent7); - - li { - display: inline; - list-style: none; - line-height: 1em; - margin-left: 0; - padding-left: 0.3em; - &:before { - content: "\0BB \020 \020"; - } - &:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; - &:before { - content: " "; - } - } - @include breakpoint(dinky) { - border: 0; - display: block; - line-height: 0.9em; - margin: 0; - padding: 0.5em 0; - } - } -} - -.wrapper.minihead { - @include padding(1em, 0); -} - -.wrapper { - @include padding(3em, 0); //6 - - > .inner { - width: 60em; - margin: 0 auto; - - &.fullwidth { - width: 100%; - padding: 0 16px 0 16px; - } - - @include breakpoint(large) { - //width: 90%; - width: 60em; - } - - @include breakpoint(medium) { - width: 100%; - } - - } - - &.alt { - padding: 0; - } - - &.style1 { - @include wrapper(accent1); - } - - &.style2 { - background-color: _palette(bg); - } - - &.style3 { - @include wrapper(accent5); - } - - &.style4 { - background-color: transparent; - } - - &.style5 { - @include wrapper(accent7); - } - - @include breakpoint(medium) { - @include padding(4em, 3em);//4 - } - - @include breakpoint(small) { - @include padding(3em, 2em);//3 - } -} - -.author { - padding: 3px 0; - .auth-desc { - font-style: italic; - vertical-align: top; - border-left: solid 5px _palette(border-bg); - display:inline-block; - width:50%; - height:100px; - margin-left: 20px; - padding-left:20px; - - @include breakpoint(small) { - margin-left: 0px; - width: 100%; - } - } -} - -/* Page Wrapper + Menu */ - -#page-wrapper { - @include vendor('transition', 'opacity #{_duration(menu)} ease'); - opacity: 1; - padding-top: 3em; - - &:before { - background: rgba(0,0,0,0); - content: ''; - display: block; - display: none; - height: 100%; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: _misc(z-index-base) + 1; - } -} - -#menu { - @include vendor('transform', 'translateX(20em)'); - @include vendor('transition', 'transform #{_duration(menu)} ease'); - -webkit-overflow-scrolling: touch; - background: _palette(accent1, bg); - color: _palette(accent1, fg-bold); - height: 100%; - max-width: 80%; - overflow-y: auto; - padding: 3em 2em; - position: fixed; - right: 0; - top: 0; - width: 20em; - z-index: _misc(z-index-base) + 2; - - ul { - list-style: none; - padding: 0; - - > li { - border-top: solid 1px _palette(accent1, border); - margin: 0.5em 0 0 0; - padding: 0.5em 0 0 0; - font-family: _font(ctrl-family); - - &:first-child { - border-top: 0 !important; - margin-top: 0 !important; - padding-top: 0 !important; - } - - > a { - border: 0; - color: inherit; - display: block; - font-size: _font(hdr-size-xsmall); - letter-spacing: _size(letter-spacing-alt); - outline: 0; - text-decoration: none; - text-transform: uppercase; - - @include breakpoint(small) { - line-height: 3em; - } - } - } - } - - .close { - background-image: url('images/close.svg'); - background-position: 4.85em 1em; - background-repeat: no-repeat; - border: 0; - cursor: pointer; - display: block; - height: 3em; - position: absolute; - right: 0; - top: 0; - vertical-align: middle; - width: 7em; - } - - @include breakpoint(small) { - padding: 3em 1.5em; - } -} - -body.is-menu-visible { - #page-wrapper { - opacity: 0.35; - - &:before { - display: block; - } - } - - #menu { - @include vendor('transform', 'translateX(0)'); - } -} - -/* Header */ - -#header { - @include vendor('transition', 'background-color #{_duration(transitions)} ease'); - background: _palette(bg); - height: 3em; - left: 0; - line-height: 3em; - position: fixed; - top: 0; - width: 100%; - z-index: _misc(z-index-base); - - h1 { - @include vendor('transition', 'opacity #{_duration(transitions)} ease'); - height: inherit; - left: 1.25em; - line-height: inherit; - position: absolute; - top: 0; - text-transform: none; - - a { - border: 0; - display: block; - height: inherit; - line-height: inherit; - - @include breakpoint(small) { - font-size: _font(hdr-size-xsmall); - } - } - } - - nav { - height: inherit; - line-height: inherit; - position: absolute; - right: 0; - top: 0; - - > ul { - list-style: none; - margin: 0; - padding: 0; - white-space: nowrap; - - > li { - display: inline-block; - padding: 0; - - > a { - border: 0; - color: _palette(fg-bold); - display: block; - font-size: _font(hdr-size-xsmall); - letter-spacing: _size(letter-spacing-alt); - padding: 0 1.5em; - text-transform: uppercase; - - &.menuToggle { - outline: 0; - position: relative; - - &:after { - background-image: url('images/bars.svg'); - background-position: right center; - background-repeat: no-repeat; - content: ''; - display: inline-block; - height: 3.75em; - vertical-align: top; - width: 2em; - } - - @include breakpoint(small) { - padding: 0 1.5em; - - span { - display: none; - } - } - } - - @include breakpoint(small) { - padding: 0 0 0 1.5em; - } - } - - &:first-child { - margin-left: 0; - } - } - } - } - - &.alt { - background: transparent; - - h1 { - @include vendor('pointer-events', 'none'); - opacity: 0; - } - } -} - -/* Banner */ - -#banner { - @include vendor('display', 'flex'); - @include vendor('flex-direction', 'column'); - @include vendor('justify-content', 'center'); - cursor: default; - height: 100vh; - min-height: 35em; - overflow: hidden; - position: relative; - text-align: center; - - h2 { - @include vendor('transform', 'scale(1)'); -// @include vendor('transition', ('transform 0.5s ease', 'opacity 0.5s ease')); - @include vendor('transition', ('transform 0.2s ease', 'opacity 0.2s ease')); - - @include vendor('transition-delay', '0'); - display: inline-block; - font-size: 1.75em; - opacity: 1; - padding: 0.35em 1em; - position: relative; - z-index: 1; - text-transform: none; - - &:before, &:after { -// @include vendor('transition', 'width 0.85s ease'); -// @include vendor('transition-delay', '0.25s'); - @include vendor('transition', 'width 0.85s ease'); - @include vendor('transition-delay', '0'); - background: _palette(fg-bold); - content: ''; - display: block; - height: 2px; - position: absolute; - width: 100%; - } - - &:before { - top: 0; - left: 0; - } - - &:after { - bottom: 0; - right: 0; - } - } - - p { - letter-spacing: _size(letter-spacing-alt); - text-transform: uppercase; - - a { - color: inherit; - } - - margin-bottom:1em; - } - - .more { - @include vendor('transition', ('transform 0.75s ease', 'opacity 0.75s ease')); -// @include vendor('transition-delay', '3.5s'); - @include vendor('transition-delay', '0'); - @include vendor('transform', 'translateY(0)'); - border: none; - bottom: 0; - color: inherit; - font-size: 0.8em; - height: 8.5em; - left: 50%; - letter-spacing: _size(letter-spacing-alt); - margin-left: -8.5em; - opacity: 1; - outline: 0; - padding-left: _size(letter-spacing-alt); - position: absolute; - text-align: center; - text-transform: uppercase; - width: 16em; - z-index: 1; - - &:after { - background-image: url('images/arrow.svg'); - background-position: center; - background-repeat: no-repeat; - background-size: contain; - bottom: 4em; - content: ''; - display: block; - height: 1.5em; - left: 50%; - margin: 0 0 0 -0.75em; - position: absolute; - width: 1.5em; - } - } - - &:after { - @include vendor('pointer-events', 'none'); - @include vendor('transition', 'opacity #{_duration(fadein)} ease-in-out'); -// @include vendor('transition-delay', '1.25s'); - @include vendor('transition-delay', '0'); - content: ''; - background: _palette(bg); - display: block; - width: 100%; - height: 100%; - position: absolute; - left: 0; - top: 0; - opacity: 0; - } - - @include breakpoint(small) { - @include padding(7em, 3em); - height: auto; - min-height: 0; - - h2 { - font-size: 1.25em; - } - - br { - display: none; - } - - .more { - display: none; - } - } -} - -body.is-loading { - #banner { - h2 { - @include vendor('transform', 'scale(0.95)'); - opacity: 0; - - &:before, &:after { - width: 0; - } - } - - .more { - @include vendor('transform', 'translateY(8.5em)'); - opacity: 0; - } - - &:after { - opacity: 1; - } - } -} - -/* CTA */ - -#cta { - .inner { - @include vendor('display', 'flex'); - max-width: 45em; - - header { - @include vendor('order', '1'); - padding-right: 3em; - width: 70%; - - p { - color: inherit; - } - } - - .actions { - @include vendor('order', '2'); - width: 30%; - } - - @include breakpoint(medium) { - display: block; - text-align: center; - - header { - padding-right: 0; - width: 100%; - } - - .actions { - margin-left: auto; - margin-right: auto; - max-width: 20em; - width: 100%; - } - } - - @include breakpoint(small) { - .actions { - max-width: none; - } - } - } -} - -/* Articles */ - -#standard { - > header { - text-align: center; - - h2 { - font-size: _font(hdr-size-xxlarge); - margin: 0 0 (_size(element-margin) * 0.25) 0; - } - - p { - color: inherit; - letter-spacing: _size(letter-spacing-alt); - text-transform: uppercase; - top: 0; - - a { - color: inherit; - } - } - } -} - -#minihead { - > header { - @include padding(1em, 1em); - background: _palette(accent7, bg); - text-align: left; - - h2 { - font-size: _font(hdr-size-xxlarge); - margin: 0; - color: _palette(accent7, fg); - } - - p { - color: _palette(bg); - letter-spacing: _size(letter-spacing-alt); - text-transform: uppercase; - top: 0; - - a { - color: inherit; - } - } - } -} - -#main { - > header { - @include padding(12em, 0); - background-attachment: fixed; - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - text-align: center; - - h2 { - font-size: _font(hdr-size-xxlarge); - margin: 0 0 (_size(element-margin) * 0.25) 0; - } - - p { - color: inherit; - letter-spacing: _size(letter-spacing-alt); - text-transform: uppercase; - top: 0; - - a { - color: inherit; - } - } - - @include breakpoint(xlarge) { - @include padding(8em, 0); - } - - @include breakpoint(large) { - @include padding(8em, 3em); - } - - @include breakpoint(medium) { - @include padding(6em, 3em); - } - - @include breakpoint(small) { - @include padding(3em, 3em); - - h2 { - font-size: _font(hdr-size-mlarge); - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - } - } -} - -body.is-mobile { - #main { - > header { - background-attachment: scroll; - } - } -} - -/* Footer */ - -#footer { - @include padding(6em, 0); - background-color: darken(_palette(bg), 8); - text-align: center; - - .icons { - font-size: 1.5em; - - a { - color: _palette(fg-light); - - &:hover { - color: _palette(fg); - } - } - } - - .copyright { - color: _palette(fg-light); - font-size: 0.8em; - letter-spacing: _size(letter-spacing-alt); - list-style: none; - padding: 0; - text-transform: uppercase; - - li { - border-left: solid 1px _palette(fg-light); - display: inline-block; - line-height: 1em; - margin-left: 1em; - padding-left: 1em; - - &:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; - } - - a { - color: inherit; - - &:hover { - color: _palette(fg); - } - } - - @include breakpoint(xsmall) { - border: 0; - display: block; - line-height: 1.65em; - margin: 0; - padding: 0.5em 0; - } - } - } - - @include breakpoint(medium) { - @include padding(4em, 3em); - } - - @include breakpoint(small) { - @include padding(3em, 2em); - } -} - -/* Landing */ - -body.landing { - #page-wrapper { - background-attachment: fixed; - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - padding-top: 0; - } - - #footer { - background-color: darken(transparentize(_palette(bg), 0.1), 8); - } -} - -body.is-mobile { - &.landing { - #page-wrapper { - background: none; - } - - #banner, - .wrapper.style4 { - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - } - - #footer { - background-color: darken(_palette(bg), 8); - } - } -} - -/* tags */ -.techlist { - margin: 0; - padding: 0; - width: 100%; - text-align: left; - vertical-align: top; - - li { - vertical-align: top; - display: inline-block; - border-radius: 4px; - list-style: none; - background: _palette(accent6,fg); - padding: 0 6px 0 6px; - margin: 0 4px 10px 0; - } - - .tech { - font-family: _font(ctrl-family); - font-size: _font(ctrl-size-xsmall); - } -} -.inner > .techlist { - margin-bottom: 2em; -} - -/* back/next links in works */ - -.backnext { - width: 100%; - padding: 6px; - text-align: center; - vertical-align: baseline; - - &.bntop { - margin: 0 0 16px 0; - } - &.bnbottom { - margin: 16px 0 0 0; - } - - @include breakpoint(small) { - padding-left: 0; - } - - .back { - text-align: right; - margin-right: 6px; - - @include breakpoint(small) { - margin-bottom: 9px; - } - } - .next { - text-align: left; - margin-left: 6px; - } - .back, .next { - width: 40%; - display: inline-block; - - @include breakpoint(small) { - display: block; - width: 100%; - text-align: center; - margin-left: 0; - margin-right: 0; - } - } - .bpointer, .npointer { - > a { - text-decoration: none; - } - } - .btitle { - font-family: _font(prose-family); - padding-right: 36px; - @include breakpoint(small) { - padding-right: 0; - } - } - .ntitle { - font-family: _font(prose-family); - padding-left: 32px; - @include breakpoint(small) { - padding-left: 0; - } - } -} - -.nobullet { list-style-type: none; } - -.works_inprogress { - font-family: _font(prose-family); - width:100%; - text-align:center; - margin-bottom:16px; -} - -.emailme { - input[type='text'] { - display: inline; - font-size: 0.8em; - width: 140px; - line-height: 3.125em; - height: 3.125em; - } - - input[type='submit'] { - padding-left:10px; - padding-right:10px; - background-color: #D65323; - letter-spacing: normal; - } -} - -#what-is-imageflow { - margin-bottom:0; -} - - - - -#greeting p { - font-size: 1.2em; - line-height: 1.5em; - border-image: none; -} -#greeting h4{ - font-size:1.4em; - margin-bottom:1em; - margin-top:0em; - padding:0; - border: none; - border-image: none; -} - -ul.actions_vertical li{ - display:block; - text-align:center; - vertical-align: default; - padding:0; - margin:0; -} - -{% if site.custom_extensions == 'yes' %} -{% include _my/custom.scss %} -{% endif %} - diff --git a/css/syntax-highlighting.css b/css/syntax-highlighting.css deleted file mode 100644 index 9cd516a..0000000 --- a/css/syntax-highlighting.css +++ /dev/null @@ -1,63 +0,0 @@ -/* The Pygments "friendly" theme */ -/* .highlighter-rouge { background: #eeeeee; } */ -.highlight .hll { background-color: #ffffcc } -.highlight .c { color: #60a0b0; font-style: italic } /* Comment */ -.highlight .err { border: 1px solid #FF0000 } /* Error */ -.highlight .k { color: #007020; font-weight: bold } /* Keyword */ -.highlight .o { color: #666666 } /* Operator */ -.highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #007020 } /* Comment.Preproc */ -.highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */ -.highlight .gd { color: #A00000 } /* Generic.Deleted */ -.highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #FF0000 } /* Generic.Error */ -.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ -.highlight .gi { color: #00A000 } /* Generic.Inserted */ -.highlight .go { color: #808080 } /* Generic.Output */ -.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ -.highlight .gs { font-weight: bold } /* Generic.Strong */ -.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ -.highlight .gt { color: #0040D0 } /* Generic.Traceback */ -.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ -.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ -.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ -.highlight .kp { color: #007020 } /* Keyword.Pseudo */ -.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ -.highlight .kt { color: #902000 } /* Keyword.Type */ -.highlight .m { color: #40a070 } /* Literal.Number */ -.highlight .s { color: #4070a0 } /* Literal.String */ -.highlight .na { color: #4070a0 } /* Name.Attribute */ -.highlight .nb { color: #007020 } /* Name.Builtin */ -.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ -.highlight .no { color: #60add5 } /* Name.Constant */ -.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ -.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ -.highlight .ne { color: #007020 } /* Name.Exception */ -.highlight .nf { color: #06287e } /* Name.Function */ -.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ -.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ -.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ -.highlight .nv { color: #bb60d5 } /* Name.Variable */ -.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ -.highlight .w { color: #bbbbbb } /* Text.Whitespace */ -.highlight .mf { color: #40a070 } /* Literal.Number.Float */ -.highlight .mh { color: #40a070 } /* Literal.Number.Hex */ -.highlight .mi { color: #40a070 } /* Literal.Number.Integer */ -.highlight .mo { color: #40a070 } /* Literal.Number.Oct */ -.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ -.highlight .sc { color: #4070a0 } /* Literal.String.Char */ -.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ -.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ -.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ -.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ -.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ -.highlight .sx { color: #c65d09 } /* Literal.String.Other */ -.highlight .sr { color: #235388 } /* Literal.String.Regex */ -.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ -.highlight .ss { color: #517918 } /* Literal.String.Symbol */ -.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ -.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ -.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ -.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ -.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/css/vendor/disqus.css b/css/vendor/disqus.css deleted file mode 100644 index 20e3dd4..0000000 --- a/css/vendor/disqus.css +++ /dev/null @@ -1,3 +0,0 @@ -.disqus { - margin-top: 0; -} diff --git a/_pages/benchmarks.md b/docs/benchmark.md similarity index 97% rename from _pages/benchmarks.md rename to docs/benchmark.md index 8ece25c..2a3d083 100644 --- a/_pages/benchmarks.md +++ b/docs/benchmark.md @@ -1,10 +1,5 @@ --- -key: 11 title: Benchmarks -permalink: /benchmarks/ -options: nolanding -excerpt: Benchmark Imageflow with YOUR data. - --- ## 2020 Benchmarks @@ -56,6 +51,6 @@ Until my Xeon workstation is back online, I can't produce perfectly accurate ben The two input images are [5104x3380](https://s3-us-west-2.amazonaws.com/imageflow-resources/test_inputs/u1.jpg) and [4000x2590](https://s3-us-west-2.amazonaws.com/imageflow-resources/test_inputs/u6.jpg). Each is downscaled to a 400px wide jpeg in the linear light space. -![](/images/bench1.png) +![](/img/bench1.png) This is just one benchmark, and it's quite possible that it's flawed. So far, none of our experiments have shown Imageflow to be slower than libvips or ImageMagick, but it may likewise be unreasonable to assume a 17x speedup across the board. diff --git a/_pages/licensing.md b/docs/licensing.md similarity index 91% rename from _pages/licensing.md rename to docs/licensing.md index a358977..0debe9e 100644 --- a/_pages/licensing.md +++ b/docs/licensing.md @@ -1,10 +1,5 @@ --- -key: 4 title: Licensing -permalink: /licensing/ -options: nolanding -excerpt: How licensing works - --- diff --git a/_includes/home.md b/docs/main.md similarity index 83% rename from _includes/home.md rename to docs/main.md index 4d08388..d1e644d 100644 --- a/_includes/home.md +++ b/docs/main.md @@ -1,26 +1,28 @@ -## Faster websites and apps +--- +title: Faster websites and apps +--- -Serving optimized and correctly sized images is the fastest way to a quicker, more profitable site or app. 60% of website bytes are from images<sup>[1]</sup>. +Serving optimized and correctly sized images is the fastest way to a quicker, more profitable site or app. 60% of website bytes are from images<sup>[1]</sup>. Imageflow edits and optimizes images so quickly you can do it on-demand. No need to manually generate every size/format combination of every image. If you're using ImageMagick, switch to `imageflow_tool` and get higher-quality images with smaller file sizes — up to [17x faster](https://github.com/imazen/imageflow/tree/master/docker/imageflow_bench_ubuntu20#imageflow-benchmarking-image-based-on-ubuntu-2004). -Most people prefer on-demand image processing, as it greatly simplifies web development. +Most people prefer on-demand image processing, as it greatly simplifies web development. -<div style="background-color:white;"> +<div > <img src="https://www.imageflow.io/images/imageflow-responsive.svg" alt=""/> <img src="https://www.imageflow.io/images/edit-url.gif" alt="url editing" /> </div> -<span style="font-size:60%"><sup>[1]</sup>According to the HTTP Archive, 60% of the data transferred to fetch a web page is images composed of JPEGs, PNGs and GIFs.</span> +<span><sup>[1]</sup>According to the HTTP Archive, 60% of the data transferred to fetch a web page is images composed of JPEGs, PNGs and GIFs.</span> ## What else can it do? Imageflow can automatically crop away whitespace, apply sharpening, fix white balance, add watermarks, adjust contrast/saturation/brightness, make images transparent or opaque, rotate, flip, crop, resize, constrain, smart encode, and [more](https://docs.imageflow.io/). -All operations are designed to be fast enough for on-demand use. +All operations are designed to be fast enough for on-demand use. -[Imageflow.NET Server](https://github.com/imazen/imageflow-dotnet-server) and [imageflow-server](https://github.com/imazen/imageflow) allow you to add a [query string command](https://docs.imageflow.io/querystring/introduction.html) to the end of image URLs, which allows for remarkable sophisticated processing. +[Imageflow.NET Server](https://github.com/imazen/imageflow-dotnet-server) and [imageflow-server](https://github.com/imazen/imageflow) allow you to add a [query string command](https://docs.imageflow.io/querystring/introduction.html) to the end of image URLs, which allows for remarkable sophisticated processing. ## See the difference @@ -30,6 +32,6 @@ Unlike most image processing tools, Imageflow processing images in linear light. ## License -Imageflow is 100% Open Source Software. You can use it freely under the terms of the [AGPLv3](https://www.gnu.org/licenses/agpl-3.0.en.html). +Imageflow is 100% Open Source Software. You can use it freely under the terms of the [AGPLv3](https://www.gnu.org/licenses/agpl-3.0.en.html). -We also offer [commercial licenses](https://imageresizing.net/pricing) if you do not like the AGPLv3. \ No newline at end of file +We also offer [commercial licenses](https://imageresizing.net/pricing) if you do not like the AGPLv3. diff --git a/_includes/more.md b/docs/more.md similarity index 84% rename from _includes/more.md rename to docs/more.md index e12c27f..cb8a23d 100644 --- a/_includes/more.md +++ b/docs/more.md @@ -1,30 +1,31 @@ - - -## What is imageflow? +--- +title: What is imageflow? +slug: /imageflow +--- **Imageflow is open-source software which scales, edits, and optimizes images.** -Unlike most tools, it does *not* have a visual interface; it is designed to be embedded into software like Wordpress, Ebay, Craigslist, or Facebook. +Unlike most tools, it does _not_ have a visual interface; it is designed to be embedded into software like Wordpress, Ebay, Craigslist, or Facebook. -**libimageflow can be used directly over [FFI](https://en.wikipedia.org/wiki/Foreign_function_interface) by any mainstream language**. The second component, imageflow-server, speaks HTTP – and any networked device can use it. A human can use it from their web browser by adding `?width=200` to the image URL (or any of 30 other commands). +**libimageflow can be used directly over [FFI](https://en.wikipedia.org/wiki/Foreign_function_interface) by any mainstream language**. The second component, imageflow-server, speaks HTTP – and any networked device can use it. A human can use it from their web browser by adding `?width=200` to the image URL (or any of 30 other commands). -**libimageflow has ~10x the throughput of [ImageMagick](https://www.imagemagick.org), yet puts security first**. It is correct, fast, and has an evolvable JSON API. Imageflow doesn't try to be ImageMagick; it supports only the core image operations and web-safe image formats needed by most applications and websites. This focus allows libimageflow to have a tiny and auditable codebase. Unsandboxed ImageMagick is an unacceptable liability for any kind of business. +**libimageflow has ~10x the throughput of [ImageMagick](https://www.imagemagick.org), yet puts security first**. It is correct, fast, and has an evolvable JSON API. Imageflow doesn't try to be ImageMagick; it supports only the core image operations and web-safe image formats needed by most applications and websites. This focus allows libimageflow to have a tiny and auditable codebase. Unsandboxed ImageMagick is an unacceptable liability for any kind of business. -libimageflow's stateless FFI-friendly API can work with even the most troublesome multi-tenant host languages, and [is tested daily on Linux, Mac, and Windows](https://github.com/imazen/imageflow) with [Travis](https://travis-ci.org)+[Conan](https://conan.io), and [AppVeyor](https://appveyor.com)+Conan. libimageflow uses [Conan for consuming and prouducing native packages](https://conan.io), but we will also publish precompiled binaries for those 3 platforms. Initial bindings will include Ruby and Node, with C# and PHP support planned. +libimageflow's stateless FFI-friendly API can work with even the most troublesome multi-tenant host languages, and [is tested daily on Linux, Mac, and Windows](https://github.com/imazen/imageflow) with [Travis](https://travis-ci.org)+[Conan](https://conan.io), and [AppVeyor](https://appveyor.com)+Conan. libimageflow uses [Conan for consuming and prouducing native packages](https://conan.io), but we will also publish precompiled binaries for those 3 platforms. Initial bindings will include Ruby and Node, with C# and PHP support planned. -**imageflow-server exposes a REST API** – an image URL followed by a simple querystring of commands, like `http://server/prefix/image.jpg?width=200&sharpen=30` You can map prefixes to different backend storage locations, like S3 or other HTTP servers. If you've been putting off moving to responsive images, [imageflow-server](https://www.imageflow.io) will help make the transition painless. [ImageResizer](https://imageresizing.net) already solves this for Windows servers, but is highly coupled to Windows APIs. imageflow-server will run on Linux, Mac, *and* Windows. +**imageflow-server exposes a REST API** – an image URL followed by a simple querystring of commands, like `http://server/prefix/image.jpg?width=200&sharpen=30` You can map prefixes to different backend storage locations, like S3 or other HTTP servers. If you've been putting off moving to responsive images, [imageflow-server](https://www.imageflow.io) will help make the transition painless. [ImageResizer](https://imageresizing.net) already solves this for Windows servers, but is highly coupled to Windows APIs. imageflow-server will run on Linux, Mac, _and_ Windows. **imageflow-server offers a JSON API** – You can POST a JSON operation list or graph along with multiple inputs and outputs, and the results are returned to you. libimageflow can accurately predict the cost for any operation, which permits ideal work redistribution and load balancing. We designed imageflow with petabyte image collections in mind. ---- +--- ## Image management is problematic --------------- +--- #### Tragick Security -Image toolkits and codecs are a notorious exploitation vector. Until a few weeks ago, ImageMagick would execute bash commands written in URLs inside .svg files. +Image toolkits and codecs are a notorious exploitation vector. Until a few weeks ago, ImageMagick would execute bash commands written in URLs inside .svg files. ImageMagick is intended to be used in a sandbox. In practice, it is most often run by privileged server accounts. A recent string of vulnerabilities in ImageMagick was given the [ImageTragick](https://imagetragick.com) moniker to raise awareness prior to the hacking of many sites. **Solution** Imageflow puts security first by retaining a small and testable codebase, being cautious with dependencies, and making Coverity scans and Valgrind testing an automated part of the development process. @@ -42,8 +43,7 @@ Images make up the majority of bytes on most websites. Images usually average 2- Imageflow focuses on a smaller set of highly tuned codecs, and should outperform ImageMagick by a significant margin across all file types. We're seeking licensing agreements for libimagequant and other best-in-class algorithms as well. #### Slow Processing + Basic ImageMagick operations can take seconds per image. For on-demand imaging in ecommerce, there's a hard latency ceiling before you start losing customers, and it's a far lower than 1500ms. **Solution** There's no valid reason your web server can't deliver image quality on par with Adobe Lightroom, and do so in **8 to 200 milliseconds.** Imageflow enables that scenario. We don't need to shy away from on-the-fly image processing; we just need to focus on it and invest in our tools. - - diff --git a/_includes/platforms.md b/docs/platforms.md similarity index 93% rename from _includes/platforms.md rename to docs/platforms.md index bc1590d..b4be77e 100644 --- a/_includes/platforms.md +++ b/docs/platforms.md @@ -1,24 +1,29 @@ -## For your platform +--- +title: For your platform +--- Imageflow supports **Windows, macOS, and Linux**. The command-line tool, server, and libimageflow can be downloaded [here](https://github.com/imazen/imageflow/releases). Click the top release, then click Assets to show the packages for each platform. ## By language + All language bindings support Windows, macOS, and Linux. #### .NET Core and .NET 5 + [Imageflow .NET Server](https://github.com/imazen/imageflow-dotnet-server) supports S3 and Azure blob storage, offers fast memory/distributed/disk caching, and is our most flexible image server. -[Imageflow .NET](https://github.com/imazen/imageflow-dotnet) offers a fluent image API that can be used from any .NET Standard 2.0 language. +[Imageflow .NET](https://github.com/imazen/imageflow-dotnet) offers a fluent image API that can be used from any .NET Standard 2.0 language. #### .NET Standard — [Imageflow .NET](https://github.com/imazen/imageflow-dotnet) -— + #### Node.js — [imageflow-node](https://github.com/imazen/imageflow-node) -— + #### Golang — [imageflow-go](https://github.com/imazen/imageflow-go) -— + #### Ruby — [imageflow-ruby](https://github.com/imazen/imageflow-ruby) -— + #### Other languages -We suggest calling the `imageflow_tool` command-line program, or collaborating with us on bindings for your language (they're quite easy to make). + +We suggest calling the `imageflow_tool` command-line program, or collaborating with us on bindings for your language (they're quite easy to make). Please reach out to us via Twitter [@imageflow_io](https://twitter.com/imageflow_io), email [support@imazen.io](mailto:support@imazen.io), or [Github](https://github.com/imazen/imageflow). diff --git a/_pages/pledges.md b/docs/pledges.md similarity index 97% rename from _pages/pledges.md rename to docs/pledges.md index bee264b..e0c3efd 100644 --- a/_pages/pledges.md +++ b/docs/pledges.md @@ -1,10 +1,5 @@ --- -key: 10 title: Our Pledges -permalink: /our_pledges/ -options: nolanding -excerpt: Our pledges to you - --- diff --git a/docs/resizer.md b/docs/resizer.md new file mode 100644 index 0000000..fc88cfa --- /dev/null +++ b/docs/resizer.md @@ -0,0 +1,20 @@ +--- + +title: ImageResizer + +--- + + <div className="row"> + <div className="6u 12u(medium)" style={{"-webkit-text-align":"center","text-align":"center"}}><p><img alt="Imageflow" src="https://www.imageflow.io/images/imageflow.svg" width={200} /></p><p><img src="https://img.shields.io/badge/status-in%20development-green.svg" /> <img src="https://img.shields.io/badge/OS-Windows, Linux, Mac-green.svg" /> <img src="https://img.shields.io/badge/embeddable by-all C compatible languages-green.svg" /> <img src="https://img.shields.io/badge/official bindings-C%23%2fNode%2fRuby%2fRust and .NET Core-green.svg" /> <img src="https://img.shields.io/badge/REST APIs-JSON API, Querystring API-green.svg" /> <img src="https://img.shields.io/badge/web server-built%20in-green.svg" /> <img src="https://img.shields.io/badge/codecs-OSS+custom-green.svg" /> <img src="https://img.shields.io/badge/file sizes-world class-green.svg" /> <img src="https://img.shields.io/badge/performance-unparalleled-green.svg" /> <img src="https://img.shields.io/badge/color profiles-correct-green.svg" /> <img src="https://img.shields.io/badge/built with-Rust, C11, C++-green.svg" /> <img src="https://img.shields.io/badge/components-separate libimageflow.dll, imageflow_server.exe-green.svg" /> <img src="https://img.shields.io/badge/rendering engine-custom-green.svg" /></p> + <a href="https://www.imageflow.io">Imageflow</a> makes a <a href="http://www.imageflow.io/imageresizer/">cross-platform ImageResizer 5 possible</a>. If you have <a href="https://www.kickstarter.com/projects/njones/imageflow-respect-the-pixels-a-secure-alt-to-image">backed Imageflow on Kickstarter</a>, you can already <a href="https://www.kickstarter.com/projects/njones/imageflow-respect-the-pixels-a-secure-alt-to-image/posts/1598662">access a limited command-line version of the tool</a>. + </div> + <div className="6u 12u(medium) " style={{"-webkit-text-align":"center","text-align":"center"}}><p><img alt="Imageresizer" src="https://imageresizing.net/img/ir-logos/imageresizer_00AEC4_transparent.svg" width={200} /></p><p><img src="https://img.shields.io/badge/status-highly%20stable-green.svg" /> <img src="https://img.shields.io/badge/OS-Windows%20Server-green.svg" /> <img src="https://img.shields.io/badge/embeddable by-C%23%2FF%23%2FVB.NET except .NET Core-green.svg" /> <img src="https://img.shields.io/badge/bindings-C%23-green.svg" /> <img src="https://img.shields.io/badge/REST APIs-Querystring API-green.svg" /> <img src="https://img.shields.io/badge/web server-IIS-green.svg" /> <img src="https://img.shields.io/badge/codecs-Windows APIs-green.svg" /> <img src="https://img.shields.io/badge/file sizes-decent-green.svg" /> <img src="https://img.shields.io/badge/performance-good-green.svg" /> <img src="https://img.shields.io/badge/color profiles-limited by Windows-green.svg" /> <img src="https://img.shields.io/badge/built with-C%23,F%23,C++/CLI,C89-green.svg" /> <img src="https://img.shields.io/badge/components-combined server, client, and library-green.svg" /> <img src="https://img.shields.io/badge/rendering engine-GDI+ (free) / custom (with Performance license)-green.svg" /></p><p> + </p><div style={{"margin-top":"4em"}}> ImageResizer is the best image server for ASP.NET. It can be dropped into existing apps and works alongside your CMS or existing platform to eliminate manual image tasks, enable fast and adaptive websites, and improve your sales by reducing page load time. </div> <p /></div> + </div> + <div style={{"margin-top":"2em"}}> </div> + **Imageflow is open-source software which scales, edits, and optimizes images.** It's similar to [ImageResizer](https://imageresizing.net), but faster and is not bound to the Windows API. Imageflow supports Linux, Mac, and Windows – and can be used from [any programming language](/images/imageflow-features.svg). + **Imageflow tackles image optimization – expect smaller images, faster website load times, and increased sales.** + Imageflow-server will offer a REST Querystring API like ImageResizer, but will also include a REST JSON API so you can perform complex operations on an arbitrary number of images. **It will be easier to deploy, manage, and communicate with.** + **Imageflow is ImageResizer's future.** Without it, ImageResizer can't become cross-platform, run on .NET Core, or be deployed on Windows Server Core. + ![](/img/imageresizer-imageflow.svg) ![](/img/bench1.png) + After we deliver Imageflow, we'll turn our attention to ImageResizer 5, which will become a thin compatibility layer over Imageflow. If you want Imageflow's benefits sooner, consider adopting Imageflow directly as it reaches a stable phase. diff --git a/docusaurus.config.js b/docusaurus.config.js new file mode 100644 index 0000000..88a8d81 --- /dev/null +++ b/docusaurus.config.js @@ -0,0 +1,186 @@ +const nodeVersion = require("./imageflow-node_versions.json"); +module.exports = { + title: "Imageflow", + tagline: "Imaging at scale", + url: "https://imageflow.io", + baseUrl: "/", + onBrokenLinks: "throw", + favicon: "img/imazen.png", + organizationName: "imazen", + projectName: "imageflow-web", + themeConfig: { + navbar: { + logo: { + alt: "Imageflow Logo", + src: "img/imageflow.svg", + srcDark: "img/imageflow-white.svg", + }, + items: [ + { + href: "https://github.com/imazen/", + label: "GitHub", + position: "left", + }, + { + to: "/about/main", + label: "Docs", + position: "left", + }, + { + to: "/demo/", + label: "Demo", + position: "left", + }, + { + label: "More", + position: "left", + items: [ + { + label: "ImageFlow Nodejs", + to: "imageflow-node", + }, + { + label: "ImageFlow Golang", + to: "imageflow-go", + }, + { + label: "ImageFlow Ruby", + to: "imageflow-ruby", + }, + { + label: "ImageFlow DotNet Server", + to: "imageflow-dotnet-server", + }, + { + label: "ImageFlow DotNet", + to: "imageflow-net", + }, + { + label: "Libimageflow", + to: "libimageflow", + }, + // ... more items + ], + }, + ], + }, + footer: { + style: "dark", + links: [ + { + title: "Links", + items: [ + { + label: "imageflow-node", + to: "/imageflow-node/modules/_index_", + }, + { + label: "Licensing", + to: "/about/licensing", + }, + { + label: "Pledges", + to: "/about/pledges", + }, + ], + }, + { + title: "Community", + items: [ + { + label: "Stack Overflow", + href: "https://stackoverflow.com/questions/tagged/imageflow", + }, + { + label: "Twitter", + href: "https://twitter.com/imazenllc", + }, + ], + }, + { + title: "More", + items: [ + { + label: "Blog", + to: "blog", + }, + { + label: "GitHub", + href: "https://github.com/imazen/imaflow", + }, + ], + }, + ], + copyright: `Copyright © ${new Date().getFullYear()} Imazen, Inc. Built with Docusaurus.`, + }, + }, + plugins: [ + [ + "@docusaurus/plugin-content-docs", + { + id: "imageflow-node", + path: "imageflow-node", + routeBasePath: "imageflow-node", + sidebarPath: require.resolve("./imageflow-node/sidebars.js"), + }, + ], + [ + "@docusaurus/plugin-content-docs", + { + id: "imageflow-go", + path: "imageflow-go", + routeBasePath: "imageflow-go", + }, + ], + [ + "@docusaurus/plugin-content-docs", + { + id: "imageflow-ruby", + path: "imageflow-ruby", + routeBasePath: "imageflow-ruby", + }, + ], + [ + "@docusaurus/plugin-content-docs", + { + id: "imageflow-net", + path: "imageflow-net", + routeBasePath: "imageflow-net", + }, + ], + [ + "@docusaurus/plugin-content-docs", + { + id: "imageflow-dotnet-server", + path: "imageflow-dotnet-server", + routeBasePath: "imageflow-dotnet-server", + }, + ], + [ + "@docusaurus/plugin-content-docs", + { + id: "libimageflow", + path: "libimageflow", + routeBasePath: "libimageflow", + sidebarPath: require.resolve("./libimageflow/sidebars.js"), + }, + ], + ], + presets: [ + [ + "@docusaurus/preset-classic", + { + docs: { + sidebarPath: require.resolve("./sidebars.js"), + routeBasePath: "/about", + }, + blog: { + showReadingTime: true, + }, + theme: { + customCss: require.resolve("./src/css/custom.css"), + }, + }, + ], + ], +}; diff --git a/feed.xml b/feed.xml deleted file mode 100644 index 687e73a..0000000 --- a/feed.xml +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: null ---- -<?xml version="1.0" encoding="UTF-8"?> -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>{{ site.title | xml_escape }} - {{ site.description | replace: '
    ', ', ' | strip_html | xml_escape }}
    - {{ site.url }}{{ site.baseurl }}/ - - {{ site.time | date_to_rfc822 }} - {{ site.time | date_to_rfc822 }} - Jekyll v{{ jekyll.version }} - {% for post in site.posts limit:10 %} - - {{ post.title | xml_escape }} - {{ post.content | xml_escape }} - {{ post.date | date_to_rfc822 }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {% for tag in post.tags %} - {{ tag | xml_escape }} - {% endfor %} - {% for cat in post.categories %} - {{ cat | xml_escape }} - {% endfor %} - - {% endfor %} - - diff --git a/fonts/FontAwesome.otf b/fonts/FontAwesome.otf deleted file mode 100644 index 681bdd4..0000000 Binary files a/fonts/FontAwesome.otf and /dev/null differ diff --git a/fonts/fontawesome-webfont.eot b/fonts/fontawesome-webfont.eot deleted file mode 100644 index a30335d..0000000 Binary files a/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/fonts/fontawesome-webfont.svg b/fonts/fontawesome-webfont.svg deleted file mode 100644 index 6fd19ab..0000000 --- a/fonts/fontawesome-webfont.svg +++ /dev/null @@ -1,640 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fonts/fontawesome-webfont.ttf b/fonts/fontawesome-webfont.ttf deleted file mode 100644 index d7994e1..0000000 Binary files a/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/fonts/fontawesome-webfont.woff b/fonts/fontawesome-webfont.woff deleted file mode 100644 index 6fd4ede..0000000 Binary files a/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/fonts/fontawesome-webfont.woff2 b/fonts/fontawesome-webfont.woff2 deleted file mode 100644 index 5560193..0000000 Binary files a/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/html5up_LICENSE.txt b/html5up_LICENSE.txt deleted file mode 100644 index 856b578..0000000 --- a/html5up_LICENSE.txt +++ /dev/null @@ -1,63 +0,0 @@ -Creative Commons Attribution 3.0 Unported -http://creativecommons.org/licenses/by/3.0/ - -License - -THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. - -BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. - -1. Definitions - - 1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. - 2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License. - 3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. - 4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. - 5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. - 6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. - 7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. - 8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. - 9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. - -2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. - -3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: - - 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; - 2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; - 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, - 4. to Distribute and Publicly Perform Adaptations. - 5. - - For the avoidance of doubt: - 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; - 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, - 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. - -The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. - -4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: - - 1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested. - 2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. - 3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. - -5. Representations, Warranties and Disclaimer - -UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - -6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. Termination - - 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. - 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. - -8. Miscellaneous - - 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. - 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. - 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. - 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. - 6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. diff --git a/html5up_README.txt b/html5up_README.txt deleted file mode 100644 index 7fdc003..0000000 --- a/html5up_README.txt +++ /dev/null @@ -1,52 +0,0 @@ -Spectral by HTML5 UP -html5up.net | @n33co -Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) - - -A big, modern, blocky affair with a mobile-style menu, fully responsive styling, -and an assortment of pre-styled elements. So, pretty much what you were expecting --- except, of course, for how it's put together, specifically: - -- It's built on Skel 3*, a leaner, more modular rewrite of my responsive framework. - - (* = still in development as of this writing) - -- It uses flexbox*, which eliminates all kinds of terrible hacks and clunky layout - stopgaps (like CSS grid systems). - - (* = not supported on IE8/9, but non-flexbox fallbacks are included) - -- It uses Sass* a lot more intelligently, thanks in part to several new mixins - and functions I've been working on (as well as a few by @HugoGiraudel). - - (* = still entirely optional if you prefer vanilla CSS :) - -- A ton of other stuff. - -In short, Spectral's the culmination of several new things I'm working on/trying out, -so please, let me know what you think :) - -Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images -you can use for pretty much whatever. - -(* = not included) - -AJ -n33.co @n33co dribbble.com/n33 - - -Credits: - - Demo Images: - Unsplash (unsplash.com) - - Icons: - Font Awesome (fortawesome.github.com/Font-Awesome) - - Other: - jQuery (jquery.com) - html5shiv.js (@afarkas @jdalton @jon_neal @rem) - background-size polyfill (github.com/louisremi) - Misc. Sass functions (@HugoGiraudel) - Respond.js (j.mp/respondjs) - Skel (skel.io) \ No newline at end of file diff --git a/image b/image new file mode 100644 index 0000000..e69de29 diff --git a/imageflow-dotnet-server/images.jpg b/imageflow-dotnet-server/images.jpg new file mode 100644 index 0000000..63063a6 Binary files /dev/null and b/imageflow-dotnet-server/images.jpg differ diff --git a/imageflow-dotnet-server/index.md b/imageflow-dotnet-server/index.md new file mode 100644 index 0000000..db4beda --- /dev/null +++ b/imageflow-dotnet-server/index.md @@ -0,0 +1,6 @@ +--- +id: doc1 +title: Style Guide +sidebar_label: Style Guide +slug: / +--- \ No newline at end of file diff --git a/_pages/related_projects.md b/imageflow-dotnet-server/related_project.md similarity index 98% rename from _pages/related_projects.md rename to imageflow-dotnet-server/related_project.md index 1a89b74..fb9fae0 100644 --- a/_pages/related_projects.md +++ b/imageflow-dotnet-server/related_project.md @@ -1,10 +1,5 @@ --- -key: 199 title: Related Projects -permalink: /related_projects/ -options: nolanding -excerpt: What else is out there? - --- ### [libvips](https://github.com/jcupitt/libvips) diff --git a/imageflow-go/index.md b/imageflow-go/index.md new file mode 100644 index 0000000..b93503e --- /dev/null +++ b/imageflow-go/index.md @@ -0,0 +1,47 @@ +--- +title: Introduction +slug: / +--- + +Quickly scale or modify images and optimize them for the web. + +If the AGPLv3 does not work for you, you can get a commercial license on a sliding scale. If you have more than 1 server doing image processing your savings should cover the cost. + +Docs are [here](https://pkg.go.dev/github.com/imazen/imageflow-go) + +## Installation + +Imageflow dependents on `libimageflow` for image processing capabilities. `libimageflow` is available as the static and dynamic shared library on Linux and macOS. Currently `libimageflow` is available as a dynamic library for Windows. Prebuilt shared libraries are available [here](https://github.com/imazen/imageflow/releases). Add `libimageflow`to OS path. Then it can be downloaded using`go get`. + +```bash +$ go get github.com/imazen/imageflow-go +``` + +## Usage + +A simple go program to create two image of different size. + +```go +package main; + +import ( + "io/ioutil" + + imageflow "github.com/imazen/imageflow-go" +) + +func main(){ + step:=imageflow.NewStep() + data,_:=step + .Decode(imageflow.NewURL("https://jpeg.org/images/jpeg2000-home.jpg")) + .Branch(func(step *imageflow.Steps){ + step + .ConstrainWithin(200,200) + .Encode(imageflow.NewFile("test_1.jpg"),imageflow.MozJPEG{}) + }).ConstrainWithin(400,400) + .Encode(imageflow.GetBuffer("test"),imageflow.MozJPEG{}) + .Execute() + ioutil.WriteFile("test_2.jpeg",data["test"],0644) +} + +``` diff --git a/imageflow-net/index.md b/imageflow-net/index.md new file mode 100644 index 0000000..db4beda --- /dev/null +++ b/imageflow-net/index.md @@ -0,0 +1,6 @@ +--- +id: doc1 +title: Style Guide +sidebar_label: Style Guide +slug: / +--- \ No newline at end of file diff --git a/imageflow-node/classes/_job_.nativejob.md b/imageflow-node/classes/_job_.nativejob.md new file mode 100644 index 0000000..cfe6110 --- /dev/null +++ b/imageflow-node/classes/_job_.nativejob.md @@ -0,0 +1,139 @@ +--- +id: "_job_.nativejob" +title: "NativeJob" +sidebar_label: "NativeJob" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["job"](../modules/_job_.md) › [NativeJob](_job_.nativejob.md) + +## Hierarchy + +* **NativeJob** + +## Index + +### Constructors + +* [constructor](_job_.nativejob.md#constructor) + +### Properties + +* [inUse](_job_.nativejob.md#private-inuse) +* [internalJob](_job_.nativejob.md#private-internaljob) + +### Methods + +* [addInputBytes](_job_.nativejob.md#addinputbytes) +* [addOutputBuffer](_job_.nativejob.md#addoutputbuffer) +* [getOutputBufferBytes](_job_.nativejob.md#getoutputbufferbytes) +* [message](_job_.nativejob.md#message) +* [messageSync](_job_.nativejob.md#messagesync) + +## Constructors + +### constructor + +\+ **new NativeJob**(): *[NativeJob](_job_.nativejob.md)* + +*Defined in [job.ts:5](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L5)* + +**Returns:** *[NativeJob](_job_.nativejob.md)* + +## Properties + +### `Private` inUse + +• **inUse**: *boolean* + +*Defined in [job.ts:4](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L4)* + +___ + +### `Private` internalJob + +• **internalJob**: *[JobType](../interfaces/_native_.jobtype.md)* + +*Defined in [job.ts:5](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L5)* + +## Methods + +### addInputBytes + +▸ **addInputBytes**(`ioId`: number, `bytes`: ArrayBuffer): *void* + +*Defined in [job.ts:11](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L11)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | +`bytes` | ArrayBuffer | + +**Returns:** *void* + +___ + +### addOutputBuffer + +▸ **addOutputBuffer**(`ioId`: number): *void* + +*Defined in [job.ts:27](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L27)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *void* + +___ + +### getOutputBufferBytes + +▸ **getOutputBufferBytes**(`ioId`: number): *ArrayBuffer* + +*Defined in [job.ts:19](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L19)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *ArrayBuffer* + +___ + +### message + +▸ **message**(`endPoint`: string, `tasks`: string): *Promise‹string›* + +*Defined in [job.ts:35](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L35)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *Promise‹string›* + +___ + +### messageSync + +▸ **messageSync**(`endPoint`: string, `tasks`: string): *string* + +*Defined in [job.ts:46](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L46)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *string* diff --git a/imageflow-node/classes/_json_.graph.md b/imageflow-node/classes/_json_.graph.md new file mode 100644 index 0000000..c918ecd --- /dev/null +++ b/imageflow-node/classes/_json_.graph.md @@ -0,0 +1,75 @@ +--- +id: "_json_.graph" +title: "Graph" +sidebar_label: "Graph" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](../modules/_json_.md) › [Graph](_json_.graph.md) + +## Hierarchy + +* **Graph** + +## Index + +### Properties + +* [_internal](_json_.graph.md#_internal) + +### Methods + +* [addEdge](_json_.graph.md#addedge) +* [addVertex](_json_.graph.md#addvertex) +* [toEdge](_json_.graph.md#toedge) + +## Properties + +### _internal + +• **_internal**: *Map‹number, Array‹[edge](../interfaces/_json_.edge.md)››* = new Map() + +*Defined in [json.ts:484](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L484)* + +## Methods + +### addEdge + +▸ **addEdge**(`to`: number, `from`: number, `type`: string): *void* + +*Defined in [json.ts:492](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L492)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`to` | number | - | +`from` | number | - | +`type` | string | "input" | + +**Returns:** *void* + +___ + +### addVertex + +▸ **addVertex**(`vertex`: number): *void* + +*Defined in [json.ts:486](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L486)* + +**Parameters:** + +Name | Type | +------ | ------ | +`vertex` | number | + +**Returns:** *void* + +___ + +### toEdge + +▸ **toEdge**(): *Array‹Object›* + +*Defined in [json.ts:498](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L498)* + +**Returns:** *Array‹Object›* diff --git a/imageflow-node/classes/_json_.steps.md b/imageflow-node/classes/_json_.steps.md new file mode 100644 index 0000000..bcd3d9d --- /dev/null +++ b/imageflow-node/classes/_json_.steps.md @@ -0,0 +1,600 @@ +--- +id: "_json_.steps" +title: "Steps" +sidebar_label: "Steps" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](../modules/_json_.md) › [Steps](_json_.steps.md) + +## Hierarchy + +* **Steps** + +## Index + +### Constructors + +* [constructor](_json_.steps.md#constructor) + +### Properties + +* [decodeValue](_json_.steps.md#private-decodevalue) +* [graph](_json_.steps.md#private-graph) +* [inputs](_json_.steps.md#private-inputs) +* [ioID](_json_.steps.md#private-ioid) +* [last](_json_.steps.md#private-last) +* [outputs](_json_.steps.md#private-outputs) +* [vertex](_json_.steps.md#private-vertex) + +### Methods + +* [branch](_json_.steps.md#branch) +* [colorFilter](_json_.steps.md#colorfilter) +* [colorFilterAlpha](_json_.steps.md#colorfilteralpha) +* [colorFilterBrightness](_json_.steps.md#colorfilterbrightness) +* [colorFilterContrast](_json_.steps.md#colorfiltercontrast) +* [colorFilterGrayscaleBt709](_json_.steps.md#colorfiltergrayscalebt709) +* [colorFilterGrayscaleFlat](_json_.steps.md#colorfiltergrayscaleflat) +* [colorFilterGrayscaleNtsc](_json_.steps.md#colorfiltergrayscalentsc) +* [colorFilterGrayscaleRY](_json_.steps.md#colorfiltergrayscalery) +* [colorFilterInvert](_json_.steps.md#colorfilterinvert) +* [command](_json_.steps.md#command) +* [constrain](_json_.steps.md#constrain) +* [constrainWithin](_json_.steps.md#constrainwithin) +* [copyRectangle](_json_.steps.md#copyrectangle) +* [cropWhiteSpace](_json_.steps.md#cropwhitespace) +* [decode](_json_.steps.md#decode) +* [distort](_json_.steps.md#distort) +* [drawImageExactTo](_json_.steps.md#drawimageexactto) +* [encode](_json_.steps.md#encode) +* [execute](_json_.steps.md#execute) +* [executeCommand](_json_.steps.md#executecommand) +* [expandCanvas](_json_.steps.md#expandcanvas) +* [fillRect](_json_.steps.md#fillrect) +* [flipHorizontal](_json_.steps.md#fliphorizontal) +* [flipVertical](_json_.steps.md#flipvertical) +* [region](_json_.steps.md#region) +* [rotate](_json_.steps.md#rotate) +* [rotate180](_json_.steps.md#rotate180) +* [rotate270](_json_.steps.md#rotate270) +* [rotate90](_json_.steps.md#rotate90) +* [watermark](_json_.steps.md#watermark) + +## Constructors + +### constructor + +\+ **new Steps**(`operation`: [IOOperation](_types_.iooperation.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:43](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L43)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | null | + +**Returns:** *[Steps](_json_.steps.md)* + +## Properties + +### `Private` decodeValue + +• **decodeValue**: *boolean* + +*Defined in [json.ts:43](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L43)* + +___ + +### `Private` graph + +• **graph**: *[Graph](_json_.graph.md)* + +*Defined in [json.ts:37](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L37)* + +___ + +### `Private` inputs + +• **inputs**: *Array‹[IOOperation](_types_.iooperation.md)›* = [] + +*Defined in [json.ts:40](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L40)* + +___ + +### `Private` ioID + +• **ioID**: *number* + +*Defined in [json.ts:39](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L39)* + +___ + +### `Private` last + +• **last**: *number* = 0 + +*Defined in [json.ts:42](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L42)* + +___ + +### `Private` outputs + +• **outputs**: *Array‹[IOOperation](_types_.iooperation.md)›* = [] + +*Defined in [json.ts:41](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L41)* + +___ + +### `Private` vertex + +• **vertex**: *Array‹[BaseStep](_types_.basestep.md)›* = [] + +*Defined in [json.ts:38](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L38)* + +## Methods + +### branch + +▸ **branch**(`f`: function): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:95](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L95)* + +**Parameters:** + +▪ **f**: *function* + +▸ (`arg`: [Steps](_json_.steps.md)): *any* + +**Parameters:** + +Name | Type | +------ | ------ | +`arg` | [Steps](_json_.steps.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilter + +▸ **colorFilter**(`value`: [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)): *this* + +*Defined in [json.ts:406](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L406)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md) | + +**Returns:** *this* + +___ + +### colorFilterAlpha + +▸ **colorFilterAlpha**(`value`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:355](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L355)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterBrightness + +▸ **colorFilterBrightness**(`value`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:370](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L370)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterContrast + +▸ **colorFilterContrast**(`value`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:388](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L388)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleBt709 + +▸ **colorFilterGrayscaleBt709**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:320](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L320)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleFlat + +▸ **colorFilterGrayscaleFlat**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:333](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L333)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleNtsc + +▸ **colorFilterGrayscaleNtsc**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:344](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L344)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleRY + +▸ **colorFilterGrayscaleRY**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:309](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L309)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterInvert + +▸ **colorFilterInvert**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:298](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L298)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### command + +▸ **command**(`value`: string): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:434](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L434)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | string | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### constrain + +▸ **constrain**(`constraint`: [Constrain](_types_.constrain.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:74](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L74)* + +**Parameters:** + +Name | Type | +------ | ------ | +`constraint` | [Constrain](_types_.constrain.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### constrainWithin + +▸ **constrainWithin**(`width`: number, `height`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:84](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L84)* + +**Parameters:** + +Name | Type | +------ | ------ | +`width` | number | +`height` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### copyRectangle + +▸ **copyRectangle**(`f`: function, `coordinates`: [DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md), `fromX`: number, `fromY`: number): *this* + +*Defined in [json.ts:416](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L416)* + +**Parameters:** + +▪ **f**: *function* + +▸ (`args`: [Steps](_json_.steps.md)): *any* + +**Parameters:** + +Name | Type | +------ | ------ | +`args` | [Steps](_json_.steps.md) | + +▪ **coordinates**: *[DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md)* + +▪ **fromX**: *number* + +▪ **fromY**: *number* + +**Returns:** *this* + +___ + +### cropWhiteSpace + +▸ **cropWhiteSpace**(`data`: [CropWhitespace](_types_.cropwhitespace.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:214](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L214)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | [CropWhitespace](_types_.cropwhitespace.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### decode + +▸ **decode**(`operation`: [IOOperation](_types_.iooperation.md)): *this* + +*Defined in [json.ts:62](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L62)* + +**Parameters:** + +Name | Type | +------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | + +**Returns:** *this* + +___ + +### distort + +▸ **distort**(`w`: number, `h`: number, `hint`: [ConstrainHints](_types_.constrainhints.md) | null): *this* + +*Defined in [json.ts:466](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L466)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`w` | number | - | +`h` | number | - | +`hint` | [ConstrainHints](_types_.constrainhints.md) | null | null | + +**Returns:** *this* + +___ + +### drawImageExactTo + +▸ **drawImageExactTo**(`f`: function, `coordinates`: [DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md), `blend`: [CompositingMode](../enums/_types_.compositingmode.md), `hint`: [ConstrainHints](_types_.constrainhints.md)): *this* + +*Defined in [json.ts:102](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L102)* + +**Parameters:** + +▪ **f**: *function* + +▸ (`arg`: [Steps](_json_.steps.md)): *any* + +**Parameters:** + +Name | Type | +------ | ------ | +`arg` | [Steps](_json_.steps.md) | + +▪ **coordinates**: *[DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md)* + +▪ **blend**: *[CompositingMode](../enums/_types_.compositingmode.md)* + +▪ **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +**Returns:** *this* + +___ + +### encode + +▸ **encode**(`operation`: [IOOperation](_types_.iooperation.md), `decodeData`: [Preset](_types_.preset.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:283](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L283)* + +**Parameters:** + +Name | Type | +------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | +`decodeData` | [Preset](_types_.preset.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### execute + +▸ **execute**(): *Promise‹Object›* + +*Defined in [json.ts:121](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L121)* + +**Returns:** *Promise‹Object›* + +___ + +### executeCommand + +▸ **executeCommand**(`commandValue`: string, `input`: [IOOperation](_types_.iooperation.md), `output`: [IOOperation](_types_.iooperation.md)): *Promise‹any›* + +*Defined in [json.ts:445](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L445)* + +**Parameters:** + +Name | Type | +------ | ------ | +`commandValue` | string | +`input` | [IOOperation](_types_.iooperation.md) | +`output` | [IOOperation](_types_.iooperation.md) | + +**Returns:** *Promise‹any›* + +___ + +### expandCanvas + +▸ **expandCanvas**(`data`: [ExpandCanvas](_types_.expandcanvas.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:236](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L236)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | [ExpandCanvas](_types_.expandcanvas.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### fillRect + +▸ **fillRect**(`data`: [FillRect](_types_.fillrect.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:225](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L225)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | [FillRect](_types_.fillrect.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### flipHorizontal + +▸ **flipHorizontal**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:247](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L247)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### flipVertical + +▸ **flipVertical**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:258](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L258)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### region + +▸ **region**(`regionData`: [Region](_types_.region.md) | [RegionPercentage](_types_.regionpercentage.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:204](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L204)* + +**Parameters:** + +Name | Type | +------ | ------ | +`regionData` | [Region](_types_.region.md) | [RegionPercentage](_types_.regionpercentage.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate + +▸ **rotate**(`rotate`: [Rotate180](_types_.rotate180.md) | [Rotate270](_types_.rotate270.md) | [Rotate90](_types_.rotate90.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:193](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L193)* + +**Parameters:** + +Name | Type | +------ | ------ | +`rotate` | [Rotate180](_types_.rotate180.md) | [Rotate270](_types_.rotate270.md) | [Rotate90](_types_.rotate90.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate180 + +▸ **rotate180**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:171](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L171)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate270 + +▸ **rotate270**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:182](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L182)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate90 + +▸ **rotate90**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:160](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L160)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### watermark + +▸ **watermark**(`operation`: [IOOperation](_types_.iooperation.md), `watermarkOption`: [WatermarkOption](../interfaces/_types_.watermarkoption.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:269](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L269)* + +**Parameters:** + +Name | Type | +------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | +`watermarkOption` | [WatermarkOption](../interfaces/_types_.watermarkoption.md) | + +**Returns:** *[Steps](_json_.steps.md)* diff --git a/imageflow-node/classes/_types_.basestep.md b/imageflow-node/classes/_types_.basestep.md new file mode 100644 index 0000000..d14d6da --- /dev/null +++ b/imageflow-node/classes/_types_.basestep.md @@ -0,0 +1,49 @@ +--- +id: "_types_.basestep" +title: "BaseStep" +sidebar_label: "BaseStep" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [BaseStep](_types_.basestep.md) + +## Hierarchy + +* **BaseStep** + +## Implemented by + +* [ColorFilterSRGB](_types_.colorfiltersrgb.md) +* [CommandString](_types_.commandstring.md) +* [Constrain](_types_.constrain.md) +* [CopyRectangle](_types_.copyrectangle.md) +* [CropWhitespace](_types_.cropwhitespace.md) +* [Decode](_types_.decode.md) +* [DrawExactImageTo](_types_.drawexactimageto.md) +* [Encode](_types_.encode.md) +* [ExpandCanvas](_types_.expandcanvas.md) +* [FillRect](_types_.fillrect.md) +* [FlipH](_types_.fliph.md) +* [FlipV](_types_.flipv.md) +* [ReSample](_types_.resample.md) +* [Region](_types_.region.md) +* [RegionPercentage](_types_.regionpercentage.md) +* [Rotate180](_types_.rotate180.md) +* [Rotate270](_types_.rotate270.md) +* [Rotate90](_types_.rotate90.md) +* [Watermark](_types_.watermark.md) + +## Index + +### Methods + +* [toStep](_types_.basestep.md#abstract-tostep) + +## Methods + +### `Abstract` toStep + +▸ **toStep**(): *Object | string* + +*Defined in [types.ts:42](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L42)* + +**Returns:** *Object | string* diff --git a/imageflow-node/classes/_types_.blackcolor.md b/imageflow-node/classes/_types_.blackcolor.md new file mode 100644 index 0000000..7080d26 --- /dev/null +++ b/imageflow-node/classes/_types_.blackcolor.md @@ -0,0 +1,31 @@ +--- +id: "_types_.blackcolor" +title: "BlackColor" +sidebar_label: "BlackColor" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [BlackColor](_types_.blackcolor.md) + +## Hierarchy + +* **BlackColor** + +## Implements + +* [Colors](_types_.colors.md) + +## Index + +### Methods + +* [toColor](_types_.blackcolor.md#tocolor) + +## Methods + +### toColor + +▸ **toColor**(): *string* + +*Defined in [types.ts:533](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L533)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.colorfiltersrgb.md b/imageflow-node/classes/_types_.colorfiltersrgb.md new file mode 100644 index 0000000..81579e1 --- /dev/null +++ b/imageflow-node/classes/_types_.colorfiltersrgb.md @@ -0,0 +1,63 @@ +--- +id: "_types_.colorfiltersrgb" +title: "ColorFilterSRGB" +sidebar_label: "ColorFilterSRGB" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGB](_types_.colorfiltersrgb.md) + +## Hierarchy + +* **ColorFilterSRGB** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.colorfiltersrgb.md#constructor) + +### Properties + +* [filterType](_types_.colorfiltersrgb.md#private-filtertype) + +### Methods + +* [toStep](_types_.colorfiltersrgb.md#tostep) + +## Constructors + +### constructor + +\+ **new ColorFilterSRGB**(`filter`: [ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)): *[ColorFilterSRGB](_types_.colorfiltersrgb.md)* + +*Defined in [types.ts:766](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L766)* + +**Parameters:** + +Name | Type | +------ | ------ | +`filter` | [ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md) | + +**Returns:** *[ColorFilterSRGB](_types_.colorfiltersrgb.md)* + +## Properties + +### `Private` filterType + +• **filterType**: *[ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)* + +*Defined in [types.ts:758](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L758)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:759](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L759)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.colorfiltersrgbvalue.md b/imageflow-node/classes/_types_.colorfiltersrgbvalue.md new file mode 100644 index 0000000..503d728 --- /dev/null +++ b/imageflow-node/classes/_types_.colorfiltersrgbvalue.md @@ -0,0 +1,69 @@ +--- +id: "_types_.colorfiltersrgbvalue" +title: "ColorFilterSRGBValue" +sidebar_label: "ColorFilterSRGBValue" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md) + +## Hierarchy + +* **ColorFilterSRGBValue** + +## Index + +### Constructors + +* [constructor](_types_.colorfiltersrgbvalue.md#constructor) + +### Properties + +* [value](_types_.colorfiltersrgbvalue.md#private-value) +* [valueType](_types_.colorfiltersrgbvalue.md#private-valuetype) + +### Methods + +* [toFilter](_types_.colorfiltersrgbvalue.md#tofilter) + +## Constructors + +### constructor + +\+ **new ColorFilterSRGBValue**(`value`: number, `valueType`: [ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md)): *[ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)* + +*Defined in [types.ts:743](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L743)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | +`valueType` | [ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md) | + +**Returns:** *[ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)* + +## Properties + +### `Private` value + +• **value**: *number* + +*Defined in [types.ts:742](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L742)* + +___ + +### `Private` valueType + +• **valueType**: *[ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md)* + +*Defined in [types.ts:743](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L743)* + +## Methods + +### toFilter + +▸ **toFilter**(): *Object* + +*Defined in [types.ts:750](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L750)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.colors.md b/imageflow-node/classes/_types_.colors.md new file mode 100644 index 0000000..17bcbe9 --- /dev/null +++ b/imageflow-node/classes/_types_.colors.md @@ -0,0 +1,33 @@ +--- +id: "_types_.colors" +title: "Colors" +sidebar_label: "Colors" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Colors](_types_.colors.md) + +## Hierarchy + +* **Colors** + +## Implemented by + +* [BlackColor](_types_.blackcolor.md) +* [SRGBColor](_types_.srgbcolor.md) +* [TransparentColor](_types_.transparentcolor.md) + +## Index + +### Methods + +* [toColor](_types_.colors.md#abstract-tocolor) + +## Methods + +### `Abstract` toColor + +▸ **toColor**(): *Object | string* + +*Defined in [types.ts:502](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L502)* + +**Returns:** *Object | string* diff --git a/imageflow-node/classes/_types_.commandstring.md b/imageflow-node/classes/_types_.commandstring.md new file mode 100644 index 0000000..b8c5a77 --- /dev/null +++ b/imageflow-node/classes/_types_.commandstring.md @@ -0,0 +1,83 @@ +--- +id: "_types_.commandstring" +title: "CommandString" +sidebar_label: "CommandString" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CommandString](_types_.commandstring.md) + +## Hierarchy + +* **CommandString** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.commandstring.md#constructor) + +### Properties + +* [command](_types_.commandstring.md#private-readonly-command) +* [decode](_types_.commandstring.md#private-readonly-decode) +* [encode](_types_.commandstring.md#private-readonly-encode) + +### Methods + +* [toStep](_types_.commandstring.md#tostep) + +## Constructors + +### constructor + +\+ **new CommandString**(`command`: string, `encode`: number | null, `decode`: number | null): *[CommandString](_types_.commandstring.md)* + +*Defined in [types.ts:701](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L701)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`command` | string | - | +`encode` | number | null | null | +`decode` | number | null | null | + +**Returns:** *[CommandString](_types_.commandstring.md)* + +## Properties + +### `Private` `Readonly` command + +• **command**: *string* + +*Defined in [types.ts:689](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L689)* + +___ + +### `Private` `Readonly` decode + +• **decode**: *number | null* + +*Defined in [types.ts:691](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L691)* + +___ + +### `Private` `Readonly` encode + +• **encode**: *number | null* + +*Defined in [types.ts:690](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L690)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:692](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L692)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.constrain.md b/imageflow-node/classes/_types_.constrain.md new file mode 100644 index 0000000..1880fd1 --- /dev/null +++ b/imageflow-node/classes/_types_.constrain.md @@ -0,0 +1,118 @@ +--- +id: "_types_.constrain" +title: "Constrain" +sidebar_label: "Constrain" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Constrain](_types_.constrain.md) + +## Hierarchy + +* **Constrain** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.constrain.md#constructor) + +### Properties + +* [canvasColor](_types_.constrain.md#private-optional-readonly-canvascolor) +* [gravity](_types_.constrain.md#private-optional-gravity) +* [height](_types_.constrain.md#private-optional-readonly-height) +* [hints](_types_.constrain.md#private-optional-hints) +* [mode](_types_.constrain.md#private-mode) +* [width](_types_.constrain.md#private-optional-readonly-width) + +### Methods + +* [toStep](_types_.constrain.md#tostep) + +## Constructors + +### constructor + +\+ **new Constrain**(`mode`: [ConstrainMode](../enums/_types_.constrainmode.md), `width`: number | null, `height`: number | null, `__namedParameters`: object): *[Constrain](_types_.constrain.md)* + +*Defined in [types.ts:341](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L341)* + +**Parameters:** + +▪ **mode**: *[ConstrainMode](../enums/_types_.constrainmode.md)* + +▪`Default value` **width**: *number | null*= null + +▪`Default value` **height**: *number | null*= null + +▪`Default value` **__namedParameters**: *object*= {} + +Name | Type | Default | +------ | ------ | ------ | +`canvasColor` | string | null | +`canvasGravity` | [ConstrainGravity](_types_.constraingravity.md)‹› | null | +`hints` | [ConstrainHints](_types_.constrainhints.md)‹› | null | + +**Returns:** *[Constrain](_types_.constrain.md)* + +## Properties + +### `Private` `Optional` `Readonly` canvasColor + +• **canvasColor**? : *string* + +*Defined in [types.ts:329](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L329)* + +___ + +### `Private` `Optional` gravity + +• **gravity**? : *[ConstrainGravity](_types_.constraingravity.md)* + +*Defined in [types.ts:327](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L327)* + +___ + +### `Private` `Optional` `Readonly` height + +• **height**? : *number* + +*Defined in [types.ts:326](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L326)* + +___ + +### `Private` `Optional` hints + +• **hints**? : *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:324](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L324)* + +___ + +### `Private` mode + +• **mode**: *[ConstrainMode](../enums/_types_.constrainmode.md)* + +*Defined in [types.ts:328](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L328)* + +___ + +### `Private` `Optional` `Readonly` width + +• **width**? : *number* + +*Defined in [types.ts:325](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L325)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:330](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L330)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.constraingravity.md b/imageflow-node/classes/_types_.constraingravity.md new file mode 100644 index 0000000..c2fd9d1 --- /dev/null +++ b/imageflow-node/classes/_types_.constraingravity.md @@ -0,0 +1,69 @@ +--- +id: "_types_.constraingravity" +title: "ConstrainGravity" +sidebar_label: "ConstrainGravity" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainGravity](_types_.constraingravity.md) + +## Hierarchy + +* **ConstrainGravity** + +## Index + +### Constructors + +* [constructor](_types_.constraingravity.md#constructor) + +### Properties + +* [x](_types_.constraingravity.md#private-readonly-x) +* [y](_types_.constraingravity.md#private-readonly-y) + +### Methods + +* [toGravity](_types_.constraingravity.md#togravity) + +## Constructors + +### constructor + +\+ **new ConstrainGravity**(`x`: number, `y`: number): *[ConstrainGravity](_types_.constraingravity.md)* + +*Defined in [types.ts:285](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L285)* + +**Parameters:** + +Name | Type | +------ | ------ | +`x` | number | +`y` | number | + +**Returns:** *[ConstrainGravity](_types_.constraingravity.md)* + +## Properties + +### `Private` `Readonly` x + +• **x**: *number* + +*Defined in [types.ts:275](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L275)* + +___ + +### `Private` `Readonly` y + +• **y**: *number* + +*Defined in [types.ts:276](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L276)* + +## Methods + +### toGravity + +▸ **toGravity**(): *Object* + +*Defined in [types.ts:278](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L278)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.constrainhints.md b/imageflow-node/classes/_types_.constrainhints.md new file mode 100644 index 0000000..b5f3147 --- /dev/null +++ b/imageflow-node/classes/_types_.constrainhints.md @@ -0,0 +1,112 @@ +--- +id: "_types_.constrainhints" +title: "ConstrainHints" +sidebar_label: "ConstrainHints" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainHints](_types_.constrainhints.md) + +## Hierarchy + +* **ConstrainHints** + +## Index + +### Constructors + +* [constructor](_types_.constrainhints.md#constructor) + +### Properties + +* [downFilter](_types_.constrainhints.md#private-downfilter) +* [resampleWhen](_types_.constrainhints.md#private-resamplewhen) +* [scalingColorSpace](_types_.constrainhints.md#private-scalingcolorspace) +* [sharpenPercent](_types_.constrainhints.md#private-readonly-sharpenpercent) +* [sharpenWhen](_types_.constrainhints.md#private-sharpenwhen) +* [upFilter](_types_.constrainhints.md#private-upfilter) + +### Methods + +* [toHint](_types_.constrainhints.md#tohint) + +## Constructors + +### constructor + +\+ **new ConstrainHints**(`sharpenPercent`: number, `__namedParameters`: object): *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:254](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L254)* + +**Parameters:** + +▪ **sharpenPercent**: *number* + +▪`Default value` **__namedParameters**: *object*= {} + +Name | Type | +------ | ------ | +`downFilter` | [Filter](../enums/_types_.filter.md) | +`resampleWhen` | [ResampleWhen](../enums/_types_.resamplewhen.md) | +`scalingColorScape` | [ScalingFloatspace](../enums/_types_.scalingfloatspace.md) | +`sharpenWhen` | [SharpenWhen](../enums/_types_.sharpenwhen.md) | +`upFilter` | [Filter](../enums/_types_.filter.md) | + +**Returns:** *[ConstrainHints](_types_.constrainhints.md)* + +## Properties + +### `Private` downFilter + +• **downFilter**: *[Filter](../enums/_types_.filter.md) | null* + +*Defined in [types.ts:238](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L238)* + +___ + +### `Private` resampleWhen + +• **resampleWhen**: *[ResampleWhen](../enums/_types_.resamplewhen.md) | null* + +*Defined in [types.ts:241](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L241)* + +___ + +### `Private` scalingColorSpace + +• **scalingColorSpace**: *[ScalingFloatspace](../enums/_types_.scalingfloatspace.md) | null* + +*Defined in [types.ts:240](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L240)* + +___ + +### `Private` `Readonly` sharpenPercent + +• **sharpenPercent**: *number* + +*Defined in [types.ts:237](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L237)* + +___ + +### `Private` sharpenWhen + +• **sharpenWhen**: *[SharpenWhen](../enums/_types_.sharpenwhen.md) | null* + +*Defined in [types.ts:242](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L242)* + +___ + +### `Private` upFilter + +• **upFilter**: *[Filter](../enums/_types_.filter.md) | null* + +*Defined in [types.ts:239](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L239)* + +## Methods + +### toHint + +▸ **toHint**(): *Object* + +*Defined in [types.ts:243](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L243)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.copyrectangle.md b/imageflow-node/classes/_types_.copyrectangle.md new file mode 100644 index 0000000..72815c5 --- /dev/null +++ b/imageflow-node/classes/_types_.copyrectangle.md @@ -0,0 +1,117 @@ +--- +id: "_types_.copyrectangle" +title: "CopyRectangle" +sidebar_label: "CopyRectangle" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CopyRectangle](_types_.copyrectangle.md) + +## Hierarchy + +* **CopyRectangle** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.copyrectangle.md#constructor) + +### Properties + +* [fromX](_types_.copyrectangle.md#private-fromx) +* [fromY](_types_.copyrectangle.md#private-fromy) +* [h](_types_.copyrectangle.md#private-h) +* [w](_types_.copyrectangle.md#private-w) +* [x](_types_.copyrectangle.md#private-x) +* [y](_types_.copyrectangle.md#private-y) + +### Methods + +* [toStep](_types_.copyrectangle.md#tostep) + +## Constructors + +### constructor + +\+ **new CopyRectangle**(`__namedParameters`: object, `fromX`: number, `fromY`: number): *[CopyRectangle](_types_.copyrectangle.md)* + +*Defined in [types.ts:840](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L840)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`h` | number | 0 | +`w` | number | 0 | +`x` | number | 0 | +`y` | number | 0 | + +▪ **fromX**: *number* + +▪ **fromY**: *number* + +**Returns:** *[CopyRectangle](_types_.copyrectangle.md)* + +## Properties + +### `Private` fromX + +• **fromX**: *number* + +*Defined in [types.ts:822](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L822)* + +___ + +### `Private` fromY + +• **fromY**: *number* + +*Defined in [types.ts:823](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L823)* + +___ + +### `Private` h + +• **h**: *number* + +*Defined in [types.ts:825](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L825)* + +___ + +### `Private` w + +• **w**: *number* + +*Defined in [types.ts:824](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L824)* + +___ + +### `Private` x + +• **x**: *number* + +*Defined in [types.ts:826](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L826)* + +___ + +### `Private` y + +• **y**: *number* + +*Defined in [types.ts:827](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L827)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:829](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L829)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.cropwhitespace.md b/imageflow-node/classes/_types_.cropwhitespace.md new file mode 100644 index 0000000..3b797e3 --- /dev/null +++ b/imageflow-node/classes/_types_.cropwhitespace.md @@ -0,0 +1,73 @@ +--- +id: "_types_.cropwhitespace" +title: "CropWhitespace" +sidebar_label: "CropWhitespace" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CropWhitespace](_types_.cropwhitespace.md) + +## Hierarchy + +* **CropWhitespace** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.cropwhitespace.md#constructor) + +### Properties + +* [padding](_types_.cropwhitespace.md#private-readonly-padding) +* [threshold](_types_.cropwhitespace.md#private-readonly-threshold) + +### Methods + +* [toStep](_types_.cropwhitespace.md#tostep) + +## Constructors + +### constructor + +\+ **new CropWhitespace**(`threshold`: number, `padding`: number): *[CropWhitespace](_types_.cropwhitespace.md)* + +*Defined in [types.ts:432](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L432)* + +**Parameters:** + +Name | Type | +------ | ------ | +`threshold` | number | +`padding` | number | + +**Returns:** *[CropWhitespace](_types_.cropwhitespace.md)* + +## Properties + +### `Private` `Readonly` padding + +• **padding**: *number* + +*Defined in [types.ts:424](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L424)* + +___ + +### `Private` `Readonly` threshold + +• **threshold**: *number* + +*Defined in [types.ts:423](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L423)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:425](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L425)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.decode.md b/imageflow-node/classes/_types_.decode.md new file mode 100644 index 0000000..ca9f0cb --- /dev/null +++ b/imageflow-node/classes/_types_.decode.md @@ -0,0 +1,77 @@ +--- +id: "_types_.decode" +title: "Decode" +sidebar_label: "Decode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Decode](_types_.decode.md) + +## Hierarchy + +* **Decode** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.decode.md#constructor) + +### Properties + +* [io_id](_types_.decode.md#private-readonly-io_id) + +### Accessors + +* [ioID](_types_.decode.md#ioid) + +### Methods + +* [toStep](_types_.decode.md#tostep) + +## Constructors + +### constructor + +\+ **new Decode**(`ioID`: number): *[Decode](_types_.decode.md)* + +*Defined in [types.ts:57](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L57)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioID` | number | + +**Returns:** *[Decode](_types_.decode.md)* + +## Properties + +### `Private` `Readonly` io_id + +• **io_id**: *number* + +*Defined in [types.ts:46](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L46)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:55](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L55)* + +**Returns:** *number* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:48](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L48)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.drawexactimageto.md b/imageflow-node/classes/_types_.drawexactimageto.md new file mode 100644 index 0000000..3477c34 --- /dev/null +++ b/imageflow-node/classes/_types_.drawexactimageto.md @@ -0,0 +1,117 @@ +--- +id: "_types_.drawexactimageto" +title: "DrawExactImageTo" +sidebar_label: "DrawExactImageTo" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [DrawExactImageTo](_types_.drawexactimageto.md) + +## Hierarchy + +* **DrawExactImageTo** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.drawexactimageto.md#constructor) + +### Properties + +* [blend](_types_.drawexactimageto.md#private-blend) +* [h](_types_.drawexactimageto.md#private-h) +* [hint](_types_.drawexactimageto.md#private-hint) +* [w](_types_.drawexactimageto.md#private-w) +* [x](_types_.drawexactimageto.md#private-x) +* [y](_types_.drawexactimageto.md#private-y) + +### Methods + +* [toStep](_types_.drawexactimageto.md#tostep) + +## Constructors + +### constructor + +\+ **new DrawExactImageTo**(`__namedParameters`: object, `blend`: [CompositingMode](../enums/_types_.compositingmode.md), `hint`: [ConstrainHints](_types_.constrainhints.md)): *[DrawExactImageTo](_types_.drawexactimageto.md)* + +*Defined in [types.ts:800](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L800)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`h` | number | 0 | +`w` | number | 0 | +`x` | number | 0 | +`y` | number | 0 | + +▪ **blend**: *[CompositingMode](../enums/_types_.compositingmode.md)* + +▪ **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +**Returns:** *[DrawExactImageTo](_types_.drawexactimageto.md)* + +## Properties + +### `Private` blend + +• **blend**: *[CompositingMode](../enums/_types_.compositingmode.md)* + +*Defined in [types.ts:786](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L786)* + +___ + +### `Private` h + +• **h**: *number* + +*Defined in [types.ts:784](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L784)* + +___ + +### `Private` hint + +• **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:787](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L787)* + +___ + +### `Private` w + +• **w**: *number* + +*Defined in [types.ts:783](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L783)* + +___ + +### `Private` x + +• **x**: *number* + +*Defined in [types.ts:781](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L781)* + +___ + +### `Private` y + +• **y**: *number* + +*Defined in [types.ts:782](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L782)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:789](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L789)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.encode.md b/imageflow-node/classes/_types_.encode.md new file mode 100644 index 0000000..c89f247 --- /dev/null +++ b/imageflow-node/classes/_types_.encode.md @@ -0,0 +1,73 @@ +--- +id: "_types_.encode" +title: "Encode" +sidebar_label: "Encode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Encode](_types_.encode.md) + +## Hierarchy + +* **Encode** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.encode.md#constructor) + +### Properties + +* [io_id](_types_.encode.md#private-readonly-io_id) +* [preset](_types_.encode.md#private-preset) + +### Methods + +* [toStep](_types_.encode.md#tostep) + +## Constructors + +### constructor + +\+ **new Encode**(`preset`: [Preset](_types_.preset.md), `ioId`: number): *[Encode](_types_.encode.md)* + +*Defined in [types.ts:174](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L174)* + +**Parameters:** + +Name | Type | +------ | ------ | +`preset` | [Preset](_types_.preset.md) | +`ioId` | number | + +**Returns:** *[Encode](_types_.encode.md)* + +## Properties + +### `Private` `Readonly` io_id + +• **io_id**: *number* + +*Defined in [types.ts:166](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L166)* + +___ + +### `Private` preset + +• **preset**: *[Preset](_types_.preset.md)* + +*Defined in [types.ts:165](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L165)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:167](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L167)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.expandcanvas.md b/imageflow-node/classes/_types_.expandcanvas.md new file mode 100644 index 0000000..7efb3b1 --- /dev/null +++ b/imageflow-node/classes/_types_.expandcanvas.md @@ -0,0 +1,106 @@ +--- +id: "_types_.expandcanvas" +title: "ExpandCanvas" +sidebar_label: "ExpandCanvas" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ExpandCanvas](_types_.expandcanvas.md) + +## Hierarchy + +* **ExpandCanvas** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.expandcanvas.md#constructor) + +### Properties + +* [bottom](_types_.expandcanvas.md#private-readonly-bottom) +* [color](_types_.expandcanvas.md#private-color) +* [left](_types_.expandcanvas.md#private-readonly-left) +* [right](_types_.expandcanvas.md#private-readonly-right) +* [top](_types_.expandcanvas.md#private-readonly-top) + +### Methods + +* [toStep](_types_.expandcanvas.md#tostep) + +## Constructors + +### constructor + +\+ **new ExpandCanvas**(`__namedParameters`: object, `color`: [SRGBColor](_types_.srgbcolor.md)): *[ExpandCanvas](_types_.expandcanvas.md)* + +*Defined in [types.ts:561](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L561)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`bottom` | number | 0 | +`left` | number | 0 | +`right` | number | 0 | +`top` | number | 0 | + +▪ **color**: *[SRGBColor](_types_.srgbcolor.md)* + +**Returns:** *[ExpandCanvas](_types_.expandcanvas.md)* + +## Properties + +### `Private` `Readonly` bottom + +• **bottom**: *number* + +*Defined in [types.ts:548](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L548)* + +___ + +### `Private` color + +• **color**: *[SRGBColor](_types_.srgbcolor.md)* + +*Defined in [types.ts:550](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L550)* + +___ + +### `Private` `Readonly` left + +• **left**: *number* + +*Defined in [types.ts:549](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L549)* + +___ + +### `Private` `Readonly` right + +• **right**: *number* + +*Defined in [types.ts:547](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L547)* + +___ + +### `Private` `Readonly` top + +• **top**: *number* + +*Defined in [types.ts:546](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L546)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:551](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L551)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.fillrect.md b/imageflow-node/classes/_types_.fillrect.md new file mode 100644 index 0000000..f9e9366 --- /dev/null +++ b/imageflow-node/classes/_types_.fillrect.md @@ -0,0 +1,103 @@ +--- +id: "_types_.fillrect" +title: "FillRect" +sidebar_label: "FillRect" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FillRect](_types_.fillrect.md) + +## Hierarchy + +* **FillRect** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.fillrect.md#constructor) + +### Properties + +* [color](_types_.fillrect.md#private-readonly-color) +* [x1](_types_.fillrect.md#private-readonly-x1) +* [x2](_types_.fillrect.md#private-readonly-x2) +* [y1](_types_.fillrect.md#private-readonly-y1) +* [y2](_types_.fillrect.md#private-readonly-y2) + +### Methods + +* [toStep](_types_.fillrect.md#tostep) + +## Constructors + +### constructor + +\+ **new FillRect**(`x1`: number, `y1`: number, `x2`: number, `y2`: number, `color`: [Colors](_types_.colors.md)): *[FillRect](_types_.fillrect.md)* + +*Defined in [types.ts:490](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L490)* + +**Parameters:** + +Name | Type | +------ | ------ | +`x1` | number | +`y1` | number | +`x2` | number | +`y2` | number | +`color` | [Colors](_types_.colors.md) | + +**Returns:** *[FillRect](_types_.fillrect.md)* + +## Properties + +### `Private` `Readonly` color + +• **color**: *[Colors](_types_.colors.md)* + +*Defined in [types.ts:479](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L479)* + +___ + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:475](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L475)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:476](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L476)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:477](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L477)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:478](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L478)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:480](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L480)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.fitbox.md b/imageflow-node/classes/_types_.fitbox.md new file mode 100644 index 0000000..d743e43 --- /dev/null +++ b/imageflow-node/classes/_types_.fitbox.md @@ -0,0 +1,32 @@ +--- +id: "_types_.fitbox" +title: "FitBox" +sidebar_label: "FitBox" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBox](_types_.fitbox.md) + +## Hierarchy + +* **FitBox** + +## Implemented by + +* [FitBoxMargin](_types_.fitboxmargin.md) +* [FitBoxPercentage](_types_.fitboxpercentage.md) + +## Index + +### Methods + +* [toFitBox](_types_.fitbox.md#abstract-tofitbox) + +## Methods + +### `Abstract` toFitBox + +▸ **toFitBox**(): *Object* + +*Defined in [types.ts:583](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L583)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.fitboxmargin.md b/imageflow-node/classes/_types_.fitboxmargin.md new file mode 100644 index 0000000..7aa4dd0 --- /dev/null +++ b/imageflow-node/classes/_types_.fitboxmargin.md @@ -0,0 +1,95 @@ +--- +id: "_types_.fitboxmargin" +title: "FitBoxMargin" +sidebar_label: "FitBoxMargin" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBoxMargin](_types_.fitboxmargin.md) + +## Hierarchy + +* **FitBoxMargin** + +## Implements + +* [FitBox](_types_.fitbox.md) + +## Index + +### Constructors + +* [constructor](_types_.fitboxmargin.md#constructor) + +### Properties + +* [bottom](_types_.fitboxmargin.md#private-readonly-bottom) +* [left](_types_.fitboxmargin.md#private-readonly-left) +* [right](_types_.fitboxmargin.md#private-readonly-right) +* [top](_types_.fitboxmargin.md#private-readonly-top) + +### Methods + +* [toFitBox](_types_.fitboxmargin.md#tofitbox) + +## Constructors + +### constructor + +\+ **new FitBoxMargin**(`__namedParameters`: object): *[FitBoxMargin](_types_.fitboxmargin.md)* + +*Defined in [types.ts:631](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L631)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`bottom` | number | 0 | +`left` | number | 0 | +`right` | number | 0 | +`top` | number | 0 | + +**Returns:** *[FitBoxMargin](_types_.fitboxmargin.md)* + +## Properties + +### `Private` `Readonly` bottom + +• **bottom**: *number* + +*Defined in [types.ts:621](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L621)* + +___ + +### `Private` `Readonly` left + +• **left**: *number* + +*Defined in [types.ts:618](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L618)* + +___ + +### `Private` `Readonly` right + +• **right**: *number* + +*Defined in [types.ts:620](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L620)* + +___ + +### `Private` `Readonly` top + +• **top**: *number* + +*Defined in [types.ts:619](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L619)* + +## Methods + +### toFitBox + +▸ **toFitBox**(): *Object* + +*Defined in [types.ts:622](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L622)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.fitboxpercentage.md b/imageflow-node/classes/_types_.fitboxpercentage.md new file mode 100644 index 0000000..a1032f7 --- /dev/null +++ b/imageflow-node/classes/_types_.fitboxpercentage.md @@ -0,0 +1,95 @@ +--- +id: "_types_.fitboxpercentage" +title: "FitBoxPercentage" +sidebar_label: "FitBoxPercentage" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBoxPercentage](_types_.fitboxpercentage.md) + +## Hierarchy + +* **FitBoxPercentage** + +## Implements + +* [FitBox](_types_.fitbox.md) + +## Index + +### Constructors + +* [constructor](_types_.fitboxpercentage.md#constructor) + +### Properties + +* [x1](_types_.fitboxpercentage.md#private-readonly-x1) +* [x2](_types_.fitboxpercentage.md#private-readonly-x2) +* [y1](_types_.fitboxpercentage.md#private-readonly-y1) +* [y2](_types_.fitboxpercentage.md#private-readonly-y2) + +### Methods + +* [toFitBox](_types_.fitboxpercentage.md#tofitbox) + +## Constructors + +### constructor + +\+ **new FitBoxPercentage**(`__namedParameters`: object): *[FitBoxPercentage](_types_.fitboxpercentage.md)* + +*Defined in [types.ts:607](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L607)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`x1` | number | +`x2` | number | +`y1` | number | +`y2` | number | + +**Returns:** *[FitBoxPercentage](_types_.fitboxpercentage.md)* + +## Properties + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:594](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L594)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:596](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L596)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:595](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L595)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:597](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L597)* + +## Methods + +### toFitBox + +▸ **toFitBox**(): *Object* + +*Defined in [types.ts:598](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L598)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.fliph.md b/imageflow-node/classes/_types_.fliph.md new file mode 100644 index 0000000..828cb04 --- /dev/null +++ b/imageflow-node/classes/_types_.fliph.md @@ -0,0 +1,31 @@ +--- +id: "_types_.fliph" +title: "FlipH" +sidebar_label: "FlipH" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FlipH](_types_.fliph.md) + +## Hierarchy + +* **FlipH** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.fliph.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:469](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L469)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.flipv.md b/imageflow-node/classes/_types_.flipv.md new file mode 100644 index 0000000..2a6fda2 --- /dev/null +++ b/imageflow-node/classes/_types_.flipv.md @@ -0,0 +1,31 @@ +--- +id: "_types_.flipv" +title: "FlipV" +sidebar_label: "FlipV" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FlipV](_types_.flipv.md) + +## Hierarchy + +* **FlipV** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.flipv.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:463](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L463)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.frombuffer.md b/imageflow-node/classes/_types_.frombuffer.md new file mode 100644 index 0000000..495e7b1 --- /dev/null +++ b/imageflow-node/classes/_types_.frombuffer.md @@ -0,0 +1,152 @@ +--- +id: "_types_.frombuffer" +title: "FromBuffer" +sidebar_label: "FromBuffer" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromBuffer](_types_.frombuffer.md) + +## Hierarchy + +* **FromBuffer** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.frombuffer.md#constructor) + +### Properties + +* [buffer](_types_.frombuffer.md#private-buffer) +* [direction](_types_.frombuffer.md#private-direction) +* [ioId](_types_.frombuffer.md#private-ioid) +* [key](_types_.frombuffer.md#private-key) + +### Accessors + +* [ioID](_types_.frombuffer.md#ioid) + +### Methods + +* [setIOID](_types_.frombuffer.md#setioid) +* [toIOBuffer](_types_.frombuffer.md#toiobuffer) +* [toIOID](_types_.frombuffer.md#toioid) +* [toOutput](_types_.frombuffer.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromBuffer**(`buf`: Buffer, `key`: string): *[FromBuffer](_types_.frombuffer.md)* + +*Defined in [types.ts:935](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L935)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buf` | Buffer | +`key` | string | + +**Returns:** *[FromBuffer](_types_.frombuffer.md)* + +## Properties + +### `Private` buffer + +• **buffer**: *Buffer* + +*Defined in [types.ts:928](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L928)* + +___ + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:930](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L930)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:929](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L929)* + +___ + +### `Private` key + +• **key**: *string* + +*Defined in [types.ts:931](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L931)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:951](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L951)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:947](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L947)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:933](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L933)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:940](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L940)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹any›* + +*Defined in [types.ts:954](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L954)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹any›* diff --git a/imageflow-node/classes/_types_.fromfile.md b/imageflow-node/classes/_types_.fromfile.md new file mode 100644 index 0000000..6bd14e4 --- /dev/null +++ b/imageflow-node/classes/_types_.fromfile.md @@ -0,0 +1,142 @@ +--- +id: "_types_.fromfile" +title: "FromFile" +sidebar_label: "FromFile" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromFile](_types_.fromfile.md) + +## Hierarchy + +* **FromFile** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.fromfile.md#constructor) + +### Properties + +* [direction](_types_.fromfile.md#private-direction) +* [filename](_types_.fromfile.md#private-filename) +* [ioId](_types_.fromfile.md#private-ioid) + +### Accessors + +* [ioID](_types_.fromfile.md#ioid) + +### Methods + +* [setIOID](_types_.fromfile.md#setioid) +* [toIOBuffer](_types_.fromfile.md#toiobuffer) +* [toIOID](_types_.fromfile.md#toioid) +* [toOutput](_types_.fromfile.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromFile**(`filename`: string): *[FromFile](_types_.fromfile.md)* + +*Defined in [types.ts:874](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L874)* + +**Parameters:** + +Name | Type | +------ | ------ | +`filename` | string | + +**Returns:** *[FromFile](_types_.fromfile.md)* + +## Properties + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:867](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L867)* + +___ + +### `Private` filename + +• **filename**: *string* + +*Defined in [types.ts:865](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L865)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:866](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L866)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:872](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L872)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:878](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L878)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:868](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L868)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:883](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L883)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹void›* + +*Defined in [types.ts:891](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L891)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹void›* diff --git a/imageflow-node/classes/_types_.fromstream.md b/imageflow-node/classes/_types_.fromstream.md new file mode 100644 index 0000000..5cc873a --- /dev/null +++ b/imageflow-node/classes/_types_.fromstream.md @@ -0,0 +1,142 @@ +--- +id: "_types_.fromstream" +title: "FromStream" +sidebar_label: "FromStream" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromStream](_types_.fromstream.md) + +## Hierarchy + +* **FromStream** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.fromstream.md#constructor) + +### Properties + +* [direction](_types_.fromstream.md#private-direction) +* [internalStream](_types_.fromstream.md#private-internalstream) +* [ioId](_types_.fromstream.md#private-ioid) + +### Accessors + +* [ioID](_types_.fromstream.md#ioid) + +### Methods + +* [setIOID](_types_.fromstream.md#setioid) +* [toIOBuffer](_types_.fromstream.md#toiobuffer) +* [toIOID](_types_.fromstream.md#toioid) +* [toOutput](_types_.fromstream.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromStream**(`str`: stream.Writable): *[FromStream](_types_.fromstream.md)* + +*Defined in [types.ts:899](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L899)* + +**Parameters:** + +Name | Type | +------ | ------ | +`str` | stream.Writable | + +**Returns:** *[FromStream](_types_.fromstream.md)* + +## Properties + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:898](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L898)* + +___ + +### `Private` internalStream + +• **internalStream**: *stream.Writable* + +*Defined in [types.ts:899](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L899)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:897](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L897)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:919](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L919)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:915](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L915)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:904](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L904)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:908](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L908)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹any›* + +*Defined in [types.ts:922](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L922)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹any›* diff --git a/imageflow-node/classes/_types_.fromurl.md b/imageflow-node/classes/_types_.fromurl.md new file mode 100644 index 0000000..efdb024 --- /dev/null +++ b/imageflow-node/classes/_types_.fromurl.md @@ -0,0 +1,142 @@ +--- +id: "_types_.fromurl" +title: "FromURL" +sidebar_label: "FromURL" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromURL](_types_.fromurl.md) + +## Hierarchy + +* **FromURL** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.fromurl.md#constructor) + +### Properties + +* [direction](_types_.fromurl.md#private-direction) +* [ioId](_types_.fromurl.md#private-ioid) +* [url](_types_.fromurl.md#private-url) + +### Accessors + +* [ioID](_types_.fromurl.md#ioid) + +### Methods + +* [setIOID](_types_.fromurl.md#setioid) +* [toIOBuffer](_types_.fromurl.md#toiobuffer) +* [toIOID](_types_.fromurl.md#toioid) +* [toOutput](_types_.fromurl.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromURL**(`url`: string): *[FromURL](_types_.fromurl.md)* + +*Defined in [types.ts:971](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L971)* + +**Parameters:** + +Name | Type | +------ | ------ | +`url` | string | + +**Returns:** *[FromURL](_types_.fromurl.md)* + +## Properties + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:962](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L962)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:961](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L961)* + +___ + +### `Private` url + +• **url**: *string* + +*Defined in [types.ts:960](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L960)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:969](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L969)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:975](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L975)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:963](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L963)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:980](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L980)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹void›* + +*Defined in [types.ts:988](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L988)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹void›* diff --git a/imageflow-node/classes/_types_.gif.md b/imageflow-node/classes/_types_.gif.md new file mode 100644 index 0000000..4a5c312 --- /dev/null +++ b/imageflow-node/classes/_types_.gif.md @@ -0,0 +1,31 @@ +--- +id: "_types_.gif" +title: "GIF" +sidebar_label: "GIF" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [GIF](_types_.gif.md) + +## Hierarchy + +* **GIF** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Methods + +* [toPreset](_types_.gif.md#topreset) + +## Methods + +### toPreset + +▸ **toPreset**(): *string* + +*Defined in [types.ts:68](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L68)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.iodata.md b/imageflow-node/classes/_types_.iodata.md new file mode 100644 index 0000000..2e55647 --- /dev/null +++ b/imageflow-node/classes/_types_.iodata.md @@ -0,0 +1,103 @@ +--- +id: "_types_.iodata" +title: "IOData" +sidebar_label: "IOData" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [IOData](_types_.iodata.md) + +## Hierarchy + +* **IOData** + +## Index + +### Constructors + +* [constructor](_types_.iodata.md#constructor) + +### Properties + +* [direction](_types_.iodata.md#direction) +* [fileName](_types_.iodata.md#filename) +* [io](_types_.iodata.md#io) +* [io_id](_types_.iodata.md#private-readonly-io_id) + +### Accessors + +* [ioID](_types_.iodata.md#ioid) + +### Methods + +* [toIOData](_types_.iodata.md#toiodata) + +## Constructors + +### constructor + +\+ **new IOData**(`filename`: string, `direction`: [Direction](../enums/_types_.direction.md), `io`: string, `ioID`: number): *[IOData](_types_.iodata.md)* + +*Defined in [types.ts:26](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L26)* + +**Parameters:** + +Name | Type | +------ | ------ | +`filename` | string | +`direction` | [Direction](../enums/_types_.direction.md) | +`io` | string | +`ioID` | number | + +**Returns:** *[IOData](_types_.iodata.md)* + +## Properties + +### direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:14](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L14)* + +___ + +### fileName + +• **fileName**: *string* + +*Defined in [types.ts:13](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L13)* + +___ + +### io + +• **io**: *string* + +*Defined in [types.ts:15](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L15)* + +___ + +### `Private` `Readonly` io_id + +• **io_id**: *number* + +*Defined in [types.ts:12](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L12)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:16](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L16)* + +**Returns:** *number* + +## Methods + +### toIOData + +▸ **toIOData**(): *Object* + +*Defined in [types.ts:20](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L20)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.iooperation.md b/imageflow-node/classes/_types_.iooperation.md new file mode 100644 index 0000000..ca6aaa3 --- /dev/null +++ b/imageflow-node/classes/_types_.iooperation.md @@ -0,0 +1,95 @@ +--- +id: "_types_.iooperation" +title: "IOOperation" +sidebar_label: "IOOperation" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [IOOperation](_types_.iooperation.md) + +## Hierarchy + +* **IOOperation** + +## Implemented by + +* [FromBuffer](_types_.frombuffer.md) +* [FromFile](_types_.fromfile.md) +* [FromStream](_types_.fromstream.md) +* [FromURL](_types_.fromurl.md) + +## Index + +### Accessors + +* [ioID](_types_.iooperation.md#ioid) + +### Methods + +* [setIOID](_types_.iooperation.md#abstract-setioid) +* [toIOBuffer](_types_.iooperation.md#abstract-toiobuffer) +* [toIOID](_types_.iooperation.md#abstract-toioid) +* [toOutput](_types_.iooperation.md#abstract-tooutput) + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:860](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L860)* + +**Returns:** *number* + +## Methods + +### `Abstract` setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:859](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L859)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### `Abstract` toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:857](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L857)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### `Abstract` toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:858](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L858)* + +**Returns:** *Object* + +___ + +### `Abstract` toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹any›* + +*Defined in [types.ts:861](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L861)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹any›* diff --git a/imageflow-node/classes/_types_.losslesspng.md b/imageflow-node/classes/_types_.losslesspng.md new file mode 100644 index 0000000..3a02ccb --- /dev/null +++ b/imageflow-node/classes/_types_.losslesspng.md @@ -0,0 +1,63 @@ +--- +id: "_types_.losslesspng" +title: "LosslessPNG" +sidebar_label: "LosslessPNG" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [LosslessPNG](_types_.losslesspng.md) + +## Hierarchy + +* **LosslessPNG** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.losslesspng.md#constructor) + +### Properties + +* [maximumDeflate](_types_.losslesspng.md#private-readonly-maximumdeflate) + +### Methods + +* [toPreset](_types_.losslesspng.md#topreset) + +## Constructors + +### constructor + +\+ **new LosslessPNG**(`maximumDeflate`: boolean): *[LosslessPNG](_types_.losslesspng.md)* + +*Defined in [types.ts:101](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L101)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`maximumDeflate` | boolean | false | + +**Returns:** *[LosslessPNG](_types_.losslesspng.md)* + +## Properties + +### `Private` `Readonly` maximumDeflate + +• **maximumDeflate**: *boolean* + +*Defined in [types.ts:94](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L94)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:95](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L95)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.lossypng.md b/imageflow-node/classes/_types_.lossypng.md new file mode 100644 index 0000000..029ab92 --- /dev/null +++ b/imageflow-node/classes/_types_.lossypng.md @@ -0,0 +1,93 @@ +--- +id: "_types_.lossypng" +title: "LossyPNG" +sidebar_label: "LossyPNG" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [LossyPNG](_types_.lossypng.md) + +## Hierarchy + +* **LossyPNG** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.lossypng.md#constructor) + +### Properties + +* [maxDeflate](_types_.lossypng.md#private-readonly-maxdeflate) +* [minimumQuality](_types_.lossypng.md#private-readonly-minimumquality) +* [quality](_types_.lossypng.md#private-readonly-quality) +* [speed](_types_.lossypng.md#private-readonly-speed) + +### Methods + +* [toPreset](_types_.lossypng.md#topreset) + +## Constructors + +### constructor + +\+ **new LossyPNG**(`quality`: number, `minQuality`: number, `speed`: number | null, `maxDeflate`: boolean): *[LossyPNG](_types_.lossypng.md)* + +*Defined in [types.ts:122](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L122)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`quality` | number | - | +`minQuality` | number | - | +`speed` | number | null | null | +`maxDeflate` | boolean | false | + +**Returns:** *[LossyPNG](_types_.lossypng.md)* + +## Properties + +### `Private` `Readonly` maxDeflate + +• **maxDeflate**: *boolean* + +*Defined in [types.ts:112](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L112)* + +___ + +### `Private` `Readonly` minimumQuality + +• **minimumQuality**: *number* + +*Defined in [types.ts:110](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L110)* + +___ + +### `Private` `Readonly` quality + +• **quality**: *number* + +*Defined in [types.ts:109](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L109)* + +___ + +### `Private` `Readonly` speed + +• **speed**: *number | null* + +*Defined in [types.ts:111](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L111)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:113](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L113)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.mozjpeg.md b/imageflow-node/classes/_types_.mozjpeg.md new file mode 100644 index 0000000..56d4bd6 --- /dev/null +++ b/imageflow-node/classes/_types_.mozjpeg.md @@ -0,0 +1,73 @@ +--- +id: "_types_.mozjpeg" +title: "MozJPEG" +sidebar_label: "MozJPEG" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [MozJPEG](_types_.mozjpeg.md) + +## Hierarchy + +* **MozJPEG** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.mozjpeg.md#constructor) + +### Properties + +* [isProgressive](_types_.mozjpeg.md#private-readonly-isprogressive) +* [quality](_types_.mozjpeg.md#private-readonly-quality) + +### Methods + +* [toPreset](_types_.mozjpeg.md#topreset) + +## Constructors + +### constructor + +\+ **new MozJPEG**(`quality`: number, `isProgressive`: boolean): *[MozJPEG](_types_.mozjpeg.md)* + +*Defined in [types.ts:83](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L83)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quality` | number | +`isProgressive` | boolean | + +**Returns:** *[MozJPEG](_types_.mozjpeg.md)* + +## Properties + +### `Private` `Readonly` isProgressive + +• **isProgressive**: *boolean* + +*Defined in [types.ts:75](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L75)* + +___ + +### `Private` `Readonly` quality + +• **quality**: *number* + +*Defined in [types.ts:74](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L74)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:76](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L76)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.preset.md b/imageflow-node/classes/_types_.preset.md new file mode 100644 index 0000000..9caca02 --- /dev/null +++ b/imageflow-node/classes/_types_.preset.md @@ -0,0 +1,36 @@ +--- +id: "_types_.preset" +title: "Preset" +sidebar_label: "Preset" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Preset](_types_.preset.md) + +## Hierarchy + +* **Preset** + +## Implemented by + +* [GIF](_types_.gif.md) +* [LosslessPNG](_types_.losslesspng.md) +* [LossyPNG](_types_.lossypng.md) +* [MozJPEG](_types_.mozjpeg.md) +* [WebP](_types_.webp.md) +* [WebPLossless](_types_.webplossless.md) + +## Index + +### Methods + +* [toPreset](_types_.preset.md#abstract-topreset) + +## Methods + +### `Abstract` toPreset + +▸ **toPreset**(): *Object | string* + +*Defined in [types.ts:64](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L64)* + +**Returns:** *Object | string* diff --git a/imageflow-node/classes/_types_.region.md b/imageflow-node/classes/_types_.region.md new file mode 100644 index 0000000..1d2b25c --- /dev/null +++ b/imageflow-node/classes/_types_.region.md @@ -0,0 +1,106 @@ +--- +id: "_types_.region" +title: "Region" +sidebar_label: "Region" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Region](_types_.region.md) + +## Hierarchy + +* **Region** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.region.md#constructor) + +### Properties + +* [backgroundColor](_types_.region.md#private-backgroundcolor) +* [x1](_types_.region.md#private-readonly-x1) +* [x2](_types_.region.md#private-readonly-x2) +* [y1](_types_.region.md#private-readonly-y1) +* [y2](_types_.region.md#private-readonly-y2) + +### Methods + +* [toStep](_types_.region.md#tostep) + +## Constructors + +### constructor + +\+ **new Region**(`__namedParameters`: object, `backgroundColor`: [Colors](_types_.colors.md)): *[Region](_types_.region.md)* + +*Defined in [types.ts:408](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L408)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`x1` | number | +`x2` | number | +`y1` | number | +`y2` | number | + +▪ **backgroundColor**: *[Colors](_types_.colors.md)* + +**Returns:** *[Region](_types_.region.md)* + +## Properties + +### `Private` backgroundColor + +• **backgroundColor**: *[Colors](_types_.colors.md)* + +*Defined in [types.ts:397](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L397)* + +___ + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:393](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L393)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:395](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L395)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:394](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L394)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:396](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L396)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:398](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L398)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.regionpercentage.md b/imageflow-node/classes/_types_.regionpercentage.md new file mode 100644 index 0000000..9dfcd50 --- /dev/null +++ b/imageflow-node/classes/_types_.regionpercentage.md @@ -0,0 +1,106 @@ +--- +id: "_types_.regionpercentage" +title: "RegionPercentage" +sidebar_label: "RegionPercentage" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [RegionPercentage](_types_.regionpercentage.md) + +## Hierarchy + +* **RegionPercentage** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.regionpercentage.md#constructor) + +### Properties + +* [backgroundColor](_types_.regionpercentage.md#private-backgroundcolor) +* [x1](_types_.regionpercentage.md#private-readonly-x1) +* [x2](_types_.regionpercentage.md#private-readonly-x2) +* [y1](_types_.regionpercentage.md#private-readonly-y1) +* [y2](_types_.regionpercentage.md#private-readonly-y2) + +### Methods + +* [toStep](_types_.regionpercentage.md#tostep) + +## Constructors + +### constructor + +\+ **new RegionPercentage**(`__namedParameters`: object, `backgroundColor`: [Colors](_types_.colors.md)): *[RegionPercentage](_types_.regionpercentage.md)* + +*Defined in [types.ts:378](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L378)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`x1` | number | +`x2` | number | +`y1` | number | +`y2` | number | + +▪ **backgroundColor**: *[Colors](_types_.colors.md)* + +**Returns:** *[RegionPercentage](_types_.regionpercentage.md)* + +## Properties + +### `Private` backgroundColor + +• **backgroundColor**: *[Colors](_types_.colors.md)* + +*Defined in [types.ts:367](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L367)* + +___ + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:363](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L363)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:365](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L365)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:364](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L364)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:366](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L366)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:368](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L368)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.resample.md b/imageflow-node/classes/_types_.resample.md new file mode 100644 index 0000000..2461b22 --- /dev/null +++ b/imageflow-node/classes/_types_.resample.md @@ -0,0 +1,83 @@ +--- +id: "_types_.resample" +title: "ReSample" +sidebar_label: "ReSample" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ReSample](_types_.resample.md) + +## Hierarchy + +* **ReSample** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.resample.md#constructor) + +### Properties + +* [h](_types_.resample.md#private-h) +* [hint](_types_.resample.md#private-hint) +* [w](_types_.resample.md#private-w) + +### Methods + +* [toStep](_types_.resample.md#tostep) + +## Constructors + +### constructor + +\+ **new ReSample**(`w`: number, `h`: number, `hint`: [ConstrainHints](_types_.constrainhints.md) | null): *[ReSample](_types_.resample.md)* + +*Defined in [types.ts:1005](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L1005)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`w` | number | - | +`h` | number | - | +`hint` | [ConstrainHints](_types_.constrainhints.md) | null | null | + +**Returns:** *[ReSample](_types_.resample.md)* + +## Properties + +### `Private` h + +• **h**: *number* + +*Defined in [types.ts:995](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L995)* + +___ + +### `Private` hint + +• **hint**: *[ConstrainHints](_types_.constrainhints.md) | null* + +*Defined in [types.ts:996](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L996)* + +___ + +### `Private` w + +• **w**: *number* + +*Defined in [types.ts:994](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L994)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:997](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L997)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.rotate180.md b/imageflow-node/classes/_types_.rotate180.md new file mode 100644 index 0000000..1075a91 --- /dev/null +++ b/imageflow-node/classes/_types_.rotate180.md @@ -0,0 +1,31 @@ +--- +id: "_types_.rotate180" +title: "Rotate180" +sidebar_label: "Rotate180" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Rotate180](_types_.rotate180.md) + +## Hierarchy + +* **Rotate180** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.rotate180.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:451](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L451)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.rotate270.md b/imageflow-node/classes/_types_.rotate270.md new file mode 100644 index 0000000..20ee698 --- /dev/null +++ b/imageflow-node/classes/_types_.rotate270.md @@ -0,0 +1,31 @@ +--- +id: "_types_.rotate270" +title: "Rotate270" +sidebar_label: "Rotate270" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Rotate270](_types_.rotate270.md) + +## Hierarchy + +* **Rotate270** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.rotate270.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:457](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L457)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.rotate90.md b/imageflow-node/classes/_types_.rotate90.md new file mode 100644 index 0000000..cdf1ad8 --- /dev/null +++ b/imageflow-node/classes/_types_.rotate90.md @@ -0,0 +1,31 @@ +--- +id: "_types_.rotate90" +title: "Rotate90" +sidebar_label: "Rotate90" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Rotate90](_types_.rotate90.md) + +## Hierarchy + +* **Rotate90** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.rotate90.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:445](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L445)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.srgbcolor.md b/imageflow-node/classes/_types_.srgbcolor.md new file mode 100644 index 0000000..460af17 --- /dev/null +++ b/imageflow-node/classes/_types_.srgbcolor.md @@ -0,0 +1,73 @@ +--- +id: "_types_.srgbcolor" +title: "SRGBColor" +sidebar_label: "SRGBColor" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [SRGBColor](_types_.srgbcolor.md) + +## Hierarchy + +* **SRGBColor** + +## Implements + +* [Colors](_types_.colors.md) + +## Index + +### Constructors + +* [constructor](_types_.srgbcolor.md#constructor) + +### Properties + +* [type](_types_.srgbcolor.md#private-readonly-type) +* [value](_types_.srgbcolor.md#private-readonly-value) + +### Methods + +* [toColor](_types_.srgbcolor.md#tocolor) + +## Constructors + +### constructor + +\+ **new SRGBColor**(`type`: [ColorType](../enums/_types_.colortype.md), `value`: string): *[SRGBColor](_types_.srgbcolor.md)* + +*Defined in [types.ts:518](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L518)* + +**Parameters:** + +Name | Type | +------ | ------ | +`type` | [ColorType](../enums/_types_.colortype.md) | +`value` | string | + +**Returns:** *[SRGBColor](_types_.srgbcolor.md)* + +## Properties + +### `Private` `Readonly` type + +• **type**: *[ColorType](../enums/_types_.colortype.md)* + +*Defined in [types.ts:510](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L510)* + +___ + +### `Private` `Readonly` value + +• **value**: *string* + +*Defined in [types.ts:511](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L511)* + +## Methods + +### toColor + +▸ **toColor**(): *Object* + +*Defined in [types.ts:512](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L512)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.transparentcolor.md b/imageflow-node/classes/_types_.transparentcolor.md new file mode 100644 index 0000000..acd26e4 --- /dev/null +++ b/imageflow-node/classes/_types_.transparentcolor.md @@ -0,0 +1,31 @@ +--- +id: "_types_.transparentcolor" +title: "TransparentColor" +sidebar_label: "TransparentColor" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [TransparentColor](_types_.transparentcolor.md) + +## Hierarchy + +* **TransparentColor** + +## Implements + +* [Colors](_types_.colors.md) + +## Index + +### Methods + +* [toColor](_types_.transparentcolor.md#tocolor) + +## Methods + +### toColor + +▸ **toColor**(): *string* + +*Defined in [types.ts:527](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L527)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.watermark.md b/imageflow-node/classes/_types_.watermark.md new file mode 100644 index 0000000..af9c714 --- /dev/null +++ b/imageflow-node/classes/_types_.watermark.md @@ -0,0 +1,116 @@ +--- +id: "_types_.watermark" +title: "Watermark" +sidebar_label: "Watermark" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Watermark](_types_.watermark.md) + +## Hierarchy + +* **Watermark** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.watermark.md#constructor) + +### Properties + +* [fitBox](_types_.watermark.md#private-fitbox) +* [fitMode](_types_.watermark.md#private-readonly-fitmode) +* [gravity](_types_.watermark.md#private-gravity) +* [hint](_types_.watermark.md#private-hint) +* [ioID](_types_.watermark.md#private-readonly-ioid) +* [opacity](_types_.watermark.md#private-readonly-opacity) + +### Methods + +* [toStep](_types_.watermark.md#tostep) + +## Constructors + +### constructor + +\+ **new Watermark**(`ioID`: number, `__namedParameters`: object): *[Watermark](_types_.watermark.md)* + +*Defined in [types.ts:672](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L672)* + +**Parameters:** + +▪ **ioID**: *number* + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`box` | [FitBox](_types_.fitbox.md)‹› | +`gravity` | [ConstrainGravity](_types_.constraingravity.md)‹› | +`hint` | [ConstrainHints](_types_.constrainhints.md)‹› | +`mode` | [FitMode](../enums/_types_.fitmode.md) | +`opacity` | number | + +**Returns:** *[Watermark](_types_.watermark.md)* + +## Properties + +### `Private` fitBox + +• **fitBox**: *[FitBox](_types_.fitbox.md)* + +*Defined in [types.ts:658](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L658)* + +___ + +### `Private` `Readonly` fitMode + +• **fitMode**: *[FitMode](../enums/_types_.fitmode.md)* + +*Defined in [types.ts:657](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L657)* + +___ + +### `Private` gravity + +• **gravity**: *[ConstrainGravity](_types_.constraingravity.md)* + +*Defined in [types.ts:656](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L656)* + +___ + +### `Private` hint + +• **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:660](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L660)* + +___ + +### `Private` `Readonly` ioID + +• **ioID**: *number* + +*Defined in [types.ts:655](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L655)* + +___ + +### `Private` `Readonly` opacity + +• **opacity**: *number* + +*Defined in [types.ts:659](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L659)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:661](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L661)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.webp.md b/imageflow-node/classes/_types_.webp.md new file mode 100644 index 0000000..3d16bba --- /dev/null +++ b/imageflow-node/classes/_types_.webp.md @@ -0,0 +1,63 @@ +--- +id: "_types_.webp" +title: "WebP" +sidebar_label: "WebP" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WebP](_types_.webp.md) + +## Hierarchy + +* **WebP** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.webp.md#constructor) + +### Properties + +* [quality](_types_.webp.md#private-readonly-quality) + +### Methods + +* [toPreset](_types_.webp.md#topreset) + +## Constructors + +### constructor + +\+ **new WebP**(`quality`: number): *[WebP](_types_.webp.md)* + +*Defined in [types.ts:150](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L150)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quality` | number | + +**Returns:** *[WebP](_types_.webp.md)* + +## Properties + +### `Private` `Readonly` quality + +• **quality**: *number* + +*Defined in [types.ts:143](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L143)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:144](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L144)* + +**Returns:** *Object* diff --git a/imageflow-node/classes/_types_.webplossless.md b/imageflow-node/classes/_types_.webplossless.md new file mode 100644 index 0000000..b5ad0c1 --- /dev/null +++ b/imageflow-node/classes/_types_.webplossless.md @@ -0,0 +1,31 @@ +--- +id: "_types_.webplossless" +title: "WebPLossless" +sidebar_label: "WebPLossless" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WebPLossless](_types_.webplossless.md) + +## Hierarchy + +* **WebPLossless** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Methods + +* [toPreset](_types_.webplossless.md#topreset) + +## Methods + +### toPreset + +▸ **toPreset**(): *string* + +*Defined in [types.ts:159](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L159)* + +**Returns:** *string* diff --git a/imageflow-node/classes/_types_.whitebalance.md b/imageflow-node/classes/_types_.whitebalance.md new file mode 100644 index 0000000..8ef297f --- /dev/null +++ b/imageflow-node/classes/_types_.whitebalance.md @@ -0,0 +1,59 @@ +--- +id: "_types_.whitebalance" +title: "WhiteBalance" +sidebar_label: "WhiteBalance" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WhiteBalance](_types_.whitebalance.md) + +## Hierarchy + +* **WhiteBalance** + +## Index + +### Constructors + +* [constructor](_types_.whitebalance.md#constructor) + +### Properties + +* [threshold](_types_.whitebalance.md#private-threshold) + +### Methods + +* [toStep](_types_.whitebalance.md#tostep) + +## Constructors + +### constructor + +\+ **new WhiteBalance**(`threshold`: number): *[WhiteBalance](_types_.whitebalance.md)* + +*Defined in [types.ts:722](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L722)* + +**Parameters:** + +Name | Type | +------ | ------ | +`threshold` | number | + +**Returns:** *[WhiteBalance](_types_.whitebalance.md)* + +## Properties + +### `Private` threshold + +• **threshold**: *number* + +*Defined in [types.ts:715](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L715)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:716](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L716)* + +**Returns:** *Object* diff --git a/imageflow-node/enums/_types_.colorfiltersrgbtype.md b/imageflow-node/enums/_types_.colorfiltersrgbtype.md new file mode 100644 index 0000000..d99d301 --- /dev/null +++ b/imageflow-node/enums/_types_.colorfiltersrgbtype.md @@ -0,0 +1,57 @@ +--- +id: "_types_.colorfiltersrgbtype" +title: "ColorFilterSRGBType" +sidebar_label: "ColorFilterSRGBType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGBType](_types_.colorfiltersrgbtype.md) + +## Index + +### Enumeration members + +* [GrayscaleBt709](_types_.colorfiltersrgbtype.md#grayscalebt709) +* [GrayscaleFlat](_types_.colorfiltersrgbtype.md#grayscaleflat) +* [GrayscaleNtsc](_types_.colorfiltersrgbtype.md#grayscalentsc) +* [GrayscaleRY](_types_.colorfiltersrgbtype.md#grayscalery) +* [Invert](_types_.colorfiltersrgbtype.md#invert) + +## Enumeration members + +### GrayscaleBt709 + +• **GrayscaleBt709**: = "grayscale_bt709" + +*Defined in [types.ts:730](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L730)* + +___ + +### GrayscaleFlat + +• **GrayscaleFlat**: = "grayscale_flat" + +*Defined in [types.ts:729](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L729)* + +___ + +### GrayscaleNtsc + +• **GrayscaleNtsc**: = "grayscale_ntsc" + +*Defined in [types.ts:728](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L728)* + +___ + +### GrayscaleRY + +• **GrayscaleRY**: = "grayscale_ry" + +*Defined in [types.ts:731](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L731)* + +___ + +### Invert + +• **Invert**: = "invert" + +*Defined in [types.ts:732](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L732)* diff --git a/imageflow-node/enums/_types_.colorfiltersrgbvaluetype.md b/imageflow-node/enums/_types_.colorfiltersrgbvaluetype.md new file mode 100644 index 0000000..468b589 --- /dev/null +++ b/imageflow-node/enums/_types_.colorfiltersrgbvaluetype.md @@ -0,0 +1,39 @@ +--- +id: "_types_.colorfiltersrgbvaluetype" +title: "ColorFilterSRGBValueType" +sidebar_label: "ColorFilterSRGBValueType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGBValueType](_types_.colorfiltersrgbvaluetype.md) + +## Index + +### Enumeration members + +* [Alpha](_types_.colorfiltersrgbvaluetype.md#alpha) +* [Brightness](_types_.colorfiltersrgbvaluetype.md#brightness) +* [Contrast](_types_.colorfiltersrgbvaluetype.md#contrast) + +## Enumeration members + +### Alpha + +• **Alpha**: = "alpha" + +*Defined in [types.ts:736](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L736)* + +___ + +### Brightness + +• **Brightness**: = "brightness" + +*Defined in [types.ts:738](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L738)* + +___ + +### Contrast + +• **Contrast**: = "contrast" + +*Defined in [types.ts:737](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L737)* diff --git a/imageflow-node/enums/_types_.colortype.md b/imageflow-node/enums/_types_.colortype.md new file mode 100644 index 0000000..78d28a8 --- /dev/null +++ b/imageflow-node/enums/_types_.colortype.md @@ -0,0 +1,21 @@ +--- +id: "_types_.colortype" +title: "ColorType" +sidebar_label: "ColorType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorType](_types_.colortype.md) + +## Index + +### Enumeration members + +* [Hex](_types_.colortype.md#hex) + +## Enumeration members + +### Hex + +• **Hex**: = "hex" + +*Defined in [types.ts:506](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L506)* diff --git a/imageflow-node/enums/_types_.compositingmode.md b/imageflow-node/enums/_types_.compositingmode.md new file mode 100644 index 0000000..c496dd9 --- /dev/null +++ b/imageflow-node/enums/_types_.compositingmode.md @@ -0,0 +1,30 @@ +--- +id: "_types_.compositingmode" +title: "CompositingMode" +sidebar_label: "CompositingMode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CompositingMode](_types_.compositingmode.md) + +## Index + +### Enumeration members + +* [Compose](_types_.compositingmode.md#compose) +* [Overwrite](_types_.compositingmode.md#overwrite) + +## Enumeration members + +### Compose + +• **Compose**: = "compose" + +*Defined in [types.ts:817](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L817)* + +___ + +### Overwrite + +• **Overwrite**: = "overwrite" + +*Defined in [types.ts:818](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L818)* diff --git a/imageflow-node/enums/_types_.constrainmode.md b/imageflow-node/enums/_types_.constrainmode.md new file mode 100644 index 0000000..ce52c99 --- /dev/null +++ b/imageflow-node/enums/_types_.constrainmode.md @@ -0,0 +1,93 @@ +--- +id: "_types_.constrainmode" +title: "ConstrainMode" +sidebar_label: "ConstrainMode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainMode](_types_.constrainmode.md) + +## Index + +### Enumeration members + +* [AspectCrop](_types_.constrainmode.md#aspectcrop) +* [Distort](_types_.constrainmode.md#distort) +* [Fit](_types_.constrainmode.md#fit) +* [FitCrop](_types_.constrainmode.md#fitcrop) +* [FitPad](_types_.constrainmode.md#fitpad) +* [LargerThan](_types_.constrainmode.md#largerthan) +* [Within](_types_.constrainmode.md#within) +* [WithinCrop](_types_.constrainmode.md#withincrop) +* [WithinPad](_types_.constrainmode.md#withinpad) + +## Enumeration members + +### AspectCrop + +• **AspectCrop**: = "aspect_crop" + +*Defined in [types.ts:309](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L309)* + +___ + +### Distort + +• **Distort**: = "distort" + +*Defined in [types.ts:295](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L295)* + +___ + +### Fit + +• **Fit**: = "fit" + +*Defined in [types.ts:299](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L299)* + +___ + +### FitCrop + +• **FitCrop**: = "fit_crop" + +*Defined in [types.ts:307](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L307)* + +___ + +### FitPad + +• **FitPad**: = "fit_pad" + +*Defined in [types.ts:315](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L315)* + +___ + +### LargerThan + +• **LargerThan**: = "larger_than" + +*Defined in [types.ts:301](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L301)* + +___ + +### Within + +• **Within**: = "within" + +*Defined in [types.ts:297](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L297)* + +___ + +### WithinCrop + +• **WithinCrop**: = "within_crop" + +*Defined in [types.ts:304](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L304)* + +___ + +### WithinPad + +• **WithinPad**: = "within_pad" + +*Defined in [types.ts:312](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L312)* diff --git a/imageflow-node/enums/_types_.direction.md b/imageflow-node/enums/_types_.direction.md new file mode 100644 index 0000000..3193ee2 --- /dev/null +++ b/imageflow-node/enums/_types_.direction.md @@ -0,0 +1,30 @@ +--- +id: "_types_.direction" +title: "Direction" +sidebar_label: "Direction" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Direction](_types_.direction.md) + +## Index + +### Enumeration members + +* [in](_types_.direction.md#in) +* [out](_types_.direction.md#out) + +## Enumeration members + +### in + +• **in**: = "in" + +*Defined in [types.ts:7](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L7)* + +___ + +### out + +• **out**: = "out" + +*Defined in [types.ts:8](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L8)* diff --git a/imageflow-node/enums/_types_.filter.md b/imageflow-node/enums/_types_.filter.md new file mode 100644 index 0000000..5fb54cd --- /dev/null +++ b/imageflow-node/enums/_types_.filter.md @@ -0,0 +1,210 @@ +--- +id: "_types_.filter" +title: "Filter" +sidebar_label: "Filter" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Filter](_types_.filter.md) + +## Index + +### Enumeration members + +* [Box](_types_.filter.md#box) +* [CatmullRom](_types_.filter.md#catmullrom) +* [Cubic](_types_.filter.md#cubic) +* [CubicBSpline](_types_.filter.md#cubicbspline) +* [CubicSharp](_types_.filter.md#cubicsharp) +* [Fastest](_types_.filter.md#fastest) +* [Ginseng](_types_.filter.md#ginseng) +* [GinsengSharp](_types_.filter.md#ginsengsharp) +* [Hermite](_types_.filter.md#hermite) +* [Jinc](_types_.filter.md#jinc) +* [Lanczos](_types_.filter.md#lanczos) +* [Lanczos2](_types_.filter.md#lanczos2) +* [Lanczos2Sharp](_types_.filter.md#lanczos2sharp) +* [LanczosSharp](_types_.filter.md#lanczossharp) +* [Linear](_types_.filter.md#linear) +* [Mitchell](_types_.filter.md#mitchell) +* [NCubic](_types_.filter.md#ncubic) +* [NCubicSharp](_types_.filter.md#ncubicsharp) +* [Robidoux](_types_.filter.md#robidoux) +* [RobidouxFast](_types_.filter.md#robidouxfast) +* [RobidouxSharp](_types_.filter.md#robidouxsharp) +* [Triangle](_types_.filter.md#triangle) + +## Enumeration members + +### Box + +• **Box**: = "box" + +*Defined in [types.ts:203](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L203)* + +___ + +### CatmullRom + +• **CatmullRom**: = "catmull_rom" + +*Defined in [types.ts:194](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L194)* + +___ + +### Cubic + +• **Cubic**: = "cubic" + +*Defined in [types.ts:192](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L192)* + +___ + +### CubicBSpline + +• **CubicBSpline**: = "cubic_b_spline" + +*Defined in [types.ts:197](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L197)* + +___ + +### CubicSharp + +• **CubicSharp**: = "cubic_sharp" + +*Defined in [types.ts:193](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L193)* + +___ + +### Fastest + +• **Fastest**: = "fastest" + +*Defined in [types.ts:205](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L205)* + +___ + +### Ginseng + +• **Ginseng**: = "ginseng" + +*Defined in [types.ts:186](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L186)* + +___ + +### GinsengSharp + +• **GinsengSharp**: = "ginseng_sharp" + +*Defined in [types.ts:187](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L187)* + +___ + +### Hermite + +• **Hermite**: = "hermite" + +*Defined in [types.ts:198](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L198)* + +___ + +### Jinc + +• **Jinc**: = "jinc" + +*Defined in [types.ts:199](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L199)* + +___ + +### Lanczos + +• **Lanczos**: = "lanczos" + +*Defined in [types.ts:188](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L188)* + +___ + +### Lanczos2 + +• **Lanczos2**: = "lanczos_2" + +*Defined in [types.ts:190](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L190)* + +___ + +### Lanczos2Sharp + +• **Lanczos2Sharp**: = "lanczos_2_sharp" + +*Defined in [types.ts:191](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L191)* + +___ + +### LanczosSharp + +• **LanczosSharp**: = "lanczos_sharp" + +*Defined in [types.ts:189](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L189)* + +___ + +### Linear + +• **Linear**: = "linear" + +*Defined in [types.ts:202](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L202)* + +___ + +### Mitchell + +• **Mitchell**: = "mitchell" + +*Defined in [types.ts:195](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L195)* + +___ + +### NCubic + +• **NCubic**: = "n_cubic" + +*Defined in [types.ts:206](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L206)* + +___ + +### NCubicSharp + +• **NCubicSharp**: = "n_cubic_sharp" + +*Defined in [types.ts:207](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L207)* + +___ + +### Robidoux + +• **Robidoux**: = "robidoux" + +*Defined in [types.ts:184](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L184)* + +___ + +### RobidouxFast + +• **RobidouxFast**: = "robidoux_fast" + +*Defined in [types.ts:183](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L183)* + +___ + +### RobidouxSharp + +• **RobidouxSharp**: = "robidoux_sharp" + +*Defined in [types.ts:185](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L185)* + +___ + +### Triangle + +• **Triangle**: = "triangle" + +*Defined in [types.ts:201](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L201)* diff --git a/imageflow-node/enums/_types_.fitmode.md b/imageflow-node/enums/_types_.fitmode.md new file mode 100644 index 0000000..6320055 --- /dev/null +++ b/imageflow-node/enums/_types_.fitmode.md @@ -0,0 +1,57 @@ +--- +id: "_types_.fitmode" +title: "FitMode" +sidebar_label: "FitMode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitMode](_types_.fitmode.md) + +## Index + +### Enumeration members + +* [Distort](_types_.fitmode.md#distort) +* [Fit](_types_.fitmode.md#fit) +* [FitCrop](_types_.fitmode.md#fitcrop) +* [Within](_types_.fitmode.md#within) +* [WithinCrop](_types_.fitmode.md#withincrop) + +## Enumeration members + +### Distort + +• **Distort**: = "distort" + +*Defined in [types.ts:575](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L575)* + +___ + +### Fit + +• **Fit**: = "fit" + +*Defined in [types.ts:577](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L577)* + +___ + +### FitCrop + +• **FitCrop**: = "fit_crop" + +*Defined in [types.ts:579](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L579)* + +___ + +### Within + +• **Within**: = "within" + +*Defined in [types.ts:576](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L576)* + +___ + +### WithinCrop + +• **WithinCrop**: = "within_crop" + +*Defined in [types.ts:578](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L578)* diff --git a/imageflow-node/enums/_types_.resamplewhen.md b/imageflow-node/enums/_types_.resamplewhen.md new file mode 100644 index 0000000..973eeab --- /dev/null +++ b/imageflow-node/enums/_types_.resamplewhen.md @@ -0,0 +1,39 @@ +--- +id: "_types_.resamplewhen" +title: "ResampleWhen" +sidebar_label: "ResampleWhen" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ResampleWhen](_types_.resamplewhen.md) + +## Index + +### Enumeration members + +* [Always](_types_.resamplewhen.md#always) +* [SizeDiffers](_types_.resamplewhen.md#sizediffers) +* [SizeDiffersOrSharpeningRequested](_types_.resamplewhen.md#sizediffersorsharpeningrequested) + +## Enumeration members + +### Always + +• **Always**: = "always" + +*Defined in [types.ts:213](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L213)* + +___ + +### SizeDiffers + +• **SizeDiffers**: = "size_differs" + +*Defined in [types.ts:211](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L211)* + +___ + +### SizeDiffersOrSharpeningRequested + +• **SizeDiffersOrSharpeningRequested**: = "size_differs_or_sharpening_requested" + +*Defined in [types.ts:212](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L212)* diff --git a/imageflow-node/enums/_types_.scalingfloatspace.md b/imageflow-node/enums/_types_.scalingfloatspace.md new file mode 100644 index 0000000..4d21db6 --- /dev/null +++ b/imageflow-node/enums/_types_.scalingfloatspace.md @@ -0,0 +1,30 @@ +--- +id: "_types_.scalingfloatspace" +title: "ScalingFloatspace" +sidebar_label: "ScalingFloatspace" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ScalingFloatspace](_types_.scalingfloatspace.md) + +## Index + +### Enumeration members + +* [Linear](_types_.scalingfloatspace.md#linear) +* [Srgb](_types_.scalingfloatspace.md#srgb) + +## Enumeration members + +### Linear + +• **Linear**: = "linear" + +*Defined in [types.ts:225](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L225)* + +___ + +### Srgb + +• **Srgb**: = "srgb" + +*Defined in [types.ts:224](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L224)* diff --git a/imageflow-node/enums/_types_.sharpenwhen.md b/imageflow-node/enums/_types_.sharpenwhen.md new file mode 100644 index 0000000..5b0b128 --- /dev/null +++ b/imageflow-node/enums/_types_.sharpenwhen.md @@ -0,0 +1,48 @@ +--- +id: "_types_.sharpenwhen" +title: "SharpenWhen" +sidebar_label: "SharpenWhen" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [SharpenWhen](_types_.sharpenwhen.md) + +## Index + +### Enumeration members + +* [Always](_types_.sharpenwhen.md#always) +* [Downscaling](_types_.sharpenwhen.md#downscaling) +* [SizeDiffers](_types_.sharpenwhen.md#sizediffers) +* [Upscaling](_types_.sharpenwhen.md#upscaling) + +## Enumeration members + +### Always + +• **Always**: = "always" + +*Defined in [types.ts:220](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L220)* + +___ + +### Downscaling + +• **Downscaling**: = "downscaling" + +*Defined in [types.ts:217](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L217)* + +___ + +### SizeDiffers + +• **SizeDiffers**: = "size_differs" + +*Defined in [types.ts:219](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L219)* + +___ + +### Upscaling + +• **Upscaling**: = "upscaling" + +*Defined in [types.ts:218](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L218)* diff --git a/imageflow-node/globals.md b/imageflow-node/globals.md new file mode 100644 index 0000000..dd12bb7 --- /dev/null +++ b/imageflow-node/globals.md @@ -0,0 +1,17 @@ +--- +id: "globals" +title: "@imazen/imageflow" +sidebar_label: "Globals" +--- + +[@imazen/imageflow](index.md) › [Globals](globals.md) + +## Index + +### Modules + +* ["index"](modules/_index_.md) +* ["job"](modules/_job_.md) +* ["json"](modules/_json_.md) +* ["native"](modules/_native_.md) +* ["types"](modules/_types_.md) diff --git a/imageflow-node/index.md b/imageflow-node/index.md new file mode 100644 index 0000000..9bb26ef --- /dev/null +++ b/imageflow-node/index.md @@ -0,0 +1,208 @@ +--- +id: "index" +title: "@imazen/imageflow" +sidebar_label: "README" +slug: / +--- + +[@imazen/imageflow](index.md) › [Globals](globals.md) + +# Node bindings for [Imageflow](https://github.com/imazen/imageflow) + +[![Macos](https://github.com/imazen/imageflow-node/workflows/Test%20Macos/badge.svg)](https://github.com/imazen/imageflow-node/actions?query=workflow%3A%22Test+Macos%22) [![Linux](https://github.com/imazen/imageflow-node/workflows/Test%20Linux/badge.svg)](https://github.com/imazen/imageflow-node/actions?query=workflow%3A%22Test+Linux%22) [![Windows](https://github.com/imazen/imageflow-node/workflows/Test%20Windows/badge.svg)](https://github.com/imazen/imageflow-node/actions?query=workflow%3A%22Test+Windows%22) + +Quickly scale or modify images and optimize them for the web. + +If the AGPLv3 does not work for you, you can get a [commercial license](https://imageresizing.net/pricing) on a sliding scale. If you have more than 1 server doing image processing your savings should cover the cost. + +[API docs are here](modules/_index_.md). + +## Installation + +```bash +npm install @imazen/imageflow +``` + +## Usage + +```js +const { + MozJPEG, + Steps, + FromURL, + FromFile, + FromStream, + FromBuffer, +} = require('@imazen/imageflow') +const fs = require('fs') + +let step = new Steps(new FromURL('https://jpeg.org/images/jpeg2000-home.jpg')) + .constrainWithin(500, 500) + .branch((step) => + step + .constrainWithin(400, 400) + .branch((step) => + step + .constrainWithin(200, 200) + .rotate90() + .colorFilterGrayscaleFlat() + .encode(new FromFile('./branch_2.jpg'), new MozJPEG(80)) + ) + .copyRectangle( + (canvas) => + canvas.decode( + new FromStream(fs.createReadStream('./test.jpg')) + ), + { x: 0, y: 0, w: 100, h: 100 }, + 10, + 10 + ) + .encode(new FromFile('./branch.jpg'), new MozJPEG(80)) + ) + .constrainWithin(100, 100) + .rotate180() +step.encode(new FromBuffer(null, 'key'), new MozJPEG(80)) + .execute() + .then(console.log) + .catch(console.log) +``` + +### Examples + +1. Reading a file from disk. `FromFile` provide an easy method for reading and writing images to disk. + +```js +const { MozJPEG, Steps, FromFile } = require('@imazen/imageflow') + +const output = await new Step(new FromFile('path/to/file')) + .rotate180() + .encode(new FromFile('./path/to/output/file')) + .execute() +``` + +2. Reading from a stream. `FromStream` can read and write to a stream. + +```js +const { MozJPEG, Steps, FromStream } = require('@imazen/imageflow') + +const output = await new Step(new FromStream(req)) + .constrainWithin(400, 400) + .encode(new FromStream(res)) + .execute() +res.end() +``` + +3. Reading from a url. `FromURL` can make a GET request to download and POST request to upload the image. + +```js +const { MozJPEG, Steps, FromURL } = require('@imazen/imageflow') + +const output = await new Step(new FromURL('url to image')) + .colorFilterGrayscaleFlat() + .encode(new FromURL('url to image upload')) + .execute() +``` + +4. Providing buffer. `FromBuffer` can read and provide the output buffer. To read the output a key should be provided, which used later to access buffer in the output. + +```js +const { MozJPEG, Steps, FromBuffer } = require('@imazen/imageflow') + +const output = await new Step(new FromBuffer(getSomeBuffer())) + .colorFilterGrayscaleFlat() + .encode(new FromBuffer(null, 'key')) + .execute() +console.log(output.key) +``` + +5. Performing Batch operations. `branch`, `decode`, and `encode` are used together to perform batch operation. This example shows how to create varying size images from a single image. + +```js +const { MozJPEG, Steps, FromStream, FromFile } = require('@imazen/imageflow') + +const test = new Steps(new FromStream(req)) + .constrainWithin(800, 800) + .branch((step) => step.encode(new FromFile('large.jpg'), new MozJPEG())) + .branch((step) => + step + .constrainWithin(400, 400) + .branch((step) => + step + .constrainWithin(200, 200) + .branch((step) => + step + .constrainWithin(100, 100) + .encode( + new FromFile('tiny.jpg'), + new MozJPEG() + ) + ) + .encode(new FromFile('small.jpg'), new MozJPEG()) + ) + .encode(new FromFile('medium.jpg'), new MozJPEG()) + ) + .execute() +``` + +6. Example with complex graph of operations + +```js +const { + MozJPEG, + Steps, + FromURL, + FromFile, + FromStream, + FromBuffer, +} = require('@imazen/imageflow') +const fs = require('fs') + +let step = new Steps(new FromURL('https://jpeg.org/images/jpeg2000-home.jpg')) + .constraintWithin(500, 500) + .branch((step) => + step + .constraintWithin(400, 400) + .branch((step) => + step + .constraintWithin(200, 200) + .rotate90() + .colorFilterGrayscaleFlat() + .encode(new FromFile('./branch_2.jpg'), new MozJPEG(80)) + ) + .copyRectangle( + (canvas) => + canvas.decode( + new FromStream(fs.createReadStream('./test.jpg')) + ), + { x: 0, y: 0, w: 100, h: 100 }, + 10, + 10 + ) + .encode(new FromFile('./branch.jpg'), new MozJPEG(80)) + ) + .constraintWithin(100, 100) + .rotate180() +step.encode(new FromBuffer(null, 'key'), new MozJPEG(80)) + .execute() + .then(console.log) + .catch(console.log) +``` + +7. Using query style commands + +```js +await new Steps().executeCommand( + 'width=100&height=100&mode=max', + new FromBuffer(str), + new FromBuffer(null, 'key') + ) +``` + +## Local Setup + +```bash +git clone https://github.com/imazen/imageflow-node +cd imageflow-node +yarn +yarn test +``` diff --git a/imageflow-node/interfaces/_json_.edge.md b/imageflow-node/interfaces/_json_.edge.md new file mode 100644 index 0000000..e0f5b4f --- /dev/null +++ b/imageflow-node/interfaces/_json_.edge.md @@ -0,0 +1,34 @@ +--- +id: "_json_.edge" +title: "edge" +sidebar_label: "edge" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](../modules/_json_.md) › [edge](_json_.edge.md) + +## Hierarchy + +* **edge** + +## Index + +### Properties + +* [to](_json_.edge.md#to) +* [type](_json_.edge.md#type) + +## Properties + +### to + +• **to**: *number* + +*Defined in [json.ts:479](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L479)* + +___ + +### type + +• **type**: *string* + +*Defined in [json.ts:480](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L480)* diff --git a/imageflow-node/interfaces/_native_.jobtype.md b/imageflow-node/interfaces/_native_.jobtype.md new file mode 100644 index 0000000..35979d2 --- /dev/null +++ b/imageflow-node/interfaces/_native_.jobtype.md @@ -0,0 +1,104 @@ +--- +id: "_native_.jobtype" +title: "JobType" +sidebar_label: "JobType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["native"](../modules/_native_.md) › [JobType](_native_.jobtype.md) + +## Hierarchy + +* **JobType** + +## Index + +### Methods + +* [addInputBytesCopied](_native_.jobtype.md#addinputbytescopied) +* [addOutputBuffer](_native_.jobtype.md#addoutputbuffer) +* [getOutputBufferBytes](_native_.jobtype.md#getoutputbufferbytes) +* [message](_native_.jobtype.md#message) +* [messageSync](_native_.jobtype.md#messagesync) + +## Methods + +### addInputBytesCopied + +▸ **addInputBytesCopied**(`ioId`: number, `bytes`: ArrayBuffer): *void* + +*Defined in [native.ts:4](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L4)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | +`bytes` | ArrayBuffer | + +**Returns:** *void* + +___ + +### addOutputBuffer + +▸ **addOutputBuffer**(`ioId`: number): *void* + +*Defined in [native.ts:6](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L6)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *void* + +___ + +### getOutputBufferBytes + +▸ **getOutputBufferBytes**(`ioId`: number): *ArrayBuffer* + +*Defined in [native.ts:5](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L5)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *ArrayBuffer* + +___ + +### message + +▸ **message**(`endPoint`: string, `tasks`: string): *Promise‹string›* + +*Defined in [native.ts:7](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L7)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *Promise‹string›* + +___ + +### messageSync + +▸ **messageSync**(`endPoint`: string, `tasks`: string): *string* + +*Defined in [native.ts:8](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L8)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *string* diff --git a/imageflow-node/interfaces/_types_.constrainhintsoptions.md b/imageflow-node/interfaces/_types_.constrainhintsoptions.md new file mode 100644 index 0000000..f10e4f3 --- /dev/null +++ b/imageflow-node/interfaces/_types_.constrainhintsoptions.md @@ -0,0 +1,61 @@ +--- +id: "_types_.constrainhintsoptions" +title: "ConstrainHintsOptions" +sidebar_label: "ConstrainHintsOptions" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainHintsOptions](_types_.constrainhintsoptions.md) + +## Hierarchy + +* **ConstrainHintsOptions** + +## Index + +### Properties + +* [downFilter](_types_.constrainhintsoptions.md#optional-downfilter) +* [resampleWhen](_types_.constrainhintsoptions.md#optional-resamplewhen) +* [scalingColorScape](_types_.constrainhintsoptions.md#optional-scalingcolorscape) +* [sharpenWhen](_types_.constrainhintsoptions.md#optional-sharpenwhen) +* [upFilter](_types_.constrainhintsoptions.md#optional-upfilter) + +## Properties + +### `Optional` downFilter + +• **downFilter**? : *[Filter](../enums/_types_.filter.md)* + +*Defined in [types.ts:229](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L229)* + +___ + +### `Optional` resampleWhen + +• **resampleWhen**? : *[ResampleWhen](../enums/_types_.resamplewhen.md)* + +*Defined in [types.ts:232](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L232)* + +___ + +### `Optional` scalingColorScape + +• **scalingColorScape**? : *[ScalingFloatspace](../enums/_types_.scalingfloatspace.md)* + +*Defined in [types.ts:231](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L231)* + +___ + +### `Optional` sharpenWhen + +• **sharpenWhen**? : *[SharpenWhen](../enums/_types_.sharpenwhen.md)* + +*Defined in [types.ts:233](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L233)* + +___ + +### `Optional` upFilter + +• **upFilter**? : *[Filter](../enums/_types_.filter.md)* + +*Defined in [types.ts:230](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L230)* diff --git a/imageflow-node/interfaces/_types_.constrainoptions.md b/imageflow-node/interfaces/_types_.constrainoptions.md new file mode 100644 index 0000000..091f8ee --- /dev/null +++ b/imageflow-node/interfaces/_types_.constrainoptions.md @@ -0,0 +1,43 @@ +--- +id: "_types_.constrainoptions" +title: "ConstrainOptions" +sidebar_label: "ConstrainOptions" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainOptions](_types_.constrainoptions.md) + +## Hierarchy + +* **ConstrainOptions** + +## Index + +### Properties + +* [canvasColor](_types_.constrainoptions.md#optional-canvascolor) +* [canvasGravity](_types_.constrainoptions.md#optional-canvasgravity) +* [hints](_types_.constrainoptions.md#optional-hints) + +## Properties + +### `Optional` canvasColor + +• **canvasColor**? : *string* + +*Defined in [types.ts:319](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L319)* + +___ + +### `Optional` canvasGravity + +• **canvasGravity**? : *[ConstrainGravity](../classes/_types_.constraingravity.md)* + +*Defined in [types.ts:320](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L320)* + +___ + +### `Optional` hints + +• **hints**? : *[ConstrainHints](../classes/_types_.constrainhints.md)* + +*Defined in [types.ts:321](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L321)* diff --git a/imageflow-node/interfaces/_types_.drawexactimagetocoordinates.md b/imageflow-node/interfaces/_types_.drawexactimagetocoordinates.md new file mode 100644 index 0000000..4a18912 --- /dev/null +++ b/imageflow-node/interfaces/_types_.drawexactimagetocoordinates.md @@ -0,0 +1,52 @@ +--- +id: "_types_.drawexactimagetocoordinates" +title: "DrawExactImageToCoordinates" +sidebar_label: "DrawExactImageToCoordinates" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [DrawExactImageToCoordinates](_types_.drawexactimagetocoordinates.md) + +## Hierarchy + +* **DrawExactImageToCoordinates** + +## Index + +### Properties + +* [h](_types_.drawexactimagetocoordinates.md#h) +* [w](_types_.drawexactimagetocoordinates.md#w) +* [x](_types_.drawexactimagetocoordinates.md#x) +* [y](_types_.drawexactimagetocoordinates.md#y) + +## Properties + +### h + +• **h**: *number* + +*Defined in [types.ts:777](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L777)* + +___ + +### w + +• **w**: *number* + +*Defined in [types.ts:776](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L776)* + +___ + +### x + +• **x**: *number* + +*Defined in [types.ts:774](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L774)* + +___ + +### y + +• **y**: *number* + +*Defined in [types.ts:775](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L775)* diff --git a/imageflow-node/interfaces/_types_.expandcanvasoptions.md b/imageflow-node/interfaces/_types_.expandcanvasoptions.md new file mode 100644 index 0000000..dac4c9d --- /dev/null +++ b/imageflow-node/interfaces/_types_.expandcanvasoptions.md @@ -0,0 +1,52 @@ +--- +id: "_types_.expandcanvasoptions" +title: "ExpandCanvasOptions" +sidebar_label: "ExpandCanvasOptions" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ExpandCanvasOptions](_types_.expandcanvasoptions.md) + +## Hierarchy + +* **ExpandCanvasOptions** + +## Index + +### Properties + +* [bottom](_types_.expandcanvasoptions.md#bottom) +* [left](_types_.expandcanvasoptions.md#left) +* [right](_types_.expandcanvasoptions.md#right) +* [top](_types_.expandcanvasoptions.md#top) + +## Properties + +### bottom + +• **bottom**: *number* + +*Defined in [types.ts:541](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L541)* + +___ + +### left + +• **left**: *number* + +*Defined in [types.ts:542](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L542)* + +___ + +### right + +• **right**: *number* + +*Defined in [types.ts:540](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L540)* + +___ + +### top + +• **top**: *number* + +*Defined in [types.ts:539](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L539)* diff --git a/imageflow-node/interfaces/_types_.fitboxcoordinates.md b/imageflow-node/interfaces/_types_.fitboxcoordinates.md new file mode 100644 index 0000000..faa4cb4 --- /dev/null +++ b/imageflow-node/interfaces/_types_.fitboxcoordinates.md @@ -0,0 +1,52 @@ +--- +id: "_types_.fitboxcoordinates" +title: "FitBoxCoordinates" +sidebar_label: "FitBoxCoordinates" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBoxCoordinates](_types_.fitboxcoordinates.md) + +## Hierarchy + +* **FitBoxCoordinates** + +## Index + +### Properties + +* [x1](_types_.fitboxcoordinates.md#x1) +* [x2](_types_.fitboxcoordinates.md#x2) +* [y1](_types_.fitboxcoordinates.md#y1) +* [y2](_types_.fitboxcoordinates.md#y2) + +## Properties + +### x1 + +• **x1**: *number* + +*Defined in [types.ts:587](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L587)* + +___ + +### x2 + +• **x2**: *number* + +*Defined in [types.ts:589](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L589)* + +___ + +### y1 + +• **y1**: *number* + +*Defined in [types.ts:588](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L588)* + +___ + +### y2 + +• **y2**: *number* + +*Defined in [types.ts:590](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L590)* diff --git a/imageflow-node/interfaces/_types_.watermarkoption.md b/imageflow-node/interfaces/_types_.watermarkoption.md new file mode 100644 index 0000000..455cce3 --- /dev/null +++ b/imageflow-node/interfaces/_types_.watermarkoption.md @@ -0,0 +1,61 @@ +--- +id: "_types_.watermarkoption" +title: "WatermarkOption" +sidebar_label: "WatermarkOption" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WatermarkOption](_types_.watermarkoption.md) + +## Hierarchy + +* **WatermarkOption** + +## Index + +### Properties + +* [box](_types_.watermarkoption.md#box) +* [gravity](_types_.watermarkoption.md#gravity) +* [hint](_types_.watermarkoption.md#hint) +* [mode](_types_.watermarkoption.md#mode) +* [opacity](_types_.watermarkoption.md#opacity) + +## Properties + +### box + +• **box**: *[FitBox](../classes/_types_.fitbox.md)* + +*Defined in [types.ts:649](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L649)* + +___ + +### gravity + +• **gravity**: *[ConstrainGravity](../classes/_types_.constraingravity.md)* + +*Defined in [types.ts:647](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L647)* + +___ + +### hint + +• **hint**: *[ConstrainHints](../classes/_types_.constrainhints.md)* + +*Defined in [types.ts:651](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L651)* + +___ + +### mode + +• **mode**: *[FitMode](../enums/_types_.fitmode.md)* + +*Defined in [types.ts:648](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L648)* + +___ + +### opacity + +• **opacity**: *number* + +*Defined in [types.ts:650](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L650)* diff --git a/imageflow-node/modules/_index_.md b/imageflow-node/modules/_index_.md new file mode 100644 index 0000000..a8e1c12 --- /dev/null +++ b/imageflow-node/modules/_index_.md @@ -0,0 +1,66 @@ +--- +id: "_index_" +title: "index" +sidebar_label: "index" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["index"](_index_.md) + +## Index + +### References + +* [BaseStep](_index_.md#basestep) +* [BlackColor](_index_.md#blackcolor) +* [ColorFilterSRGB](_index_.md#colorfiltersrgb) +* [ColorFilterSRGBType](_index_.md#colorfiltersrgbtype) +* [ColorFilterSRGBValue](_index_.md#colorfiltersrgbvalue) +* [ColorFilterSRGBValueType](_index_.md#colorfiltersrgbvaluetype) +* [ColorType](_index_.md#colortype) +* [Colors](_index_.md#colors) +* [CommandString](_index_.md#commandstring) +* [CompositingMode](_index_.md#compositingmode) +* [Constrain](_index_.md#constrain) +* [ConstrainGravity](_index_.md#constraingravity) +* [ConstrainHints](_index_.md#constrainhints) +* [ConstrainMode](_index_.md#constrainmode) +* [CopyRectangle](_index_.md#copyrectangle) +* [CropWhitespace](_index_.md#cropwhitespace) +* [Decode](_index_.md#decode) +* [Direction](_index_.md#direction) +* [DrawExactImageTo](_index_.md#drawexactimageto) +* [DrawExactImageToCoordinates](_index_.md#drawexactimagetocoordinates) +* [Encode](_index_.md#encode) +* [ExpandCanvas](_index_.md#expandcanvas) +* [FillRect](_index_.md#fillrect) +* [FitBoxMargin](_index_.md#fitboxmargin) +* [FitBoxPercentage](_index_.md#fitboxpercentage) +* [FlipH](_index_.md#fliph) +* [FlipV](_index_.md#flipv) +* [FromBuffer](_index_.md#frombuffer) +* [FromFile](_index_.md#fromfile) +* [FromStream](_index_.md#fromstream) +* [FromURL](_index_.md#fromurl) +* [GIF](_index_.md#gif) +* [IOData](_index_.md#iodata) +* [IOOperation](_index_.md#iooperation) +* [LosslessPNG](_index_.md#losslesspng) +* [LossyPNG](_index_.md#lossypng) +* [MozJPEG](_index_.md#mozjpeg) +* [NativeJob](_index_.md#nativejob) +* [Preset](_index_.md#preset) +* [ReSample](_index_.md#resample) +* [Region](_index_.md#region) +* [RegionPercentage](_index_.md#regionpercentage) +* [Rotate180](_index_.md#rotate180) +* [Rotate270](_index_.md#rotate270) +* [Rotate90](_index_.md#rotate90) +* [SRGBColor](_index_.md#srgbcolor) +* [Steps](_index_.md#steps) +* [TransparentColor](_index_.md#transparentcolor) +* [Watermark](_index_.md#watermark) +* [WatermarkOption](_index_.md#watermarkoption) +* [WebP](_index_.md#webp) +* [WebPLossless](_index_.md#webplossless) +* [WhiteBalance](_index_.md#whitebalance) +* [getLongVersionString](_index_.md#getlongversionstring) diff --git a/imageflow-node/modules/_job_.md b/imageflow-node/modules/_job_.md new file mode 100644 index 0000000..1e66adf --- /dev/null +++ b/imageflow-node/modules/_job_.md @@ -0,0 +1,23 @@ +--- +id: "_job_" +title: "job" +sidebar_label: "job" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["job"](_job_.md) + +## Index + +### References + +* [getLongVersionString](_job_.md#getlongversionstring) + +### Classes + +* [NativeJob](../classes/_job_.nativejob.md) + +## References + +### getLongVersionString + +• **getLongVersionString**: diff --git a/imageflow-node/modules/_json_.md b/imageflow-node/modules/_json_.md new file mode 100644 index 0000000..2d18371 --- /dev/null +++ b/imageflow-node/modules/_json_.md @@ -0,0 +1,18 @@ +--- +id: "_json_" +title: "json" +sidebar_label: "json" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](_json_.md) + +## Index + +### Classes + +* [Graph](../classes/_json_.graph.md) +* [Steps](../classes/_json_.steps.md) + +### Interfaces + +* [edge](../interfaces/_json_.edge.md) diff --git a/imageflow-node/modules/_native_.md b/imageflow-node/modules/_native_.md new file mode 100644 index 0000000..fd60b6c --- /dev/null +++ b/imageflow-node/modules/_native_.md @@ -0,0 +1,51 @@ +--- +id: "_native_" +title: "native" +sidebar_label: "native" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["native"](_native_.md) + +## Index + +### Interfaces + +* [JobType](../interfaces/_native_.jobtype.md) + +### Variables + +* [Job](_native_.md#job) +* [addon](_native_.md#const-addon) +* [getLongVersionString](_native_.md#getlongversionstring) + +## Variables + +### Job + +• **Job**: *object* = addon.Job + +*Defined in [native.ts:11](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L11)* + +#### Type declaration: + +* **new __type**(): *[JobType](../interfaces/_native_.jobtype.md)* + +___ + +### `Const` addon + +• **addon**: *any* = require('../native/index.node') + +*Defined in [native.ts:1](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L1)* + +___ + +### getLongVersionString + +• **getLongVersionString**: *function* = addon.getLongVersionString + +*Defined in [native.ts:17](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L17)* + +#### Type declaration: + +▸ (): *string* diff --git a/imageflow-node/modules/_types_.md b/imageflow-node/modules/_types_.md new file mode 100644 index 0000000..448525c --- /dev/null +++ b/imageflow-node/modules/_types_.md @@ -0,0 +1,91 @@ +--- +id: "_types_" +title: "types" +sidebar_label: "types" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](_types_.md) + +## Index + +### Enumerations + +* [ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) +* [ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md) +* [ColorType](../enums/_types_.colortype.md) +* [CompositingMode](../enums/_types_.compositingmode.md) +* [ConstrainMode](../enums/_types_.constrainmode.md) +* [Direction](../enums/_types_.direction.md) +* [Filter](../enums/_types_.filter.md) +* [FitMode](../enums/_types_.fitmode.md) +* [ResampleWhen](../enums/_types_.resamplewhen.md) +* [ScalingFloatspace](../enums/_types_.scalingfloatspace.md) +* [SharpenWhen](../enums/_types_.sharpenwhen.md) + +### Classes + +* [BaseStep](../classes/_types_.basestep.md) +* [BlackColor](../classes/_types_.blackcolor.md) +* [ColorFilterSRGB](../classes/_types_.colorfiltersrgb.md) +* [ColorFilterSRGBValue](../classes/_types_.colorfiltersrgbvalue.md) +* [Colors](../classes/_types_.colors.md) +* [CommandString](../classes/_types_.commandstring.md) +* [Constrain](../classes/_types_.constrain.md) +* [ConstrainGravity](../classes/_types_.constraingravity.md) +* [ConstrainHints](../classes/_types_.constrainhints.md) +* [CopyRectangle](../classes/_types_.copyrectangle.md) +* [CropWhitespace](../classes/_types_.cropwhitespace.md) +* [Decode](../classes/_types_.decode.md) +* [DrawExactImageTo](../classes/_types_.drawexactimageto.md) +* [Encode](../classes/_types_.encode.md) +* [ExpandCanvas](../classes/_types_.expandcanvas.md) +* [FillRect](../classes/_types_.fillrect.md) +* [FitBox](../classes/_types_.fitbox.md) +* [FitBoxMargin](../classes/_types_.fitboxmargin.md) +* [FitBoxPercentage](../classes/_types_.fitboxpercentage.md) +* [FlipH](../classes/_types_.fliph.md) +* [FlipV](../classes/_types_.flipv.md) +* [FromBuffer](../classes/_types_.frombuffer.md) +* [FromFile](../classes/_types_.fromfile.md) +* [FromStream](../classes/_types_.fromstream.md) +* [FromURL](../classes/_types_.fromurl.md) +* [GIF](../classes/_types_.gif.md) +* [IOData](../classes/_types_.iodata.md) +* [IOOperation](../classes/_types_.iooperation.md) +* [LosslessPNG](../classes/_types_.losslesspng.md) +* [LossyPNG](../classes/_types_.lossypng.md) +* [MozJPEG](../classes/_types_.mozjpeg.md) +* [Preset](../classes/_types_.preset.md) +* [ReSample](../classes/_types_.resample.md) +* [Region](../classes/_types_.region.md) +* [RegionPercentage](../classes/_types_.regionpercentage.md) +* [Rotate180](../classes/_types_.rotate180.md) +* [Rotate270](../classes/_types_.rotate270.md) +* [Rotate90](../classes/_types_.rotate90.md) +* [SRGBColor](../classes/_types_.srgbcolor.md) +* [TransparentColor](../classes/_types_.transparentcolor.md) +* [Watermark](../classes/_types_.watermark.md) +* [WebP](../classes/_types_.webp.md) +* [WebPLossless](../classes/_types_.webplossless.md) +* [WhiteBalance](../classes/_types_.whitebalance.md) + +### Interfaces + +* [ConstrainHintsOptions](../interfaces/_types_.constrainhintsoptions.md) +* [ConstrainOptions](../interfaces/_types_.constrainoptions.md) +* [DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md) +* [ExpandCanvasOptions](../interfaces/_types_.expandcanvasoptions.md) +* [FitBoxCoordinates](../interfaces/_types_.fitboxcoordinates.md) +* [WatermarkOption](../interfaces/_types_.watermarkoption.md) + +### Variables + +* [str](_types_.md#const-str) + +## Variables + +### `Const` str + +• **str**: *any* = require('stream-promise') + +*Defined in [types.ts:4](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L4)* diff --git a/imageflow-node/sidebars.js b/imageflow-node/sidebars.js new file mode 100644 index 0000000..0f25051 --- /dev/null +++ b/imageflow-node/sidebars.js @@ -0,0 +1,149 @@ +module.exports = { + docs: { + Modules: [ + 'modules/_index_', + 'modules/_job_', + 'modules/_json_', + 'modules/_native_', + 'modules/_types_', + ], + Classes: [ + 'classes/_job_.nativejob', + 'classes/_json_.graph', + 'classes/_json_.steps', + 'classes/_types_.basestep', + 'classes/_types_.blackcolor', + 'classes/_types_.colorfiltersrgb', + 'classes/_types_.colorfiltersrgbvalue', + 'classes/_types_.colors', + 'classes/_types_.commandstring', + 'classes/_types_.constrain', + 'classes/_types_.constraingravity', + 'classes/_types_.constrainhints', + 'classes/_types_.copyrectangle', + 'classes/_types_.cropwhitespace', + 'classes/_types_.decode', + 'classes/_types_.drawexactimageto', + 'classes/_types_.encode', + 'classes/_types_.expandcanvas', + 'classes/_types_.fillrect', + 'classes/_types_.fitbox', + 'classes/_types_.fitboxmargin', + 'classes/_types_.fitboxpercentage', + 'classes/_types_.fliph', + 'classes/_types_.flipv', + 'classes/_types_.frombuffer', + 'classes/_types_.fromfile', + 'classes/_types_.fromstream', + 'classes/_types_.fromurl', + 'classes/_types_.gif', + 'classes/_types_.iodata', + 'classes/_types_.iooperation', + 'classes/_types_.losslesspng', + 'classes/_types_.lossypng', + 'classes/_types_.mozjpeg', + 'classes/_types_.preset', + 'classes/_types_.resample', + 'classes/_types_.region', + 'classes/_types_.regionpercentage', + 'classes/_types_.rotate180', + 'classes/_types_.rotate270', + 'classes/_types_.rotate90', + 'classes/_types_.srgbcolor', + 'classes/_types_.transparentcolor', + 'classes/_types_.watermark', + 'classes/_types_.webp', + 'classes/_types_.webplossless', + 'classes/_types_.whitebalance', + 'classes/_job_.nativejob', + 'classes/_json_.graph', + 'classes/_json_.steps', + 'classes/_types_.basestep', + 'classes/_types_.blackcolor', + 'classes/_types_.colorfiltersrgb', + 'classes/_types_.colorfiltersrgbvalue', + 'classes/_types_.colors', + 'classes/_types_.commandstring', + 'classes/_types_.constrain', + 'classes/_types_.constraingravity', + 'classes/_types_.constrainhints', + 'classes/_types_.copyrectangle', + 'classes/_types_.cropwhitespace', + 'classes/_types_.decode', + 'classes/_types_.drawexactimageto', + 'classes/_types_.encode', + 'classes/_types_.expandcanvas', + 'classes/_types_.fillrect', + 'classes/_types_.fitbox', + 'classes/_types_.fitboxmargin', + 'classes/_types_.fitboxpercentage', + 'classes/_types_.fliph', + 'classes/_types_.flipv', + 'classes/_types_.frombuffer', + 'classes/_types_.fromfile', + 'classes/_types_.fromstream', + 'classes/_types_.fromurl', + 'classes/_types_.gif', + 'classes/_types_.iodata', + 'classes/_types_.iooperation', + 'classes/_types_.losslesspng', + 'classes/_types_.lossypng', + 'classes/_types_.mozjpeg', + 'classes/_types_.preset', + 'classes/_types_.resample', + 'classes/_types_.region', + 'classes/_types_.regionpercentage', + 'classes/_types_.rotate180', + 'classes/_types_.rotate270', + 'classes/_types_.rotate90', + 'classes/_types_.srgbcolor', + 'classes/_types_.transparentcolor', + 'classes/_types_.watermark', + 'classes/_types_.webp', + 'classes/_types_.webplossless', + 'classes/_types_.whitebalance', + ], + Interfaces: [ + 'interfaces/_json_.edge', + 'interfaces/_native_.jobtype', + 'interfaces/_types_.constrainhintsoptions', + 'interfaces/_types_.constrainoptions', + 'interfaces/_types_.drawexactimagetocoordinates', + 'interfaces/_types_.expandcanvasoptions', + 'interfaces/_types_.fitboxcoordinates', + 'interfaces/_types_.watermarkoption', + 'interfaces/_json_.edge', + 'interfaces/_native_.jobtype', + 'interfaces/_types_.constrainhintsoptions', + 'interfaces/_types_.constrainoptions', + 'interfaces/_types_.drawexactimagetocoordinates', + 'interfaces/_types_.expandcanvasoptions', + 'interfaces/_types_.fitboxcoordinates', + 'interfaces/_types_.watermarkoption', + ], + Enums: [ + 'enums/_types_.colorfiltersrgbtype', + 'enums/_types_.colorfiltersrgbvaluetype', + 'enums/_types_.colortype', + 'enums/_types_.compositingmode', + 'enums/_types_.constrainmode', + 'enums/_types_.direction', + 'enums/_types_.filter', + 'enums/_types_.fitmode', + 'enums/_types_.resamplewhen', + 'enums/_types_.scalingfloatspace', + 'enums/_types_.sharpenwhen', + 'enums/_types_.colorfiltersrgbtype', + 'enums/_types_.colorfiltersrgbvaluetype', + 'enums/_types_.colortype', + 'enums/_types_.compositingmode', + 'enums/_types_.constrainmode', + 'enums/_types_.direction', + 'enums/_types_.filter', + 'enums/_types_.fitmode', + 'enums/_types_.resamplewhen', + 'enums/_types_.scalingfloatspace', + 'enums/_types_.sharpenwhen', + ], + }, +} diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_job_.nativejob.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_job_.nativejob.md new file mode 100644 index 0000000..cfe6110 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_job_.nativejob.md @@ -0,0 +1,139 @@ +--- +id: "_job_.nativejob" +title: "NativeJob" +sidebar_label: "NativeJob" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["job"](../modules/_job_.md) › [NativeJob](_job_.nativejob.md) + +## Hierarchy + +* **NativeJob** + +## Index + +### Constructors + +* [constructor](_job_.nativejob.md#constructor) + +### Properties + +* [inUse](_job_.nativejob.md#private-inuse) +* [internalJob](_job_.nativejob.md#private-internaljob) + +### Methods + +* [addInputBytes](_job_.nativejob.md#addinputbytes) +* [addOutputBuffer](_job_.nativejob.md#addoutputbuffer) +* [getOutputBufferBytes](_job_.nativejob.md#getoutputbufferbytes) +* [message](_job_.nativejob.md#message) +* [messageSync](_job_.nativejob.md#messagesync) + +## Constructors + +### constructor + +\+ **new NativeJob**(): *[NativeJob](_job_.nativejob.md)* + +*Defined in [job.ts:5](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L5)* + +**Returns:** *[NativeJob](_job_.nativejob.md)* + +## Properties + +### `Private` inUse + +• **inUse**: *boolean* + +*Defined in [job.ts:4](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L4)* + +___ + +### `Private` internalJob + +• **internalJob**: *[JobType](../interfaces/_native_.jobtype.md)* + +*Defined in [job.ts:5](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L5)* + +## Methods + +### addInputBytes + +▸ **addInputBytes**(`ioId`: number, `bytes`: ArrayBuffer): *void* + +*Defined in [job.ts:11](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L11)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | +`bytes` | ArrayBuffer | + +**Returns:** *void* + +___ + +### addOutputBuffer + +▸ **addOutputBuffer**(`ioId`: number): *void* + +*Defined in [job.ts:27](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L27)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *void* + +___ + +### getOutputBufferBytes + +▸ **getOutputBufferBytes**(`ioId`: number): *ArrayBuffer* + +*Defined in [job.ts:19](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L19)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *ArrayBuffer* + +___ + +### message + +▸ **message**(`endPoint`: string, `tasks`: string): *Promise‹string›* + +*Defined in [job.ts:35](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L35)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *Promise‹string›* + +___ + +### messageSync + +▸ **messageSync**(`endPoint`: string, `tasks`: string): *string* + +*Defined in [job.ts:46](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/job.ts#L46)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_json_.graph.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_json_.graph.md new file mode 100644 index 0000000..c918ecd --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_json_.graph.md @@ -0,0 +1,75 @@ +--- +id: "_json_.graph" +title: "Graph" +sidebar_label: "Graph" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](../modules/_json_.md) › [Graph](_json_.graph.md) + +## Hierarchy + +* **Graph** + +## Index + +### Properties + +* [_internal](_json_.graph.md#_internal) + +### Methods + +* [addEdge](_json_.graph.md#addedge) +* [addVertex](_json_.graph.md#addvertex) +* [toEdge](_json_.graph.md#toedge) + +## Properties + +### _internal + +• **_internal**: *Map‹number, Array‹[edge](../interfaces/_json_.edge.md)››* = new Map() + +*Defined in [json.ts:484](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L484)* + +## Methods + +### addEdge + +▸ **addEdge**(`to`: number, `from`: number, `type`: string): *void* + +*Defined in [json.ts:492](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L492)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`to` | number | - | +`from` | number | - | +`type` | string | "input" | + +**Returns:** *void* + +___ + +### addVertex + +▸ **addVertex**(`vertex`: number): *void* + +*Defined in [json.ts:486](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L486)* + +**Parameters:** + +Name | Type | +------ | ------ | +`vertex` | number | + +**Returns:** *void* + +___ + +### toEdge + +▸ **toEdge**(): *Array‹Object›* + +*Defined in [json.ts:498](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L498)* + +**Returns:** *Array‹Object›* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_json_.steps.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_json_.steps.md new file mode 100644 index 0000000..bcd3d9d --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_json_.steps.md @@ -0,0 +1,600 @@ +--- +id: "_json_.steps" +title: "Steps" +sidebar_label: "Steps" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](../modules/_json_.md) › [Steps](_json_.steps.md) + +## Hierarchy + +* **Steps** + +## Index + +### Constructors + +* [constructor](_json_.steps.md#constructor) + +### Properties + +* [decodeValue](_json_.steps.md#private-decodevalue) +* [graph](_json_.steps.md#private-graph) +* [inputs](_json_.steps.md#private-inputs) +* [ioID](_json_.steps.md#private-ioid) +* [last](_json_.steps.md#private-last) +* [outputs](_json_.steps.md#private-outputs) +* [vertex](_json_.steps.md#private-vertex) + +### Methods + +* [branch](_json_.steps.md#branch) +* [colorFilter](_json_.steps.md#colorfilter) +* [colorFilterAlpha](_json_.steps.md#colorfilteralpha) +* [colorFilterBrightness](_json_.steps.md#colorfilterbrightness) +* [colorFilterContrast](_json_.steps.md#colorfiltercontrast) +* [colorFilterGrayscaleBt709](_json_.steps.md#colorfiltergrayscalebt709) +* [colorFilterGrayscaleFlat](_json_.steps.md#colorfiltergrayscaleflat) +* [colorFilterGrayscaleNtsc](_json_.steps.md#colorfiltergrayscalentsc) +* [colorFilterGrayscaleRY](_json_.steps.md#colorfiltergrayscalery) +* [colorFilterInvert](_json_.steps.md#colorfilterinvert) +* [command](_json_.steps.md#command) +* [constrain](_json_.steps.md#constrain) +* [constrainWithin](_json_.steps.md#constrainwithin) +* [copyRectangle](_json_.steps.md#copyrectangle) +* [cropWhiteSpace](_json_.steps.md#cropwhitespace) +* [decode](_json_.steps.md#decode) +* [distort](_json_.steps.md#distort) +* [drawImageExactTo](_json_.steps.md#drawimageexactto) +* [encode](_json_.steps.md#encode) +* [execute](_json_.steps.md#execute) +* [executeCommand](_json_.steps.md#executecommand) +* [expandCanvas](_json_.steps.md#expandcanvas) +* [fillRect](_json_.steps.md#fillrect) +* [flipHorizontal](_json_.steps.md#fliphorizontal) +* [flipVertical](_json_.steps.md#flipvertical) +* [region](_json_.steps.md#region) +* [rotate](_json_.steps.md#rotate) +* [rotate180](_json_.steps.md#rotate180) +* [rotate270](_json_.steps.md#rotate270) +* [rotate90](_json_.steps.md#rotate90) +* [watermark](_json_.steps.md#watermark) + +## Constructors + +### constructor + +\+ **new Steps**(`operation`: [IOOperation](_types_.iooperation.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:43](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L43)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | null | + +**Returns:** *[Steps](_json_.steps.md)* + +## Properties + +### `Private` decodeValue + +• **decodeValue**: *boolean* + +*Defined in [json.ts:43](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L43)* + +___ + +### `Private` graph + +• **graph**: *[Graph](_json_.graph.md)* + +*Defined in [json.ts:37](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L37)* + +___ + +### `Private` inputs + +• **inputs**: *Array‹[IOOperation](_types_.iooperation.md)›* = [] + +*Defined in [json.ts:40](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L40)* + +___ + +### `Private` ioID + +• **ioID**: *number* + +*Defined in [json.ts:39](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L39)* + +___ + +### `Private` last + +• **last**: *number* = 0 + +*Defined in [json.ts:42](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L42)* + +___ + +### `Private` outputs + +• **outputs**: *Array‹[IOOperation](_types_.iooperation.md)›* = [] + +*Defined in [json.ts:41](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L41)* + +___ + +### `Private` vertex + +• **vertex**: *Array‹[BaseStep](_types_.basestep.md)›* = [] + +*Defined in [json.ts:38](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L38)* + +## Methods + +### branch + +▸ **branch**(`f`: function): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:95](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L95)* + +**Parameters:** + +▪ **f**: *function* + +▸ (`arg`: [Steps](_json_.steps.md)): *any* + +**Parameters:** + +Name | Type | +------ | ------ | +`arg` | [Steps](_json_.steps.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilter + +▸ **colorFilter**(`value`: [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)): *this* + +*Defined in [json.ts:406](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L406)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md) | + +**Returns:** *this* + +___ + +### colorFilterAlpha + +▸ **colorFilterAlpha**(`value`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:355](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L355)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterBrightness + +▸ **colorFilterBrightness**(`value`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:370](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L370)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterContrast + +▸ **colorFilterContrast**(`value`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:388](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L388)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleBt709 + +▸ **colorFilterGrayscaleBt709**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:320](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L320)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleFlat + +▸ **colorFilterGrayscaleFlat**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:333](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L333)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleNtsc + +▸ **colorFilterGrayscaleNtsc**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:344](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L344)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterGrayscaleRY + +▸ **colorFilterGrayscaleRY**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:309](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L309)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### colorFilterInvert + +▸ **colorFilterInvert**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:298](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L298)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### command + +▸ **command**(`value`: string): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:434](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L434)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | string | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### constrain + +▸ **constrain**(`constraint`: [Constrain](_types_.constrain.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:74](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L74)* + +**Parameters:** + +Name | Type | +------ | ------ | +`constraint` | [Constrain](_types_.constrain.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### constrainWithin + +▸ **constrainWithin**(`width`: number, `height`: number): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:84](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L84)* + +**Parameters:** + +Name | Type | +------ | ------ | +`width` | number | +`height` | number | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### copyRectangle + +▸ **copyRectangle**(`f`: function, `coordinates`: [DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md), `fromX`: number, `fromY`: number): *this* + +*Defined in [json.ts:416](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L416)* + +**Parameters:** + +▪ **f**: *function* + +▸ (`args`: [Steps](_json_.steps.md)): *any* + +**Parameters:** + +Name | Type | +------ | ------ | +`args` | [Steps](_json_.steps.md) | + +▪ **coordinates**: *[DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md)* + +▪ **fromX**: *number* + +▪ **fromY**: *number* + +**Returns:** *this* + +___ + +### cropWhiteSpace + +▸ **cropWhiteSpace**(`data`: [CropWhitespace](_types_.cropwhitespace.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:214](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L214)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | [CropWhitespace](_types_.cropwhitespace.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### decode + +▸ **decode**(`operation`: [IOOperation](_types_.iooperation.md)): *this* + +*Defined in [json.ts:62](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L62)* + +**Parameters:** + +Name | Type | +------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | + +**Returns:** *this* + +___ + +### distort + +▸ **distort**(`w`: number, `h`: number, `hint`: [ConstrainHints](_types_.constrainhints.md) | null): *this* + +*Defined in [json.ts:466](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L466)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`w` | number | - | +`h` | number | - | +`hint` | [ConstrainHints](_types_.constrainhints.md) | null | null | + +**Returns:** *this* + +___ + +### drawImageExactTo + +▸ **drawImageExactTo**(`f`: function, `coordinates`: [DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md), `blend`: [CompositingMode](../enums/_types_.compositingmode.md), `hint`: [ConstrainHints](_types_.constrainhints.md)): *this* + +*Defined in [json.ts:102](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L102)* + +**Parameters:** + +▪ **f**: *function* + +▸ (`arg`: [Steps](_json_.steps.md)): *any* + +**Parameters:** + +Name | Type | +------ | ------ | +`arg` | [Steps](_json_.steps.md) | + +▪ **coordinates**: *[DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md)* + +▪ **blend**: *[CompositingMode](../enums/_types_.compositingmode.md)* + +▪ **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +**Returns:** *this* + +___ + +### encode + +▸ **encode**(`operation`: [IOOperation](_types_.iooperation.md), `decodeData`: [Preset](_types_.preset.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:283](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L283)* + +**Parameters:** + +Name | Type | +------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | +`decodeData` | [Preset](_types_.preset.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### execute + +▸ **execute**(): *Promise‹Object›* + +*Defined in [json.ts:121](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L121)* + +**Returns:** *Promise‹Object›* + +___ + +### executeCommand + +▸ **executeCommand**(`commandValue`: string, `input`: [IOOperation](_types_.iooperation.md), `output`: [IOOperation](_types_.iooperation.md)): *Promise‹any›* + +*Defined in [json.ts:445](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L445)* + +**Parameters:** + +Name | Type | +------ | ------ | +`commandValue` | string | +`input` | [IOOperation](_types_.iooperation.md) | +`output` | [IOOperation](_types_.iooperation.md) | + +**Returns:** *Promise‹any›* + +___ + +### expandCanvas + +▸ **expandCanvas**(`data`: [ExpandCanvas](_types_.expandcanvas.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:236](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L236)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | [ExpandCanvas](_types_.expandcanvas.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### fillRect + +▸ **fillRect**(`data`: [FillRect](_types_.fillrect.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:225](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L225)* + +**Parameters:** + +Name | Type | +------ | ------ | +`data` | [FillRect](_types_.fillrect.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### flipHorizontal + +▸ **flipHorizontal**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:247](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L247)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### flipVertical + +▸ **flipVertical**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:258](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L258)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### region + +▸ **region**(`regionData`: [Region](_types_.region.md) | [RegionPercentage](_types_.regionpercentage.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:204](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L204)* + +**Parameters:** + +Name | Type | +------ | ------ | +`regionData` | [Region](_types_.region.md) | [RegionPercentage](_types_.regionpercentage.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate + +▸ **rotate**(`rotate`: [Rotate180](_types_.rotate180.md) | [Rotate270](_types_.rotate270.md) | [Rotate90](_types_.rotate90.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:193](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L193)* + +**Parameters:** + +Name | Type | +------ | ------ | +`rotate` | [Rotate180](_types_.rotate180.md) | [Rotate270](_types_.rotate270.md) | [Rotate90](_types_.rotate90.md) | + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate180 + +▸ **rotate180**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:171](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L171)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate270 + +▸ **rotate270**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:182](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L182)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### rotate90 + +▸ **rotate90**(): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:160](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L160)* + +**Returns:** *[Steps](_json_.steps.md)* + +___ + +### watermark + +▸ **watermark**(`operation`: [IOOperation](_types_.iooperation.md), `watermarkOption`: [WatermarkOption](../interfaces/_types_.watermarkoption.md)): *[Steps](_json_.steps.md)* + +*Defined in [json.ts:269](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L269)* + +**Parameters:** + +Name | Type | +------ | ------ | +`operation` | [IOOperation](_types_.iooperation.md) | +`watermarkOption` | [WatermarkOption](../interfaces/_types_.watermarkoption.md) | + +**Returns:** *[Steps](_json_.steps.md)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.basestep.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.basestep.md new file mode 100644 index 0000000..d14d6da --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.basestep.md @@ -0,0 +1,49 @@ +--- +id: "_types_.basestep" +title: "BaseStep" +sidebar_label: "BaseStep" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [BaseStep](_types_.basestep.md) + +## Hierarchy + +* **BaseStep** + +## Implemented by + +* [ColorFilterSRGB](_types_.colorfiltersrgb.md) +* [CommandString](_types_.commandstring.md) +* [Constrain](_types_.constrain.md) +* [CopyRectangle](_types_.copyrectangle.md) +* [CropWhitespace](_types_.cropwhitespace.md) +* [Decode](_types_.decode.md) +* [DrawExactImageTo](_types_.drawexactimageto.md) +* [Encode](_types_.encode.md) +* [ExpandCanvas](_types_.expandcanvas.md) +* [FillRect](_types_.fillrect.md) +* [FlipH](_types_.fliph.md) +* [FlipV](_types_.flipv.md) +* [ReSample](_types_.resample.md) +* [Region](_types_.region.md) +* [RegionPercentage](_types_.regionpercentage.md) +* [Rotate180](_types_.rotate180.md) +* [Rotate270](_types_.rotate270.md) +* [Rotate90](_types_.rotate90.md) +* [Watermark](_types_.watermark.md) + +## Index + +### Methods + +* [toStep](_types_.basestep.md#abstract-tostep) + +## Methods + +### `Abstract` toStep + +▸ **toStep**(): *Object | string* + +*Defined in [types.ts:42](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L42)* + +**Returns:** *Object | string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.blackcolor.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.blackcolor.md new file mode 100644 index 0000000..7080d26 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.blackcolor.md @@ -0,0 +1,31 @@ +--- +id: "_types_.blackcolor" +title: "BlackColor" +sidebar_label: "BlackColor" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [BlackColor](_types_.blackcolor.md) + +## Hierarchy + +* **BlackColor** + +## Implements + +* [Colors](_types_.colors.md) + +## Index + +### Methods + +* [toColor](_types_.blackcolor.md#tocolor) + +## Methods + +### toColor + +▸ **toColor**(): *string* + +*Defined in [types.ts:533](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L533)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colorfiltersrgb.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colorfiltersrgb.md new file mode 100644 index 0000000..81579e1 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colorfiltersrgb.md @@ -0,0 +1,63 @@ +--- +id: "_types_.colorfiltersrgb" +title: "ColorFilterSRGB" +sidebar_label: "ColorFilterSRGB" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGB](_types_.colorfiltersrgb.md) + +## Hierarchy + +* **ColorFilterSRGB** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.colorfiltersrgb.md#constructor) + +### Properties + +* [filterType](_types_.colorfiltersrgb.md#private-filtertype) + +### Methods + +* [toStep](_types_.colorfiltersrgb.md#tostep) + +## Constructors + +### constructor + +\+ **new ColorFilterSRGB**(`filter`: [ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)): *[ColorFilterSRGB](_types_.colorfiltersrgb.md)* + +*Defined in [types.ts:766](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L766)* + +**Parameters:** + +Name | Type | +------ | ------ | +`filter` | [ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md) | + +**Returns:** *[ColorFilterSRGB](_types_.colorfiltersrgb.md)* + +## Properties + +### `Private` filterType + +• **filterType**: *[ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) | [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)* + +*Defined in [types.ts:758](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L758)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:759](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L759)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colorfiltersrgbvalue.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colorfiltersrgbvalue.md new file mode 100644 index 0000000..503d728 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colorfiltersrgbvalue.md @@ -0,0 +1,69 @@ +--- +id: "_types_.colorfiltersrgbvalue" +title: "ColorFilterSRGBValue" +sidebar_label: "ColorFilterSRGBValue" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md) + +## Hierarchy + +* **ColorFilterSRGBValue** + +## Index + +### Constructors + +* [constructor](_types_.colorfiltersrgbvalue.md#constructor) + +### Properties + +* [value](_types_.colorfiltersrgbvalue.md#private-value) +* [valueType](_types_.colorfiltersrgbvalue.md#private-valuetype) + +### Methods + +* [toFilter](_types_.colorfiltersrgbvalue.md#tofilter) + +## Constructors + +### constructor + +\+ **new ColorFilterSRGBValue**(`value`: number, `valueType`: [ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md)): *[ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)* + +*Defined in [types.ts:743](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L743)* + +**Parameters:** + +Name | Type | +------ | ------ | +`value` | number | +`valueType` | [ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md) | + +**Returns:** *[ColorFilterSRGBValue](_types_.colorfiltersrgbvalue.md)* + +## Properties + +### `Private` value + +• **value**: *number* + +*Defined in [types.ts:742](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L742)* + +___ + +### `Private` valueType + +• **valueType**: *[ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md)* + +*Defined in [types.ts:743](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L743)* + +## Methods + +### toFilter + +▸ **toFilter**(): *Object* + +*Defined in [types.ts:750](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L750)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colors.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colors.md new file mode 100644 index 0000000..17bcbe9 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.colors.md @@ -0,0 +1,33 @@ +--- +id: "_types_.colors" +title: "Colors" +sidebar_label: "Colors" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Colors](_types_.colors.md) + +## Hierarchy + +* **Colors** + +## Implemented by + +* [BlackColor](_types_.blackcolor.md) +* [SRGBColor](_types_.srgbcolor.md) +* [TransparentColor](_types_.transparentcolor.md) + +## Index + +### Methods + +* [toColor](_types_.colors.md#abstract-tocolor) + +## Methods + +### `Abstract` toColor + +▸ **toColor**(): *Object | string* + +*Defined in [types.ts:502](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L502)* + +**Returns:** *Object | string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.commandstring.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.commandstring.md new file mode 100644 index 0000000..b8c5a77 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.commandstring.md @@ -0,0 +1,83 @@ +--- +id: "_types_.commandstring" +title: "CommandString" +sidebar_label: "CommandString" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CommandString](_types_.commandstring.md) + +## Hierarchy + +* **CommandString** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.commandstring.md#constructor) + +### Properties + +* [command](_types_.commandstring.md#private-readonly-command) +* [decode](_types_.commandstring.md#private-readonly-decode) +* [encode](_types_.commandstring.md#private-readonly-encode) + +### Methods + +* [toStep](_types_.commandstring.md#tostep) + +## Constructors + +### constructor + +\+ **new CommandString**(`command`: string, `encode`: number | null, `decode`: number | null): *[CommandString](_types_.commandstring.md)* + +*Defined in [types.ts:701](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L701)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`command` | string | - | +`encode` | number | null | null | +`decode` | number | null | null | + +**Returns:** *[CommandString](_types_.commandstring.md)* + +## Properties + +### `Private` `Readonly` command + +• **command**: *string* + +*Defined in [types.ts:689](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L689)* + +___ + +### `Private` `Readonly` decode + +• **decode**: *number | null* + +*Defined in [types.ts:691](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L691)* + +___ + +### `Private` `Readonly` encode + +• **encode**: *number | null* + +*Defined in [types.ts:690](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L690)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:692](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L692)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constrain.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constrain.md new file mode 100644 index 0000000..1880fd1 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constrain.md @@ -0,0 +1,118 @@ +--- +id: "_types_.constrain" +title: "Constrain" +sidebar_label: "Constrain" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Constrain](_types_.constrain.md) + +## Hierarchy + +* **Constrain** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.constrain.md#constructor) + +### Properties + +* [canvasColor](_types_.constrain.md#private-optional-readonly-canvascolor) +* [gravity](_types_.constrain.md#private-optional-gravity) +* [height](_types_.constrain.md#private-optional-readonly-height) +* [hints](_types_.constrain.md#private-optional-hints) +* [mode](_types_.constrain.md#private-mode) +* [width](_types_.constrain.md#private-optional-readonly-width) + +### Methods + +* [toStep](_types_.constrain.md#tostep) + +## Constructors + +### constructor + +\+ **new Constrain**(`mode`: [ConstrainMode](../enums/_types_.constrainmode.md), `width`: number | null, `height`: number | null, `__namedParameters`: object): *[Constrain](_types_.constrain.md)* + +*Defined in [types.ts:341](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L341)* + +**Parameters:** + +▪ **mode**: *[ConstrainMode](../enums/_types_.constrainmode.md)* + +▪`Default value` **width**: *number | null*= null + +▪`Default value` **height**: *number | null*= null + +▪`Default value` **__namedParameters**: *object*= {} + +Name | Type | Default | +------ | ------ | ------ | +`canvasColor` | string | null | +`canvasGravity` | [ConstrainGravity](_types_.constraingravity.md)‹› | null | +`hints` | [ConstrainHints](_types_.constrainhints.md)‹› | null | + +**Returns:** *[Constrain](_types_.constrain.md)* + +## Properties + +### `Private` `Optional` `Readonly` canvasColor + +• **canvasColor**? : *string* + +*Defined in [types.ts:329](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L329)* + +___ + +### `Private` `Optional` gravity + +• **gravity**? : *[ConstrainGravity](_types_.constraingravity.md)* + +*Defined in [types.ts:327](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L327)* + +___ + +### `Private` `Optional` `Readonly` height + +• **height**? : *number* + +*Defined in [types.ts:326](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L326)* + +___ + +### `Private` `Optional` hints + +• **hints**? : *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:324](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L324)* + +___ + +### `Private` mode + +• **mode**: *[ConstrainMode](../enums/_types_.constrainmode.md)* + +*Defined in [types.ts:328](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L328)* + +___ + +### `Private` `Optional` `Readonly` width + +• **width**? : *number* + +*Defined in [types.ts:325](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L325)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:330](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L330)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constraingravity.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constraingravity.md new file mode 100644 index 0000000..c2fd9d1 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constraingravity.md @@ -0,0 +1,69 @@ +--- +id: "_types_.constraingravity" +title: "ConstrainGravity" +sidebar_label: "ConstrainGravity" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainGravity](_types_.constraingravity.md) + +## Hierarchy + +* **ConstrainGravity** + +## Index + +### Constructors + +* [constructor](_types_.constraingravity.md#constructor) + +### Properties + +* [x](_types_.constraingravity.md#private-readonly-x) +* [y](_types_.constraingravity.md#private-readonly-y) + +### Methods + +* [toGravity](_types_.constraingravity.md#togravity) + +## Constructors + +### constructor + +\+ **new ConstrainGravity**(`x`: number, `y`: number): *[ConstrainGravity](_types_.constraingravity.md)* + +*Defined in [types.ts:285](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L285)* + +**Parameters:** + +Name | Type | +------ | ------ | +`x` | number | +`y` | number | + +**Returns:** *[ConstrainGravity](_types_.constraingravity.md)* + +## Properties + +### `Private` `Readonly` x + +• **x**: *number* + +*Defined in [types.ts:275](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L275)* + +___ + +### `Private` `Readonly` y + +• **y**: *number* + +*Defined in [types.ts:276](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L276)* + +## Methods + +### toGravity + +▸ **toGravity**(): *Object* + +*Defined in [types.ts:278](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L278)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constrainhints.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constrainhints.md new file mode 100644 index 0000000..b5f3147 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.constrainhints.md @@ -0,0 +1,112 @@ +--- +id: "_types_.constrainhints" +title: "ConstrainHints" +sidebar_label: "ConstrainHints" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainHints](_types_.constrainhints.md) + +## Hierarchy + +* **ConstrainHints** + +## Index + +### Constructors + +* [constructor](_types_.constrainhints.md#constructor) + +### Properties + +* [downFilter](_types_.constrainhints.md#private-downfilter) +* [resampleWhen](_types_.constrainhints.md#private-resamplewhen) +* [scalingColorSpace](_types_.constrainhints.md#private-scalingcolorspace) +* [sharpenPercent](_types_.constrainhints.md#private-readonly-sharpenpercent) +* [sharpenWhen](_types_.constrainhints.md#private-sharpenwhen) +* [upFilter](_types_.constrainhints.md#private-upfilter) + +### Methods + +* [toHint](_types_.constrainhints.md#tohint) + +## Constructors + +### constructor + +\+ **new ConstrainHints**(`sharpenPercent`: number, `__namedParameters`: object): *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:254](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L254)* + +**Parameters:** + +▪ **sharpenPercent**: *number* + +▪`Default value` **__namedParameters**: *object*= {} + +Name | Type | +------ | ------ | +`downFilter` | [Filter](../enums/_types_.filter.md) | +`resampleWhen` | [ResampleWhen](../enums/_types_.resamplewhen.md) | +`scalingColorScape` | [ScalingFloatspace](../enums/_types_.scalingfloatspace.md) | +`sharpenWhen` | [SharpenWhen](../enums/_types_.sharpenwhen.md) | +`upFilter` | [Filter](../enums/_types_.filter.md) | + +**Returns:** *[ConstrainHints](_types_.constrainhints.md)* + +## Properties + +### `Private` downFilter + +• **downFilter**: *[Filter](../enums/_types_.filter.md) | null* + +*Defined in [types.ts:238](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L238)* + +___ + +### `Private` resampleWhen + +• **resampleWhen**: *[ResampleWhen](../enums/_types_.resamplewhen.md) | null* + +*Defined in [types.ts:241](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L241)* + +___ + +### `Private` scalingColorSpace + +• **scalingColorSpace**: *[ScalingFloatspace](../enums/_types_.scalingfloatspace.md) | null* + +*Defined in [types.ts:240](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L240)* + +___ + +### `Private` `Readonly` sharpenPercent + +• **sharpenPercent**: *number* + +*Defined in [types.ts:237](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L237)* + +___ + +### `Private` sharpenWhen + +• **sharpenWhen**: *[SharpenWhen](../enums/_types_.sharpenwhen.md) | null* + +*Defined in [types.ts:242](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L242)* + +___ + +### `Private` upFilter + +• **upFilter**: *[Filter](../enums/_types_.filter.md) | null* + +*Defined in [types.ts:239](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L239)* + +## Methods + +### toHint + +▸ **toHint**(): *Object* + +*Defined in [types.ts:243](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L243)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.copyrectangle.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.copyrectangle.md new file mode 100644 index 0000000..72815c5 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.copyrectangle.md @@ -0,0 +1,117 @@ +--- +id: "_types_.copyrectangle" +title: "CopyRectangle" +sidebar_label: "CopyRectangle" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CopyRectangle](_types_.copyrectangle.md) + +## Hierarchy + +* **CopyRectangle** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.copyrectangle.md#constructor) + +### Properties + +* [fromX](_types_.copyrectangle.md#private-fromx) +* [fromY](_types_.copyrectangle.md#private-fromy) +* [h](_types_.copyrectangle.md#private-h) +* [w](_types_.copyrectangle.md#private-w) +* [x](_types_.copyrectangle.md#private-x) +* [y](_types_.copyrectangle.md#private-y) + +### Methods + +* [toStep](_types_.copyrectangle.md#tostep) + +## Constructors + +### constructor + +\+ **new CopyRectangle**(`__namedParameters`: object, `fromX`: number, `fromY`: number): *[CopyRectangle](_types_.copyrectangle.md)* + +*Defined in [types.ts:840](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L840)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`h` | number | 0 | +`w` | number | 0 | +`x` | number | 0 | +`y` | number | 0 | + +▪ **fromX**: *number* + +▪ **fromY**: *number* + +**Returns:** *[CopyRectangle](_types_.copyrectangle.md)* + +## Properties + +### `Private` fromX + +• **fromX**: *number* + +*Defined in [types.ts:822](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L822)* + +___ + +### `Private` fromY + +• **fromY**: *number* + +*Defined in [types.ts:823](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L823)* + +___ + +### `Private` h + +• **h**: *number* + +*Defined in [types.ts:825](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L825)* + +___ + +### `Private` w + +• **w**: *number* + +*Defined in [types.ts:824](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L824)* + +___ + +### `Private` x + +• **x**: *number* + +*Defined in [types.ts:826](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L826)* + +___ + +### `Private` y + +• **y**: *number* + +*Defined in [types.ts:827](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L827)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:829](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L829)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.cropwhitespace.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.cropwhitespace.md new file mode 100644 index 0000000..3b797e3 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.cropwhitespace.md @@ -0,0 +1,73 @@ +--- +id: "_types_.cropwhitespace" +title: "CropWhitespace" +sidebar_label: "CropWhitespace" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CropWhitespace](_types_.cropwhitespace.md) + +## Hierarchy + +* **CropWhitespace** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.cropwhitespace.md#constructor) + +### Properties + +* [padding](_types_.cropwhitespace.md#private-readonly-padding) +* [threshold](_types_.cropwhitespace.md#private-readonly-threshold) + +### Methods + +* [toStep](_types_.cropwhitespace.md#tostep) + +## Constructors + +### constructor + +\+ **new CropWhitespace**(`threshold`: number, `padding`: number): *[CropWhitespace](_types_.cropwhitespace.md)* + +*Defined in [types.ts:432](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L432)* + +**Parameters:** + +Name | Type | +------ | ------ | +`threshold` | number | +`padding` | number | + +**Returns:** *[CropWhitespace](_types_.cropwhitespace.md)* + +## Properties + +### `Private` `Readonly` padding + +• **padding**: *number* + +*Defined in [types.ts:424](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L424)* + +___ + +### `Private` `Readonly` threshold + +• **threshold**: *number* + +*Defined in [types.ts:423](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L423)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:425](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L425)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.decode.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.decode.md new file mode 100644 index 0000000..ca9f0cb --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.decode.md @@ -0,0 +1,77 @@ +--- +id: "_types_.decode" +title: "Decode" +sidebar_label: "Decode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Decode](_types_.decode.md) + +## Hierarchy + +* **Decode** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.decode.md#constructor) + +### Properties + +* [io_id](_types_.decode.md#private-readonly-io_id) + +### Accessors + +* [ioID](_types_.decode.md#ioid) + +### Methods + +* [toStep](_types_.decode.md#tostep) + +## Constructors + +### constructor + +\+ **new Decode**(`ioID`: number): *[Decode](_types_.decode.md)* + +*Defined in [types.ts:57](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L57)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioID` | number | + +**Returns:** *[Decode](_types_.decode.md)* + +## Properties + +### `Private` `Readonly` io_id + +• **io_id**: *number* + +*Defined in [types.ts:46](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L46)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:55](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L55)* + +**Returns:** *number* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:48](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L48)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.drawexactimageto.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.drawexactimageto.md new file mode 100644 index 0000000..3477c34 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.drawexactimageto.md @@ -0,0 +1,117 @@ +--- +id: "_types_.drawexactimageto" +title: "DrawExactImageTo" +sidebar_label: "DrawExactImageTo" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [DrawExactImageTo](_types_.drawexactimageto.md) + +## Hierarchy + +* **DrawExactImageTo** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.drawexactimageto.md#constructor) + +### Properties + +* [blend](_types_.drawexactimageto.md#private-blend) +* [h](_types_.drawexactimageto.md#private-h) +* [hint](_types_.drawexactimageto.md#private-hint) +* [w](_types_.drawexactimageto.md#private-w) +* [x](_types_.drawexactimageto.md#private-x) +* [y](_types_.drawexactimageto.md#private-y) + +### Methods + +* [toStep](_types_.drawexactimageto.md#tostep) + +## Constructors + +### constructor + +\+ **new DrawExactImageTo**(`__namedParameters`: object, `blend`: [CompositingMode](../enums/_types_.compositingmode.md), `hint`: [ConstrainHints](_types_.constrainhints.md)): *[DrawExactImageTo](_types_.drawexactimageto.md)* + +*Defined in [types.ts:800](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L800)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`h` | number | 0 | +`w` | number | 0 | +`x` | number | 0 | +`y` | number | 0 | + +▪ **blend**: *[CompositingMode](../enums/_types_.compositingmode.md)* + +▪ **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +**Returns:** *[DrawExactImageTo](_types_.drawexactimageto.md)* + +## Properties + +### `Private` blend + +• **blend**: *[CompositingMode](../enums/_types_.compositingmode.md)* + +*Defined in [types.ts:786](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L786)* + +___ + +### `Private` h + +• **h**: *number* + +*Defined in [types.ts:784](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L784)* + +___ + +### `Private` hint + +• **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:787](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L787)* + +___ + +### `Private` w + +• **w**: *number* + +*Defined in [types.ts:783](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L783)* + +___ + +### `Private` x + +• **x**: *number* + +*Defined in [types.ts:781](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L781)* + +___ + +### `Private` y + +• **y**: *number* + +*Defined in [types.ts:782](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L782)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:789](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L789)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.encode.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.encode.md new file mode 100644 index 0000000..c89f247 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.encode.md @@ -0,0 +1,73 @@ +--- +id: "_types_.encode" +title: "Encode" +sidebar_label: "Encode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Encode](_types_.encode.md) + +## Hierarchy + +* **Encode** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.encode.md#constructor) + +### Properties + +* [io_id](_types_.encode.md#private-readonly-io_id) +* [preset](_types_.encode.md#private-preset) + +### Methods + +* [toStep](_types_.encode.md#tostep) + +## Constructors + +### constructor + +\+ **new Encode**(`preset`: [Preset](_types_.preset.md), `ioId`: number): *[Encode](_types_.encode.md)* + +*Defined in [types.ts:174](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L174)* + +**Parameters:** + +Name | Type | +------ | ------ | +`preset` | [Preset](_types_.preset.md) | +`ioId` | number | + +**Returns:** *[Encode](_types_.encode.md)* + +## Properties + +### `Private` `Readonly` io_id + +• **io_id**: *number* + +*Defined in [types.ts:166](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L166)* + +___ + +### `Private` preset + +• **preset**: *[Preset](_types_.preset.md)* + +*Defined in [types.ts:165](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L165)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:167](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L167)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.expandcanvas.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.expandcanvas.md new file mode 100644 index 0000000..7efb3b1 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.expandcanvas.md @@ -0,0 +1,106 @@ +--- +id: "_types_.expandcanvas" +title: "ExpandCanvas" +sidebar_label: "ExpandCanvas" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ExpandCanvas](_types_.expandcanvas.md) + +## Hierarchy + +* **ExpandCanvas** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.expandcanvas.md#constructor) + +### Properties + +* [bottom](_types_.expandcanvas.md#private-readonly-bottom) +* [color](_types_.expandcanvas.md#private-color) +* [left](_types_.expandcanvas.md#private-readonly-left) +* [right](_types_.expandcanvas.md#private-readonly-right) +* [top](_types_.expandcanvas.md#private-readonly-top) + +### Methods + +* [toStep](_types_.expandcanvas.md#tostep) + +## Constructors + +### constructor + +\+ **new ExpandCanvas**(`__namedParameters`: object, `color`: [SRGBColor](_types_.srgbcolor.md)): *[ExpandCanvas](_types_.expandcanvas.md)* + +*Defined in [types.ts:561](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L561)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`bottom` | number | 0 | +`left` | number | 0 | +`right` | number | 0 | +`top` | number | 0 | + +▪ **color**: *[SRGBColor](_types_.srgbcolor.md)* + +**Returns:** *[ExpandCanvas](_types_.expandcanvas.md)* + +## Properties + +### `Private` `Readonly` bottom + +• **bottom**: *number* + +*Defined in [types.ts:548](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L548)* + +___ + +### `Private` color + +• **color**: *[SRGBColor](_types_.srgbcolor.md)* + +*Defined in [types.ts:550](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L550)* + +___ + +### `Private` `Readonly` left + +• **left**: *number* + +*Defined in [types.ts:549](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L549)* + +___ + +### `Private` `Readonly` right + +• **right**: *number* + +*Defined in [types.ts:547](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L547)* + +___ + +### `Private` `Readonly` top + +• **top**: *number* + +*Defined in [types.ts:546](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L546)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:551](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L551)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fillrect.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fillrect.md new file mode 100644 index 0000000..f9e9366 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fillrect.md @@ -0,0 +1,103 @@ +--- +id: "_types_.fillrect" +title: "FillRect" +sidebar_label: "FillRect" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FillRect](_types_.fillrect.md) + +## Hierarchy + +* **FillRect** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.fillrect.md#constructor) + +### Properties + +* [color](_types_.fillrect.md#private-readonly-color) +* [x1](_types_.fillrect.md#private-readonly-x1) +* [x2](_types_.fillrect.md#private-readonly-x2) +* [y1](_types_.fillrect.md#private-readonly-y1) +* [y2](_types_.fillrect.md#private-readonly-y2) + +### Methods + +* [toStep](_types_.fillrect.md#tostep) + +## Constructors + +### constructor + +\+ **new FillRect**(`x1`: number, `y1`: number, `x2`: number, `y2`: number, `color`: [Colors](_types_.colors.md)): *[FillRect](_types_.fillrect.md)* + +*Defined in [types.ts:490](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L490)* + +**Parameters:** + +Name | Type | +------ | ------ | +`x1` | number | +`y1` | number | +`x2` | number | +`y2` | number | +`color` | [Colors](_types_.colors.md) | + +**Returns:** *[FillRect](_types_.fillrect.md)* + +## Properties + +### `Private` `Readonly` color + +• **color**: *[Colors](_types_.colors.md)* + +*Defined in [types.ts:479](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L479)* + +___ + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:475](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L475)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:476](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L476)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:477](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L477)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:478](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L478)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:480](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L480)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitbox.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitbox.md new file mode 100644 index 0000000..d743e43 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitbox.md @@ -0,0 +1,32 @@ +--- +id: "_types_.fitbox" +title: "FitBox" +sidebar_label: "FitBox" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBox](_types_.fitbox.md) + +## Hierarchy + +* **FitBox** + +## Implemented by + +* [FitBoxMargin](_types_.fitboxmargin.md) +* [FitBoxPercentage](_types_.fitboxpercentage.md) + +## Index + +### Methods + +* [toFitBox](_types_.fitbox.md#abstract-tofitbox) + +## Methods + +### `Abstract` toFitBox + +▸ **toFitBox**(): *Object* + +*Defined in [types.ts:583](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L583)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitboxmargin.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitboxmargin.md new file mode 100644 index 0000000..7aa4dd0 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitboxmargin.md @@ -0,0 +1,95 @@ +--- +id: "_types_.fitboxmargin" +title: "FitBoxMargin" +sidebar_label: "FitBoxMargin" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBoxMargin](_types_.fitboxmargin.md) + +## Hierarchy + +* **FitBoxMargin** + +## Implements + +* [FitBox](_types_.fitbox.md) + +## Index + +### Constructors + +* [constructor](_types_.fitboxmargin.md#constructor) + +### Properties + +* [bottom](_types_.fitboxmargin.md#private-readonly-bottom) +* [left](_types_.fitboxmargin.md#private-readonly-left) +* [right](_types_.fitboxmargin.md#private-readonly-right) +* [top](_types_.fitboxmargin.md#private-readonly-top) + +### Methods + +* [toFitBox](_types_.fitboxmargin.md#tofitbox) + +## Constructors + +### constructor + +\+ **new FitBoxMargin**(`__namedParameters`: object): *[FitBoxMargin](_types_.fitboxmargin.md)* + +*Defined in [types.ts:631](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L631)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | Default | +------ | ------ | ------ | +`bottom` | number | 0 | +`left` | number | 0 | +`right` | number | 0 | +`top` | number | 0 | + +**Returns:** *[FitBoxMargin](_types_.fitboxmargin.md)* + +## Properties + +### `Private` `Readonly` bottom + +• **bottom**: *number* + +*Defined in [types.ts:621](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L621)* + +___ + +### `Private` `Readonly` left + +• **left**: *number* + +*Defined in [types.ts:618](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L618)* + +___ + +### `Private` `Readonly` right + +• **right**: *number* + +*Defined in [types.ts:620](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L620)* + +___ + +### `Private` `Readonly` top + +• **top**: *number* + +*Defined in [types.ts:619](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L619)* + +## Methods + +### toFitBox + +▸ **toFitBox**(): *Object* + +*Defined in [types.ts:622](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L622)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitboxpercentage.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitboxpercentage.md new file mode 100644 index 0000000..a1032f7 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fitboxpercentage.md @@ -0,0 +1,95 @@ +--- +id: "_types_.fitboxpercentage" +title: "FitBoxPercentage" +sidebar_label: "FitBoxPercentage" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBoxPercentage](_types_.fitboxpercentage.md) + +## Hierarchy + +* **FitBoxPercentage** + +## Implements + +* [FitBox](_types_.fitbox.md) + +## Index + +### Constructors + +* [constructor](_types_.fitboxpercentage.md#constructor) + +### Properties + +* [x1](_types_.fitboxpercentage.md#private-readonly-x1) +* [x2](_types_.fitboxpercentage.md#private-readonly-x2) +* [y1](_types_.fitboxpercentage.md#private-readonly-y1) +* [y2](_types_.fitboxpercentage.md#private-readonly-y2) + +### Methods + +* [toFitBox](_types_.fitboxpercentage.md#tofitbox) + +## Constructors + +### constructor + +\+ **new FitBoxPercentage**(`__namedParameters`: object): *[FitBoxPercentage](_types_.fitboxpercentage.md)* + +*Defined in [types.ts:607](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L607)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`x1` | number | +`x2` | number | +`y1` | number | +`y2` | number | + +**Returns:** *[FitBoxPercentage](_types_.fitboxpercentage.md)* + +## Properties + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:594](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L594)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:596](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L596)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:595](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L595)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:597](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L597)* + +## Methods + +### toFitBox + +▸ **toFitBox**(): *Object* + +*Defined in [types.ts:598](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L598)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fliph.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fliph.md new file mode 100644 index 0000000..828cb04 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fliph.md @@ -0,0 +1,31 @@ +--- +id: "_types_.fliph" +title: "FlipH" +sidebar_label: "FlipH" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FlipH](_types_.fliph.md) + +## Hierarchy + +* **FlipH** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.fliph.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:469](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L469)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.flipv.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.flipv.md new file mode 100644 index 0000000..2a6fda2 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.flipv.md @@ -0,0 +1,31 @@ +--- +id: "_types_.flipv" +title: "FlipV" +sidebar_label: "FlipV" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FlipV](_types_.flipv.md) + +## Hierarchy + +* **FlipV** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.flipv.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:463](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L463)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.frombuffer.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.frombuffer.md new file mode 100644 index 0000000..495e7b1 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.frombuffer.md @@ -0,0 +1,152 @@ +--- +id: "_types_.frombuffer" +title: "FromBuffer" +sidebar_label: "FromBuffer" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromBuffer](_types_.frombuffer.md) + +## Hierarchy + +* **FromBuffer** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.frombuffer.md#constructor) + +### Properties + +* [buffer](_types_.frombuffer.md#private-buffer) +* [direction](_types_.frombuffer.md#private-direction) +* [ioId](_types_.frombuffer.md#private-ioid) +* [key](_types_.frombuffer.md#private-key) + +### Accessors + +* [ioID](_types_.frombuffer.md#ioid) + +### Methods + +* [setIOID](_types_.frombuffer.md#setioid) +* [toIOBuffer](_types_.frombuffer.md#toiobuffer) +* [toIOID](_types_.frombuffer.md#toioid) +* [toOutput](_types_.frombuffer.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromBuffer**(`buf`: Buffer, `key`: string): *[FromBuffer](_types_.frombuffer.md)* + +*Defined in [types.ts:935](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L935)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buf` | Buffer | +`key` | string | + +**Returns:** *[FromBuffer](_types_.frombuffer.md)* + +## Properties + +### `Private` buffer + +• **buffer**: *Buffer* + +*Defined in [types.ts:928](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L928)* + +___ + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:930](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L930)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:929](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L929)* + +___ + +### `Private` key + +• **key**: *string* + +*Defined in [types.ts:931](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L931)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:951](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L951)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:947](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L947)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:933](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L933)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:940](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L940)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹any›* + +*Defined in [types.ts:954](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L954)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹any›* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromfile.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromfile.md new file mode 100644 index 0000000..6bd14e4 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromfile.md @@ -0,0 +1,142 @@ +--- +id: "_types_.fromfile" +title: "FromFile" +sidebar_label: "FromFile" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromFile](_types_.fromfile.md) + +## Hierarchy + +* **FromFile** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.fromfile.md#constructor) + +### Properties + +* [direction](_types_.fromfile.md#private-direction) +* [filename](_types_.fromfile.md#private-filename) +* [ioId](_types_.fromfile.md#private-ioid) + +### Accessors + +* [ioID](_types_.fromfile.md#ioid) + +### Methods + +* [setIOID](_types_.fromfile.md#setioid) +* [toIOBuffer](_types_.fromfile.md#toiobuffer) +* [toIOID](_types_.fromfile.md#toioid) +* [toOutput](_types_.fromfile.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromFile**(`filename`: string): *[FromFile](_types_.fromfile.md)* + +*Defined in [types.ts:874](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L874)* + +**Parameters:** + +Name | Type | +------ | ------ | +`filename` | string | + +**Returns:** *[FromFile](_types_.fromfile.md)* + +## Properties + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:867](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L867)* + +___ + +### `Private` filename + +• **filename**: *string* + +*Defined in [types.ts:865](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L865)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:866](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L866)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:872](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L872)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:878](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L878)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:868](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L868)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:883](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L883)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹void›* + +*Defined in [types.ts:891](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L891)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹void›* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromstream.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromstream.md new file mode 100644 index 0000000..5cc873a --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromstream.md @@ -0,0 +1,142 @@ +--- +id: "_types_.fromstream" +title: "FromStream" +sidebar_label: "FromStream" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromStream](_types_.fromstream.md) + +## Hierarchy + +* **FromStream** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.fromstream.md#constructor) + +### Properties + +* [direction](_types_.fromstream.md#private-direction) +* [internalStream](_types_.fromstream.md#private-internalstream) +* [ioId](_types_.fromstream.md#private-ioid) + +### Accessors + +* [ioID](_types_.fromstream.md#ioid) + +### Methods + +* [setIOID](_types_.fromstream.md#setioid) +* [toIOBuffer](_types_.fromstream.md#toiobuffer) +* [toIOID](_types_.fromstream.md#toioid) +* [toOutput](_types_.fromstream.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromStream**(`str`: stream.Writable): *[FromStream](_types_.fromstream.md)* + +*Defined in [types.ts:899](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L899)* + +**Parameters:** + +Name | Type | +------ | ------ | +`str` | stream.Writable | + +**Returns:** *[FromStream](_types_.fromstream.md)* + +## Properties + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:898](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L898)* + +___ + +### `Private` internalStream + +• **internalStream**: *stream.Writable* + +*Defined in [types.ts:899](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L899)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:897](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L897)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:919](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L919)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:915](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L915)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:904](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L904)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:908](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L908)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹any›* + +*Defined in [types.ts:922](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L922)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹any›* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromurl.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromurl.md new file mode 100644 index 0000000..efdb024 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.fromurl.md @@ -0,0 +1,142 @@ +--- +id: "_types_.fromurl" +title: "FromURL" +sidebar_label: "FromURL" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FromURL](_types_.fromurl.md) + +## Hierarchy + +* **FromURL** + +## Implements + +* [IOOperation](_types_.iooperation.md) + +## Index + +### Constructors + +* [constructor](_types_.fromurl.md#constructor) + +### Properties + +* [direction](_types_.fromurl.md#private-direction) +* [ioId](_types_.fromurl.md#private-ioid) +* [url](_types_.fromurl.md#private-url) + +### Accessors + +* [ioID](_types_.fromurl.md#ioid) + +### Methods + +* [setIOID](_types_.fromurl.md#setioid) +* [toIOBuffer](_types_.fromurl.md#toiobuffer) +* [toIOID](_types_.fromurl.md#toioid) +* [toOutput](_types_.fromurl.md#tooutput) + +## Constructors + +### constructor + +\+ **new FromURL**(`url`: string): *[FromURL](_types_.fromurl.md)* + +*Defined in [types.ts:971](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L971)* + +**Parameters:** + +Name | Type | +------ | ------ | +`url` | string | + +**Returns:** *[FromURL](_types_.fromurl.md)* + +## Properties + +### `Private` direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:962](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L962)* + +___ + +### `Private` ioId + +• **ioId**: *number* + +*Defined in [types.ts:961](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L961)* + +___ + +### `Private` url + +• **url**: *string* + +*Defined in [types.ts:960](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L960)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:969](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L969)* + +**Returns:** *number* + +## Methods + +### setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:975](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L975)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:963](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L963)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:980](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L980)* + +**Returns:** *Object* + +___ + +### toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹void›* + +*Defined in [types.ts:988](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L988)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹void›* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.gif.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.gif.md new file mode 100644 index 0000000..4a5c312 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.gif.md @@ -0,0 +1,31 @@ +--- +id: "_types_.gif" +title: "GIF" +sidebar_label: "GIF" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [GIF](_types_.gif.md) + +## Hierarchy + +* **GIF** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Methods + +* [toPreset](_types_.gif.md#topreset) + +## Methods + +### toPreset + +▸ **toPreset**(): *string* + +*Defined in [types.ts:68](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L68)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.iodata.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.iodata.md new file mode 100644 index 0000000..2e55647 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.iodata.md @@ -0,0 +1,103 @@ +--- +id: "_types_.iodata" +title: "IOData" +sidebar_label: "IOData" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [IOData](_types_.iodata.md) + +## Hierarchy + +* **IOData** + +## Index + +### Constructors + +* [constructor](_types_.iodata.md#constructor) + +### Properties + +* [direction](_types_.iodata.md#direction) +* [fileName](_types_.iodata.md#filename) +* [io](_types_.iodata.md#io) +* [io_id](_types_.iodata.md#private-readonly-io_id) + +### Accessors + +* [ioID](_types_.iodata.md#ioid) + +### Methods + +* [toIOData](_types_.iodata.md#toiodata) + +## Constructors + +### constructor + +\+ **new IOData**(`filename`: string, `direction`: [Direction](../enums/_types_.direction.md), `io`: string, `ioID`: number): *[IOData](_types_.iodata.md)* + +*Defined in [types.ts:26](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L26)* + +**Parameters:** + +Name | Type | +------ | ------ | +`filename` | string | +`direction` | [Direction](../enums/_types_.direction.md) | +`io` | string | +`ioID` | number | + +**Returns:** *[IOData](_types_.iodata.md)* + +## Properties + +### direction + +• **direction**: *[Direction](../enums/_types_.direction.md)* + +*Defined in [types.ts:14](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L14)* + +___ + +### fileName + +• **fileName**: *string* + +*Defined in [types.ts:13](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L13)* + +___ + +### io + +• **io**: *string* + +*Defined in [types.ts:15](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L15)* + +___ + +### `Private` `Readonly` io_id + +• **io_id**: *number* + +*Defined in [types.ts:12](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L12)* + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:16](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L16)* + +**Returns:** *number* + +## Methods + +### toIOData + +▸ **toIOData**(): *Object* + +*Defined in [types.ts:20](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L20)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.iooperation.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.iooperation.md new file mode 100644 index 0000000..ca6aaa3 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.iooperation.md @@ -0,0 +1,95 @@ +--- +id: "_types_.iooperation" +title: "IOOperation" +sidebar_label: "IOOperation" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [IOOperation](_types_.iooperation.md) + +## Hierarchy + +* **IOOperation** + +## Implemented by + +* [FromBuffer](_types_.frombuffer.md) +* [FromFile](_types_.fromfile.md) +* [FromStream](_types_.fromstream.md) +* [FromURL](_types_.fromurl.md) + +## Index + +### Accessors + +* [ioID](_types_.iooperation.md#ioid) + +### Methods + +* [setIOID](_types_.iooperation.md#abstract-setioid) +* [toIOBuffer](_types_.iooperation.md#abstract-toiobuffer) +* [toIOID](_types_.iooperation.md#abstract-toioid) +* [toOutput](_types_.iooperation.md#abstract-tooutput) + +## Accessors + +### ioID + +• **get ioID**(): *number* + +*Defined in [types.ts:860](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L860)* + +**Returns:** *number* + +## Methods + +### `Abstract` setIOID + +▸ **setIOID**(`id`: number, `direction`: [Direction](../enums/_types_.direction.md)): *void* + +*Defined in [types.ts:859](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L859)* + +**Parameters:** + +Name | Type | +------ | ------ | +`id` | number | +`direction` | [Direction](../enums/_types_.direction.md) | + +**Returns:** *void* + +___ + +### `Abstract` toIOBuffer + +▸ **toIOBuffer**(): *Promise‹ArrayBuffer | SharedArrayBuffer›* + +*Defined in [types.ts:857](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L857)* + +**Returns:** *Promise‹ArrayBuffer | SharedArrayBuffer›* + +___ + +### `Abstract` toIOID + +▸ **toIOID**(): *Object* + +*Defined in [types.ts:858](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L858)* + +**Returns:** *Object* + +___ + +### `Abstract` toOutput + +▸ **toOutput**(`buffer`: ArrayBuffer, `collector`: Object): *Promise‹any›* + +*Defined in [types.ts:861](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L861)* + +**Parameters:** + +Name | Type | +------ | ------ | +`buffer` | ArrayBuffer | +`collector` | Object | + +**Returns:** *Promise‹any›* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.losslesspng.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.losslesspng.md new file mode 100644 index 0000000..3a02ccb --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.losslesspng.md @@ -0,0 +1,63 @@ +--- +id: "_types_.losslesspng" +title: "LosslessPNG" +sidebar_label: "LosslessPNG" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [LosslessPNG](_types_.losslesspng.md) + +## Hierarchy + +* **LosslessPNG** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.losslesspng.md#constructor) + +### Properties + +* [maximumDeflate](_types_.losslesspng.md#private-readonly-maximumdeflate) + +### Methods + +* [toPreset](_types_.losslesspng.md#topreset) + +## Constructors + +### constructor + +\+ **new LosslessPNG**(`maximumDeflate`: boolean): *[LosslessPNG](_types_.losslesspng.md)* + +*Defined in [types.ts:101](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L101)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`maximumDeflate` | boolean | false | + +**Returns:** *[LosslessPNG](_types_.losslesspng.md)* + +## Properties + +### `Private` `Readonly` maximumDeflate + +• **maximumDeflate**: *boolean* + +*Defined in [types.ts:94](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L94)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:95](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L95)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.lossypng.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.lossypng.md new file mode 100644 index 0000000..029ab92 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.lossypng.md @@ -0,0 +1,93 @@ +--- +id: "_types_.lossypng" +title: "LossyPNG" +sidebar_label: "LossyPNG" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [LossyPNG](_types_.lossypng.md) + +## Hierarchy + +* **LossyPNG** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.lossypng.md#constructor) + +### Properties + +* [maxDeflate](_types_.lossypng.md#private-readonly-maxdeflate) +* [minimumQuality](_types_.lossypng.md#private-readonly-minimumquality) +* [quality](_types_.lossypng.md#private-readonly-quality) +* [speed](_types_.lossypng.md#private-readonly-speed) + +### Methods + +* [toPreset](_types_.lossypng.md#topreset) + +## Constructors + +### constructor + +\+ **new LossyPNG**(`quality`: number, `minQuality`: number, `speed`: number | null, `maxDeflate`: boolean): *[LossyPNG](_types_.lossypng.md)* + +*Defined in [types.ts:122](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L122)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`quality` | number | - | +`minQuality` | number | - | +`speed` | number | null | null | +`maxDeflate` | boolean | false | + +**Returns:** *[LossyPNG](_types_.lossypng.md)* + +## Properties + +### `Private` `Readonly` maxDeflate + +• **maxDeflate**: *boolean* + +*Defined in [types.ts:112](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L112)* + +___ + +### `Private` `Readonly` minimumQuality + +• **minimumQuality**: *number* + +*Defined in [types.ts:110](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L110)* + +___ + +### `Private` `Readonly` quality + +• **quality**: *number* + +*Defined in [types.ts:109](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L109)* + +___ + +### `Private` `Readonly` speed + +• **speed**: *number | null* + +*Defined in [types.ts:111](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L111)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:113](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L113)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.mozjpeg.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.mozjpeg.md new file mode 100644 index 0000000..56d4bd6 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.mozjpeg.md @@ -0,0 +1,73 @@ +--- +id: "_types_.mozjpeg" +title: "MozJPEG" +sidebar_label: "MozJPEG" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [MozJPEG](_types_.mozjpeg.md) + +## Hierarchy + +* **MozJPEG** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.mozjpeg.md#constructor) + +### Properties + +* [isProgressive](_types_.mozjpeg.md#private-readonly-isprogressive) +* [quality](_types_.mozjpeg.md#private-readonly-quality) + +### Methods + +* [toPreset](_types_.mozjpeg.md#topreset) + +## Constructors + +### constructor + +\+ **new MozJPEG**(`quality`: number, `isProgressive`: boolean): *[MozJPEG](_types_.mozjpeg.md)* + +*Defined in [types.ts:83](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L83)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quality` | number | +`isProgressive` | boolean | + +**Returns:** *[MozJPEG](_types_.mozjpeg.md)* + +## Properties + +### `Private` `Readonly` isProgressive + +• **isProgressive**: *boolean* + +*Defined in [types.ts:75](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L75)* + +___ + +### `Private` `Readonly` quality + +• **quality**: *number* + +*Defined in [types.ts:74](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L74)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:76](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L76)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.preset.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.preset.md new file mode 100644 index 0000000..9caca02 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.preset.md @@ -0,0 +1,36 @@ +--- +id: "_types_.preset" +title: "Preset" +sidebar_label: "Preset" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Preset](_types_.preset.md) + +## Hierarchy + +* **Preset** + +## Implemented by + +* [GIF](_types_.gif.md) +* [LosslessPNG](_types_.losslesspng.md) +* [LossyPNG](_types_.lossypng.md) +* [MozJPEG](_types_.mozjpeg.md) +* [WebP](_types_.webp.md) +* [WebPLossless](_types_.webplossless.md) + +## Index + +### Methods + +* [toPreset](_types_.preset.md#abstract-topreset) + +## Methods + +### `Abstract` toPreset + +▸ **toPreset**(): *Object | string* + +*Defined in [types.ts:64](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L64)* + +**Returns:** *Object | string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.region.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.region.md new file mode 100644 index 0000000..1d2b25c --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.region.md @@ -0,0 +1,106 @@ +--- +id: "_types_.region" +title: "Region" +sidebar_label: "Region" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Region](_types_.region.md) + +## Hierarchy + +* **Region** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.region.md#constructor) + +### Properties + +* [backgroundColor](_types_.region.md#private-backgroundcolor) +* [x1](_types_.region.md#private-readonly-x1) +* [x2](_types_.region.md#private-readonly-x2) +* [y1](_types_.region.md#private-readonly-y1) +* [y2](_types_.region.md#private-readonly-y2) + +### Methods + +* [toStep](_types_.region.md#tostep) + +## Constructors + +### constructor + +\+ **new Region**(`__namedParameters`: object, `backgroundColor`: [Colors](_types_.colors.md)): *[Region](_types_.region.md)* + +*Defined in [types.ts:408](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L408)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`x1` | number | +`x2` | number | +`y1` | number | +`y2` | number | + +▪ **backgroundColor**: *[Colors](_types_.colors.md)* + +**Returns:** *[Region](_types_.region.md)* + +## Properties + +### `Private` backgroundColor + +• **backgroundColor**: *[Colors](_types_.colors.md)* + +*Defined in [types.ts:397](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L397)* + +___ + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:393](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L393)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:395](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L395)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:394](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L394)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:396](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L396)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:398](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L398)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.regionpercentage.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.regionpercentage.md new file mode 100644 index 0000000..9dfcd50 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.regionpercentage.md @@ -0,0 +1,106 @@ +--- +id: "_types_.regionpercentage" +title: "RegionPercentage" +sidebar_label: "RegionPercentage" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [RegionPercentage](_types_.regionpercentage.md) + +## Hierarchy + +* **RegionPercentage** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.regionpercentage.md#constructor) + +### Properties + +* [backgroundColor](_types_.regionpercentage.md#private-backgroundcolor) +* [x1](_types_.regionpercentage.md#private-readonly-x1) +* [x2](_types_.regionpercentage.md#private-readonly-x2) +* [y1](_types_.regionpercentage.md#private-readonly-y1) +* [y2](_types_.regionpercentage.md#private-readonly-y2) + +### Methods + +* [toStep](_types_.regionpercentage.md#tostep) + +## Constructors + +### constructor + +\+ **new RegionPercentage**(`__namedParameters`: object, `backgroundColor`: [Colors](_types_.colors.md)): *[RegionPercentage](_types_.regionpercentage.md)* + +*Defined in [types.ts:378](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L378)* + +**Parameters:** + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`x1` | number | +`x2` | number | +`y1` | number | +`y2` | number | + +▪ **backgroundColor**: *[Colors](_types_.colors.md)* + +**Returns:** *[RegionPercentage](_types_.regionpercentage.md)* + +## Properties + +### `Private` backgroundColor + +• **backgroundColor**: *[Colors](_types_.colors.md)* + +*Defined in [types.ts:367](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L367)* + +___ + +### `Private` `Readonly` x1 + +• **x1**: *number* + +*Defined in [types.ts:363](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L363)* + +___ + +### `Private` `Readonly` x2 + +• **x2**: *number* + +*Defined in [types.ts:365](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L365)* + +___ + +### `Private` `Readonly` y1 + +• **y1**: *number* + +*Defined in [types.ts:364](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L364)* + +___ + +### `Private` `Readonly` y2 + +• **y2**: *number* + +*Defined in [types.ts:366](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L366)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:368](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L368)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.resample.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.resample.md new file mode 100644 index 0000000..2461b22 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.resample.md @@ -0,0 +1,83 @@ +--- +id: "_types_.resample" +title: "ReSample" +sidebar_label: "ReSample" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ReSample](_types_.resample.md) + +## Hierarchy + +* **ReSample** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.resample.md#constructor) + +### Properties + +* [h](_types_.resample.md#private-h) +* [hint](_types_.resample.md#private-hint) +* [w](_types_.resample.md#private-w) + +### Methods + +* [toStep](_types_.resample.md#tostep) + +## Constructors + +### constructor + +\+ **new ReSample**(`w`: number, `h`: number, `hint`: [ConstrainHints](_types_.constrainhints.md) | null): *[ReSample](_types_.resample.md)* + +*Defined in [types.ts:1005](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L1005)* + +**Parameters:** + +Name | Type | Default | +------ | ------ | ------ | +`w` | number | - | +`h` | number | - | +`hint` | [ConstrainHints](_types_.constrainhints.md) | null | null | + +**Returns:** *[ReSample](_types_.resample.md)* + +## Properties + +### `Private` h + +• **h**: *number* + +*Defined in [types.ts:995](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L995)* + +___ + +### `Private` hint + +• **hint**: *[ConstrainHints](_types_.constrainhints.md) | null* + +*Defined in [types.ts:996](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L996)* + +___ + +### `Private` w + +• **w**: *number* + +*Defined in [types.ts:994](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L994)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:997](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L997)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate180.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate180.md new file mode 100644 index 0000000..1075a91 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate180.md @@ -0,0 +1,31 @@ +--- +id: "_types_.rotate180" +title: "Rotate180" +sidebar_label: "Rotate180" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Rotate180](_types_.rotate180.md) + +## Hierarchy + +* **Rotate180** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.rotate180.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:451](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L451)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate270.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate270.md new file mode 100644 index 0000000..20ee698 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate270.md @@ -0,0 +1,31 @@ +--- +id: "_types_.rotate270" +title: "Rotate270" +sidebar_label: "Rotate270" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Rotate270](_types_.rotate270.md) + +## Hierarchy + +* **Rotate270** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.rotate270.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:457](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L457)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate90.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate90.md new file mode 100644 index 0000000..cdf1ad8 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.rotate90.md @@ -0,0 +1,31 @@ +--- +id: "_types_.rotate90" +title: "Rotate90" +sidebar_label: "Rotate90" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Rotate90](_types_.rotate90.md) + +## Hierarchy + +* **Rotate90** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Methods + +* [toStep](_types_.rotate90.md#tostep) + +## Methods + +### toStep + +▸ **toStep**(): *string* + +*Defined in [types.ts:445](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L445)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.srgbcolor.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.srgbcolor.md new file mode 100644 index 0000000..460af17 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.srgbcolor.md @@ -0,0 +1,73 @@ +--- +id: "_types_.srgbcolor" +title: "SRGBColor" +sidebar_label: "SRGBColor" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [SRGBColor](_types_.srgbcolor.md) + +## Hierarchy + +* **SRGBColor** + +## Implements + +* [Colors](_types_.colors.md) + +## Index + +### Constructors + +* [constructor](_types_.srgbcolor.md#constructor) + +### Properties + +* [type](_types_.srgbcolor.md#private-readonly-type) +* [value](_types_.srgbcolor.md#private-readonly-value) + +### Methods + +* [toColor](_types_.srgbcolor.md#tocolor) + +## Constructors + +### constructor + +\+ **new SRGBColor**(`type`: [ColorType](../enums/_types_.colortype.md), `value`: string): *[SRGBColor](_types_.srgbcolor.md)* + +*Defined in [types.ts:518](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L518)* + +**Parameters:** + +Name | Type | +------ | ------ | +`type` | [ColorType](../enums/_types_.colortype.md) | +`value` | string | + +**Returns:** *[SRGBColor](_types_.srgbcolor.md)* + +## Properties + +### `Private` `Readonly` type + +• **type**: *[ColorType](../enums/_types_.colortype.md)* + +*Defined in [types.ts:510](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L510)* + +___ + +### `Private` `Readonly` value + +• **value**: *string* + +*Defined in [types.ts:511](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L511)* + +## Methods + +### toColor + +▸ **toColor**(): *Object* + +*Defined in [types.ts:512](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L512)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.transparentcolor.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.transparentcolor.md new file mode 100644 index 0000000..acd26e4 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.transparentcolor.md @@ -0,0 +1,31 @@ +--- +id: "_types_.transparentcolor" +title: "TransparentColor" +sidebar_label: "TransparentColor" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [TransparentColor](_types_.transparentcolor.md) + +## Hierarchy + +* **TransparentColor** + +## Implements + +* [Colors](_types_.colors.md) + +## Index + +### Methods + +* [toColor](_types_.transparentcolor.md#tocolor) + +## Methods + +### toColor + +▸ **toColor**(): *string* + +*Defined in [types.ts:527](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L527)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.watermark.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.watermark.md new file mode 100644 index 0000000..af9c714 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.watermark.md @@ -0,0 +1,116 @@ +--- +id: "_types_.watermark" +title: "Watermark" +sidebar_label: "Watermark" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Watermark](_types_.watermark.md) + +## Hierarchy + +* **Watermark** + +## Implements + +* [BaseStep](_types_.basestep.md) + +## Index + +### Constructors + +* [constructor](_types_.watermark.md#constructor) + +### Properties + +* [fitBox](_types_.watermark.md#private-fitbox) +* [fitMode](_types_.watermark.md#private-readonly-fitmode) +* [gravity](_types_.watermark.md#private-gravity) +* [hint](_types_.watermark.md#private-hint) +* [ioID](_types_.watermark.md#private-readonly-ioid) +* [opacity](_types_.watermark.md#private-readonly-opacity) + +### Methods + +* [toStep](_types_.watermark.md#tostep) + +## Constructors + +### constructor + +\+ **new Watermark**(`ioID`: number, `__namedParameters`: object): *[Watermark](_types_.watermark.md)* + +*Defined in [types.ts:672](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L672)* + +**Parameters:** + +▪ **ioID**: *number* + +▪ **__namedParameters**: *object* + +Name | Type | +------ | ------ | +`box` | [FitBox](_types_.fitbox.md)‹› | +`gravity` | [ConstrainGravity](_types_.constraingravity.md)‹› | +`hint` | [ConstrainHints](_types_.constrainhints.md)‹› | +`mode` | [FitMode](../enums/_types_.fitmode.md) | +`opacity` | number | + +**Returns:** *[Watermark](_types_.watermark.md)* + +## Properties + +### `Private` fitBox + +• **fitBox**: *[FitBox](_types_.fitbox.md)* + +*Defined in [types.ts:658](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L658)* + +___ + +### `Private` `Readonly` fitMode + +• **fitMode**: *[FitMode](../enums/_types_.fitmode.md)* + +*Defined in [types.ts:657](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L657)* + +___ + +### `Private` gravity + +• **gravity**: *[ConstrainGravity](_types_.constraingravity.md)* + +*Defined in [types.ts:656](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L656)* + +___ + +### `Private` hint + +• **hint**: *[ConstrainHints](_types_.constrainhints.md)* + +*Defined in [types.ts:660](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L660)* + +___ + +### `Private` `Readonly` ioID + +• **ioID**: *number* + +*Defined in [types.ts:655](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L655)* + +___ + +### `Private` `Readonly` opacity + +• **opacity**: *number* + +*Defined in [types.ts:659](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L659)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:661](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L661)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.webp.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.webp.md new file mode 100644 index 0000000..3d16bba --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.webp.md @@ -0,0 +1,63 @@ +--- +id: "_types_.webp" +title: "WebP" +sidebar_label: "WebP" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WebP](_types_.webp.md) + +## Hierarchy + +* **WebP** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Constructors + +* [constructor](_types_.webp.md#constructor) + +### Properties + +* [quality](_types_.webp.md#private-readonly-quality) + +### Methods + +* [toPreset](_types_.webp.md#topreset) + +## Constructors + +### constructor + +\+ **new WebP**(`quality`: number): *[WebP](_types_.webp.md)* + +*Defined in [types.ts:150](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L150)* + +**Parameters:** + +Name | Type | +------ | ------ | +`quality` | number | + +**Returns:** *[WebP](_types_.webp.md)* + +## Properties + +### `Private` `Readonly` quality + +• **quality**: *number* + +*Defined in [types.ts:143](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L143)* + +## Methods + +### toPreset + +▸ **toPreset**(): *Object* + +*Defined in [types.ts:144](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L144)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.webplossless.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.webplossless.md new file mode 100644 index 0000000..b5ad0c1 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.webplossless.md @@ -0,0 +1,31 @@ +--- +id: "_types_.webplossless" +title: "WebPLossless" +sidebar_label: "WebPLossless" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WebPLossless](_types_.webplossless.md) + +## Hierarchy + +* **WebPLossless** + +## Implements + +* [Preset](_types_.preset.md) + +## Index + +### Methods + +* [toPreset](_types_.webplossless.md#topreset) + +## Methods + +### toPreset + +▸ **toPreset**(): *string* + +*Defined in [types.ts:159](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L159)* + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.whitebalance.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.whitebalance.md new file mode 100644 index 0000000..8ef297f --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/classes/_types_.whitebalance.md @@ -0,0 +1,59 @@ +--- +id: "_types_.whitebalance" +title: "WhiteBalance" +sidebar_label: "WhiteBalance" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WhiteBalance](_types_.whitebalance.md) + +## Hierarchy + +* **WhiteBalance** + +## Index + +### Constructors + +* [constructor](_types_.whitebalance.md#constructor) + +### Properties + +* [threshold](_types_.whitebalance.md#private-threshold) + +### Methods + +* [toStep](_types_.whitebalance.md#tostep) + +## Constructors + +### constructor + +\+ **new WhiteBalance**(`threshold`: number): *[WhiteBalance](_types_.whitebalance.md)* + +*Defined in [types.ts:722](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L722)* + +**Parameters:** + +Name | Type | +------ | ------ | +`threshold` | number | + +**Returns:** *[WhiteBalance](_types_.whitebalance.md)* + +## Properties + +### `Private` threshold + +• **threshold**: *number* + +*Defined in [types.ts:715](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L715)* + +## Methods + +### toStep + +▸ **toStep**(): *Object* + +*Defined in [types.ts:716](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L716)* + +**Returns:** *Object* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colorfiltersrgbtype.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colorfiltersrgbtype.md new file mode 100644 index 0000000..d99d301 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colorfiltersrgbtype.md @@ -0,0 +1,57 @@ +--- +id: "_types_.colorfiltersrgbtype" +title: "ColorFilterSRGBType" +sidebar_label: "ColorFilterSRGBType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGBType](_types_.colorfiltersrgbtype.md) + +## Index + +### Enumeration members + +* [GrayscaleBt709](_types_.colorfiltersrgbtype.md#grayscalebt709) +* [GrayscaleFlat](_types_.colorfiltersrgbtype.md#grayscaleflat) +* [GrayscaleNtsc](_types_.colorfiltersrgbtype.md#grayscalentsc) +* [GrayscaleRY](_types_.colorfiltersrgbtype.md#grayscalery) +* [Invert](_types_.colorfiltersrgbtype.md#invert) + +## Enumeration members + +### GrayscaleBt709 + +• **GrayscaleBt709**: = "grayscale_bt709" + +*Defined in [types.ts:730](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L730)* + +___ + +### GrayscaleFlat + +• **GrayscaleFlat**: = "grayscale_flat" + +*Defined in [types.ts:729](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L729)* + +___ + +### GrayscaleNtsc + +• **GrayscaleNtsc**: = "grayscale_ntsc" + +*Defined in [types.ts:728](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L728)* + +___ + +### GrayscaleRY + +• **GrayscaleRY**: = "grayscale_ry" + +*Defined in [types.ts:731](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L731)* + +___ + +### Invert + +• **Invert**: = "invert" + +*Defined in [types.ts:732](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L732)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colorfiltersrgbvaluetype.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colorfiltersrgbvaluetype.md new file mode 100644 index 0000000..468b589 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colorfiltersrgbvaluetype.md @@ -0,0 +1,39 @@ +--- +id: "_types_.colorfiltersrgbvaluetype" +title: "ColorFilterSRGBValueType" +sidebar_label: "ColorFilterSRGBValueType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorFilterSRGBValueType](_types_.colorfiltersrgbvaluetype.md) + +## Index + +### Enumeration members + +* [Alpha](_types_.colorfiltersrgbvaluetype.md#alpha) +* [Brightness](_types_.colorfiltersrgbvaluetype.md#brightness) +* [Contrast](_types_.colorfiltersrgbvaluetype.md#contrast) + +## Enumeration members + +### Alpha + +• **Alpha**: = "alpha" + +*Defined in [types.ts:736](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L736)* + +___ + +### Brightness + +• **Brightness**: = "brightness" + +*Defined in [types.ts:738](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L738)* + +___ + +### Contrast + +• **Contrast**: = "contrast" + +*Defined in [types.ts:737](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L737)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colortype.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colortype.md new file mode 100644 index 0000000..78d28a8 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.colortype.md @@ -0,0 +1,21 @@ +--- +id: "_types_.colortype" +title: "ColorType" +sidebar_label: "ColorType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ColorType](_types_.colortype.md) + +## Index + +### Enumeration members + +* [Hex](_types_.colortype.md#hex) + +## Enumeration members + +### Hex + +• **Hex**: = "hex" + +*Defined in [types.ts:506](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L506)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.compositingmode.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.compositingmode.md new file mode 100644 index 0000000..c496dd9 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.compositingmode.md @@ -0,0 +1,30 @@ +--- +id: "_types_.compositingmode" +title: "CompositingMode" +sidebar_label: "CompositingMode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [CompositingMode](_types_.compositingmode.md) + +## Index + +### Enumeration members + +* [Compose](_types_.compositingmode.md#compose) +* [Overwrite](_types_.compositingmode.md#overwrite) + +## Enumeration members + +### Compose + +• **Compose**: = "compose" + +*Defined in [types.ts:817](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L817)* + +___ + +### Overwrite + +• **Overwrite**: = "overwrite" + +*Defined in [types.ts:818](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L818)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.constrainmode.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.constrainmode.md new file mode 100644 index 0000000..ce52c99 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.constrainmode.md @@ -0,0 +1,93 @@ +--- +id: "_types_.constrainmode" +title: "ConstrainMode" +sidebar_label: "ConstrainMode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainMode](_types_.constrainmode.md) + +## Index + +### Enumeration members + +* [AspectCrop](_types_.constrainmode.md#aspectcrop) +* [Distort](_types_.constrainmode.md#distort) +* [Fit](_types_.constrainmode.md#fit) +* [FitCrop](_types_.constrainmode.md#fitcrop) +* [FitPad](_types_.constrainmode.md#fitpad) +* [LargerThan](_types_.constrainmode.md#largerthan) +* [Within](_types_.constrainmode.md#within) +* [WithinCrop](_types_.constrainmode.md#withincrop) +* [WithinPad](_types_.constrainmode.md#withinpad) + +## Enumeration members + +### AspectCrop + +• **AspectCrop**: = "aspect_crop" + +*Defined in [types.ts:309](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L309)* + +___ + +### Distort + +• **Distort**: = "distort" + +*Defined in [types.ts:295](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L295)* + +___ + +### Fit + +• **Fit**: = "fit" + +*Defined in [types.ts:299](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L299)* + +___ + +### FitCrop + +• **FitCrop**: = "fit_crop" + +*Defined in [types.ts:307](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L307)* + +___ + +### FitPad + +• **FitPad**: = "fit_pad" + +*Defined in [types.ts:315](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L315)* + +___ + +### LargerThan + +• **LargerThan**: = "larger_than" + +*Defined in [types.ts:301](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L301)* + +___ + +### Within + +• **Within**: = "within" + +*Defined in [types.ts:297](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L297)* + +___ + +### WithinCrop + +• **WithinCrop**: = "within_crop" + +*Defined in [types.ts:304](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L304)* + +___ + +### WithinPad + +• **WithinPad**: = "within_pad" + +*Defined in [types.ts:312](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L312)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.direction.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.direction.md new file mode 100644 index 0000000..3193ee2 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.direction.md @@ -0,0 +1,30 @@ +--- +id: "_types_.direction" +title: "Direction" +sidebar_label: "Direction" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Direction](_types_.direction.md) + +## Index + +### Enumeration members + +* [in](_types_.direction.md#in) +* [out](_types_.direction.md#out) + +## Enumeration members + +### in + +• **in**: = "in" + +*Defined in [types.ts:7](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L7)* + +___ + +### out + +• **out**: = "out" + +*Defined in [types.ts:8](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L8)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.filter.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.filter.md new file mode 100644 index 0000000..5fb54cd --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.filter.md @@ -0,0 +1,210 @@ +--- +id: "_types_.filter" +title: "Filter" +sidebar_label: "Filter" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [Filter](_types_.filter.md) + +## Index + +### Enumeration members + +* [Box](_types_.filter.md#box) +* [CatmullRom](_types_.filter.md#catmullrom) +* [Cubic](_types_.filter.md#cubic) +* [CubicBSpline](_types_.filter.md#cubicbspline) +* [CubicSharp](_types_.filter.md#cubicsharp) +* [Fastest](_types_.filter.md#fastest) +* [Ginseng](_types_.filter.md#ginseng) +* [GinsengSharp](_types_.filter.md#ginsengsharp) +* [Hermite](_types_.filter.md#hermite) +* [Jinc](_types_.filter.md#jinc) +* [Lanczos](_types_.filter.md#lanczos) +* [Lanczos2](_types_.filter.md#lanczos2) +* [Lanczos2Sharp](_types_.filter.md#lanczos2sharp) +* [LanczosSharp](_types_.filter.md#lanczossharp) +* [Linear](_types_.filter.md#linear) +* [Mitchell](_types_.filter.md#mitchell) +* [NCubic](_types_.filter.md#ncubic) +* [NCubicSharp](_types_.filter.md#ncubicsharp) +* [Robidoux](_types_.filter.md#robidoux) +* [RobidouxFast](_types_.filter.md#robidouxfast) +* [RobidouxSharp](_types_.filter.md#robidouxsharp) +* [Triangle](_types_.filter.md#triangle) + +## Enumeration members + +### Box + +• **Box**: = "box" + +*Defined in [types.ts:203](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L203)* + +___ + +### CatmullRom + +• **CatmullRom**: = "catmull_rom" + +*Defined in [types.ts:194](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L194)* + +___ + +### Cubic + +• **Cubic**: = "cubic" + +*Defined in [types.ts:192](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L192)* + +___ + +### CubicBSpline + +• **CubicBSpline**: = "cubic_b_spline" + +*Defined in [types.ts:197](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L197)* + +___ + +### CubicSharp + +• **CubicSharp**: = "cubic_sharp" + +*Defined in [types.ts:193](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L193)* + +___ + +### Fastest + +• **Fastest**: = "fastest" + +*Defined in [types.ts:205](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L205)* + +___ + +### Ginseng + +• **Ginseng**: = "ginseng" + +*Defined in [types.ts:186](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L186)* + +___ + +### GinsengSharp + +• **GinsengSharp**: = "ginseng_sharp" + +*Defined in [types.ts:187](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L187)* + +___ + +### Hermite + +• **Hermite**: = "hermite" + +*Defined in [types.ts:198](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L198)* + +___ + +### Jinc + +• **Jinc**: = "jinc" + +*Defined in [types.ts:199](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L199)* + +___ + +### Lanczos + +• **Lanczos**: = "lanczos" + +*Defined in [types.ts:188](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L188)* + +___ + +### Lanczos2 + +• **Lanczos2**: = "lanczos_2" + +*Defined in [types.ts:190](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L190)* + +___ + +### Lanczos2Sharp + +• **Lanczos2Sharp**: = "lanczos_2_sharp" + +*Defined in [types.ts:191](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L191)* + +___ + +### LanczosSharp + +• **LanczosSharp**: = "lanczos_sharp" + +*Defined in [types.ts:189](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L189)* + +___ + +### Linear + +• **Linear**: = "linear" + +*Defined in [types.ts:202](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L202)* + +___ + +### Mitchell + +• **Mitchell**: = "mitchell" + +*Defined in [types.ts:195](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L195)* + +___ + +### NCubic + +• **NCubic**: = "n_cubic" + +*Defined in [types.ts:206](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L206)* + +___ + +### NCubicSharp + +• **NCubicSharp**: = "n_cubic_sharp" + +*Defined in [types.ts:207](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L207)* + +___ + +### Robidoux + +• **Robidoux**: = "robidoux" + +*Defined in [types.ts:184](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L184)* + +___ + +### RobidouxFast + +• **RobidouxFast**: = "robidoux_fast" + +*Defined in [types.ts:183](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L183)* + +___ + +### RobidouxSharp + +• **RobidouxSharp**: = "robidoux_sharp" + +*Defined in [types.ts:185](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L185)* + +___ + +### Triangle + +• **Triangle**: = "triangle" + +*Defined in [types.ts:201](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L201)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.fitmode.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.fitmode.md new file mode 100644 index 0000000..6320055 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.fitmode.md @@ -0,0 +1,57 @@ +--- +id: "_types_.fitmode" +title: "FitMode" +sidebar_label: "FitMode" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitMode](_types_.fitmode.md) + +## Index + +### Enumeration members + +* [Distort](_types_.fitmode.md#distort) +* [Fit](_types_.fitmode.md#fit) +* [FitCrop](_types_.fitmode.md#fitcrop) +* [Within](_types_.fitmode.md#within) +* [WithinCrop](_types_.fitmode.md#withincrop) + +## Enumeration members + +### Distort + +• **Distort**: = "distort" + +*Defined in [types.ts:575](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L575)* + +___ + +### Fit + +• **Fit**: = "fit" + +*Defined in [types.ts:577](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L577)* + +___ + +### FitCrop + +• **FitCrop**: = "fit_crop" + +*Defined in [types.ts:579](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L579)* + +___ + +### Within + +• **Within**: = "within" + +*Defined in [types.ts:576](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L576)* + +___ + +### WithinCrop + +• **WithinCrop**: = "within_crop" + +*Defined in [types.ts:578](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L578)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.resamplewhen.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.resamplewhen.md new file mode 100644 index 0000000..973eeab --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.resamplewhen.md @@ -0,0 +1,39 @@ +--- +id: "_types_.resamplewhen" +title: "ResampleWhen" +sidebar_label: "ResampleWhen" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ResampleWhen](_types_.resamplewhen.md) + +## Index + +### Enumeration members + +* [Always](_types_.resamplewhen.md#always) +* [SizeDiffers](_types_.resamplewhen.md#sizediffers) +* [SizeDiffersOrSharpeningRequested](_types_.resamplewhen.md#sizediffersorsharpeningrequested) + +## Enumeration members + +### Always + +• **Always**: = "always" + +*Defined in [types.ts:213](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L213)* + +___ + +### SizeDiffers + +• **SizeDiffers**: = "size_differs" + +*Defined in [types.ts:211](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L211)* + +___ + +### SizeDiffersOrSharpeningRequested + +• **SizeDiffersOrSharpeningRequested**: = "size_differs_or_sharpening_requested" + +*Defined in [types.ts:212](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L212)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.scalingfloatspace.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.scalingfloatspace.md new file mode 100644 index 0000000..4d21db6 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.scalingfloatspace.md @@ -0,0 +1,30 @@ +--- +id: "_types_.scalingfloatspace" +title: "ScalingFloatspace" +sidebar_label: "ScalingFloatspace" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ScalingFloatspace](_types_.scalingfloatspace.md) + +## Index + +### Enumeration members + +* [Linear](_types_.scalingfloatspace.md#linear) +* [Srgb](_types_.scalingfloatspace.md#srgb) + +## Enumeration members + +### Linear + +• **Linear**: = "linear" + +*Defined in [types.ts:225](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L225)* + +___ + +### Srgb + +• **Srgb**: = "srgb" + +*Defined in [types.ts:224](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L224)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.sharpenwhen.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.sharpenwhen.md new file mode 100644 index 0000000..5b0b128 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/enums/_types_.sharpenwhen.md @@ -0,0 +1,48 @@ +--- +id: "_types_.sharpenwhen" +title: "SharpenWhen" +sidebar_label: "SharpenWhen" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [SharpenWhen](_types_.sharpenwhen.md) + +## Index + +### Enumeration members + +* [Always](_types_.sharpenwhen.md#always) +* [Downscaling](_types_.sharpenwhen.md#downscaling) +* [SizeDiffers](_types_.sharpenwhen.md#sizediffers) +* [Upscaling](_types_.sharpenwhen.md#upscaling) + +## Enumeration members + +### Always + +• **Always**: = "always" + +*Defined in [types.ts:220](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L220)* + +___ + +### Downscaling + +• **Downscaling**: = "downscaling" + +*Defined in [types.ts:217](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L217)* + +___ + +### SizeDiffers + +• **SizeDiffers**: = "size_differs" + +*Defined in [types.ts:219](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L219)* + +___ + +### Upscaling + +• **Upscaling**: = "upscaling" + +*Defined in [types.ts:218](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L218)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/globals.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/globals.md new file mode 100644 index 0000000..dd12bb7 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/globals.md @@ -0,0 +1,17 @@ +--- +id: "globals" +title: "@imazen/imageflow" +sidebar_label: "Globals" +--- + +[@imazen/imageflow](index.md) › [Globals](globals.md) + +## Index + +### Modules + +* ["index"](modules/_index_.md) +* ["job"](modules/_job_.md) +* ["json"](modules/_json_.md) +* ["native"](modules/_native_.md) +* ["types"](modules/_types_.md) diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/index.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/index.md new file mode 100644 index 0000000..9bb26ef --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/index.md @@ -0,0 +1,208 @@ +--- +id: "index" +title: "@imazen/imageflow" +sidebar_label: "README" +slug: / +--- + +[@imazen/imageflow](index.md) › [Globals](globals.md) + +# Node bindings for [Imageflow](https://github.com/imazen/imageflow) + +[![Macos](https://github.com/imazen/imageflow-node/workflows/Test%20Macos/badge.svg)](https://github.com/imazen/imageflow-node/actions?query=workflow%3A%22Test+Macos%22) [![Linux](https://github.com/imazen/imageflow-node/workflows/Test%20Linux/badge.svg)](https://github.com/imazen/imageflow-node/actions?query=workflow%3A%22Test+Linux%22) [![Windows](https://github.com/imazen/imageflow-node/workflows/Test%20Windows/badge.svg)](https://github.com/imazen/imageflow-node/actions?query=workflow%3A%22Test+Windows%22) + +Quickly scale or modify images and optimize them for the web. + +If the AGPLv3 does not work for you, you can get a [commercial license](https://imageresizing.net/pricing) on a sliding scale. If you have more than 1 server doing image processing your savings should cover the cost. + +[API docs are here](modules/_index_.md). + +## Installation + +```bash +npm install @imazen/imageflow +``` + +## Usage + +```js +const { + MozJPEG, + Steps, + FromURL, + FromFile, + FromStream, + FromBuffer, +} = require('@imazen/imageflow') +const fs = require('fs') + +let step = new Steps(new FromURL('https://jpeg.org/images/jpeg2000-home.jpg')) + .constrainWithin(500, 500) + .branch((step) => + step + .constrainWithin(400, 400) + .branch((step) => + step + .constrainWithin(200, 200) + .rotate90() + .colorFilterGrayscaleFlat() + .encode(new FromFile('./branch_2.jpg'), new MozJPEG(80)) + ) + .copyRectangle( + (canvas) => + canvas.decode( + new FromStream(fs.createReadStream('./test.jpg')) + ), + { x: 0, y: 0, w: 100, h: 100 }, + 10, + 10 + ) + .encode(new FromFile('./branch.jpg'), new MozJPEG(80)) + ) + .constrainWithin(100, 100) + .rotate180() +step.encode(new FromBuffer(null, 'key'), new MozJPEG(80)) + .execute() + .then(console.log) + .catch(console.log) +``` + +### Examples + +1. Reading a file from disk. `FromFile` provide an easy method for reading and writing images to disk. + +```js +const { MozJPEG, Steps, FromFile } = require('@imazen/imageflow') + +const output = await new Step(new FromFile('path/to/file')) + .rotate180() + .encode(new FromFile('./path/to/output/file')) + .execute() +``` + +2. Reading from a stream. `FromStream` can read and write to a stream. + +```js +const { MozJPEG, Steps, FromStream } = require('@imazen/imageflow') + +const output = await new Step(new FromStream(req)) + .constrainWithin(400, 400) + .encode(new FromStream(res)) + .execute() +res.end() +``` + +3. Reading from a url. `FromURL` can make a GET request to download and POST request to upload the image. + +```js +const { MozJPEG, Steps, FromURL } = require('@imazen/imageflow') + +const output = await new Step(new FromURL('url to image')) + .colorFilterGrayscaleFlat() + .encode(new FromURL('url to image upload')) + .execute() +``` + +4. Providing buffer. `FromBuffer` can read and provide the output buffer. To read the output a key should be provided, which used later to access buffer in the output. + +```js +const { MozJPEG, Steps, FromBuffer } = require('@imazen/imageflow') + +const output = await new Step(new FromBuffer(getSomeBuffer())) + .colorFilterGrayscaleFlat() + .encode(new FromBuffer(null, 'key')) + .execute() +console.log(output.key) +``` + +5. Performing Batch operations. `branch`, `decode`, and `encode` are used together to perform batch operation. This example shows how to create varying size images from a single image. + +```js +const { MozJPEG, Steps, FromStream, FromFile } = require('@imazen/imageflow') + +const test = new Steps(new FromStream(req)) + .constrainWithin(800, 800) + .branch((step) => step.encode(new FromFile('large.jpg'), new MozJPEG())) + .branch((step) => + step + .constrainWithin(400, 400) + .branch((step) => + step + .constrainWithin(200, 200) + .branch((step) => + step + .constrainWithin(100, 100) + .encode( + new FromFile('tiny.jpg'), + new MozJPEG() + ) + ) + .encode(new FromFile('small.jpg'), new MozJPEG()) + ) + .encode(new FromFile('medium.jpg'), new MozJPEG()) + ) + .execute() +``` + +6. Example with complex graph of operations + +```js +const { + MozJPEG, + Steps, + FromURL, + FromFile, + FromStream, + FromBuffer, +} = require('@imazen/imageflow') +const fs = require('fs') + +let step = new Steps(new FromURL('https://jpeg.org/images/jpeg2000-home.jpg')) + .constraintWithin(500, 500) + .branch((step) => + step + .constraintWithin(400, 400) + .branch((step) => + step + .constraintWithin(200, 200) + .rotate90() + .colorFilterGrayscaleFlat() + .encode(new FromFile('./branch_2.jpg'), new MozJPEG(80)) + ) + .copyRectangle( + (canvas) => + canvas.decode( + new FromStream(fs.createReadStream('./test.jpg')) + ), + { x: 0, y: 0, w: 100, h: 100 }, + 10, + 10 + ) + .encode(new FromFile('./branch.jpg'), new MozJPEG(80)) + ) + .constraintWithin(100, 100) + .rotate180() +step.encode(new FromBuffer(null, 'key'), new MozJPEG(80)) + .execute() + .then(console.log) + .catch(console.log) +``` + +7. Using query style commands + +```js +await new Steps().executeCommand( + 'width=100&height=100&mode=max', + new FromBuffer(str), + new FromBuffer(null, 'key') + ) +``` + +## Local Setup + +```bash +git clone https://github.com/imazen/imageflow-node +cd imageflow-node +yarn +yarn test +``` diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_json_.edge.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_json_.edge.md new file mode 100644 index 0000000..e0f5b4f --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_json_.edge.md @@ -0,0 +1,34 @@ +--- +id: "_json_.edge" +title: "edge" +sidebar_label: "edge" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](../modules/_json_.md) › [edge](_json_.edge.md) + +## Hierarchy + +* **edge** + +## Index + +### Properties + +* [to](_json_.edge.md#to) +* [type](_json_.edge.md#type) + +## Properties + +### to + +• **to**: *number* + +*Defined in [json.ts:479](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L479)* + +___ + +### type + +• **type**: *string* + +*Defined in [json.ts:480](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/json.ts#L480)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_native_.jobtype.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_native_.jobtype.md new file mode 100644 index 0000000..35979d2 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_native_.jobtype.md @@ -0,0 +1,104 @@ +--- +id: "_native_.jobtype" +title: "JobType" +sidebar_label: "JobType" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["native"](../modules/_native_.md) › [JobType](_native_.jobtype.md) + +## Hierarchy + +* **JobType** + +## Index + +### Methods + +* [addInputBytesCopied](_native_.jobtype.md#addinputbytescopied) +* [addOutputBuffer](_native_.jobtype.md#addoutputbuffer) +* [getOutputBufferBytes](_native_.jobtype.md#getoutputbufferbytes) +* [message](_native_.jobtype.md#message) +* [messageSync](_native_.jobtype.md#messagesync) + +## Methods + +### addInputBytesCopied + +▸ **addInputBytesCopied**(`ioId`: number, `bytes`: ArrayBuffer): *void* + +*Defined in [native.ts:4](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L4)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | +`bytes` | ArrayBuffer | + +**Returns:** *void* + +___ + +### addOutputBuffer + +▸ **addOutputBuffer**(`ioId`: number): *void* + +*Defined in [native.ts:6](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L6)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *void* + +___ + +### getOutputBufferBytes + +▸ **getOutputBufferBytes**(`ioId`: number): *ArrayBuffer* + +*Defined in [native.ts:5](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L5)* + +**Parameters:** + +Name | Type | +------ | ------ | +`ioId` | number | + +**Returns:** *ArrayBuffer* + +___ + +### message + +▸ **message**(`endPoint`: string, `tasks`: string): *Promise‹string›* + +*Defined in [native.ts:7](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L7)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *Promise‹string›* + +___ + +### messageSync + +▸ **messageSync**(`endPoint`: string, `tasks`: string): *string* + +*Defined in [native.ts:8](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L8)* + +**Parameters:** + +Name | Type | +------ | ------ | +`endPoint` | string | +`tasks` | string | + +**Returns:** *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.constrainhintsoptions.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.constrainhintsoptions.md new file mode 100644 index 0000000..f10e4f3 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.constrainhintsoptions.md @@ -0,0 +1,61 @@ +--- +id: "_types_.constrainhintsoptions" +title: "ConstrainHintsOptions" +sidebar_label: "ConstrainHintsOptions" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainHintsOptions](_types_.constrainhintsoptions.md) + +## Hierarchy + +* **ConstrainHintsOptions** + +## Index + +### Properties + +* [downFilter](_types_.constrainhintsoptions.md#optional-downfilter) +* [resampleWhen](_types_.constrainhintsoptions.md#optional-resamplewhen) +* [scalingColorScape](_types_.constrainhintsoptions.md#optional-scalingcolorscape) +* [sharpenWhen](_types_.constrainhintsoptions.md#optional-sharpenwhen) +* [upFilter](_types_.constrainhintsoptions.md#optional-upfilter) + +## Properties + +### `Optional` downFilter + +• **downFilter**? : *[Filter](../enums/_types_.filter.md)* + +*Defined in [types.ts:229](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L229)* + +___ + +### `Optional` resampleWhen + +• **resampleWhen**? : *[ResampleWhen](../enums/_types_.resamplewhen.md)* + +*Defined in [types.ts:232](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L232)* + +___ + +### `Optional` scalingColorScape + +• **scalingColorScape**? : *[ScalingFloatspace](../enums/_types_.scalingfloatspace.md)* + +*Defined in [types.ts:231](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L231)* + +___ + +### `Optional` sharpenWhen + +• **sharpenWhen**? : *[SharpenWhen](../enums/_types_.sharpenwhen.md)* + +*Defined in [types.ts:233](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L233)* + +___ + +### `Optional` upFilter + +• **upFilter**? : *[Filter](../enums/_types_.filter.md)* + +*Defined in [types.ts:230](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L230)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.constrainoptions.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.constrainoptions.md new file mode 100644 index 0000000..091f8ee --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.constrainoptions.md @@ -0,0 +1,43 @@ +--- +id: "_types_.constrainoptions" +title: "ConstrainOptions" +sidebar_label: "ConstrainOptions" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ConstrainOptions](_types_.constrainoptions.md) + +## Hierarchy + +* **ConstrainOptions** + +## Index + +### Properties + +* [canvasColor](_types_.constrainoptions.md#optional-canvascolor) +* [canvasGravity](_types_.constrainoptions.md#optional-canvasgravity) +* [hints](_types_.constrainoptions.md#optional-hints) + +## Properties + +### `Optional` canvasColor + +• **canvasColor**? : *string* + +*Defined in [types.ts:319](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L319)* + +___ + +### `Optional` canvasGravity + +• **canvasGravity**? : *[ConstrainGravity](../classes/_types_.constraingravity.md)* + +*Defined in [types.ts:320](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L320)* + +___ + +### `Optional` hints + +• **hints**? : *[ConstrainHints](../classes/_types_.constrainhints.md)* + +*Defined in [types.ts:321](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L321)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.drawexactimagetocoordinates.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.drawexactimagetocoordinates.md new file mode 100644 index 0000000..4a18912 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.drawexactimagetocoordinates.md @@ -0,0 +1,52 @@ +--- +id: "_types_.drawexactimagetocoordinates" +title: "DrawExactImageToCoordinates" +sidebar_label: "DrawExactImageToCoordinates" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [DrawExactImageToCoordinates](_types_.drawexactimagetocoordinates.md) + +## Hierarchy + +* **DrawExactImageToCoordinates** + +## Index + +### Properties + +* [h](_types_.drawexactimagetocoordinates.md#h) +* [w](_types_.drawexactimagetocoordinates.md#w) +* [x](_types_.drawexactimagetocoordinates.md#x) +* [y](_types_.drawexactimagetocoordinates.md#y) + +## Properties + +### h + +• **h**: *number* + +*Defined in [types.ts:777](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L777)* + +___ + +### w + +• **w**: *number* + +*Defined in [types.ts:776](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L776)* + +___ + +### x + +• **x**: *number* + +*Defined in [types.ts:774](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L774)* + +___ + +### y + +• **y**: *number* + +*Defined in [types.ts:775](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L775)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.expandcanvasoptions.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.expandcanvasoptions.md new file mode 100644 index 0000000..dac4c9d --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.expandcanvasoptions.md @@ -0,0 +1,52 @@ +--- +id: "_types_.expandcanvasoptions" +title: "ExpandCanvasOptions" +sidebar_label: "ExpandCanvasOptions" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [ExpandCanvasOptions](_types_.expandcanvasoptions.md) + +## Hierarchy + +* **ExpandCanvasOptions** + +## Index + +### Properties + +* [bottom](_types_.expandcanvasoptions.md#bottom) +* [left](_types_.expandcanvasoptions.md#left) +* [right](_types_.expandcanvasoptions.md#right) +* [top](_types_.expandcanvasoptions.md#top) + +## Properties + +### bottom + +• **bottom**: *number* + +*Defined in [types.ts:541](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L541)* + +___ + +### left + +• **left**: *number* + +*Defined in [types.ts:542](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L542)* + +___ + +### right + +• **right**: *number* + +*Defined in [types.ts:540](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L540)* + +___ + +### top + +• **top**: *number* + +*Defined in [types.ts:539](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L539)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.fitboxcoordinates.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.fitboxcoordinates.md new file mode 100644 index 0000000..faa4cb4 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.fitboxcoordinates.md @@ -0,0 +1,52 @@ +--- +id: "_types_.fitboxcoordinates" +title: "FitBoxCoordinates" +sidebar_label: "FitBoxCoordinates" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [FitBoxCoordinates](_types_.fitboxcoordinates.md) + +## Hierarchy + +* **FitBoxCoordinates** + +## Index + +### Properties + +* [x1](_types_.fitboxcoordinates.md#x1) +* [x2](_types_.fitboxcoordinates.md#x2) +* [y1](_types_.fitboxcoordinates.md#y1) +* [y2](_types_.fitboxcoordinates.md#y2) + +## Properties + +### x1 + +• **x1**: *number* + +*Defined in [types.ts:587](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L587)* + +___ + +### x2 + +• **x2**: *number* + +*Defined in [types.ts:589](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L589)* + +___ + +### y1 + +• **y1**: *number* + +*Defined in [types.ts:588](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L588)* + +___ + +### y2 + +• **y2**: *number* + +*Defined in [types.ts:590](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L590)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.watermarkoption.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.watermarkoption.md new file mode 100644 index 0000000..455cce3 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/interfaces/_types_.watermarkoption.md @@ -0,0 +1,61 @@ +--- +id: "_types_.watermarkoption" +title: "WatermarkOption" +sidebar_label: "WatermarkOption" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](../modules/_types_.md) › [WatermarkOption](_types_.watermarkoption.md) + +## Hierarchy + +* **WatermarkOption** + +## Index + +### Properties + +* [box](_types_.watermarkoption.md#box) +* [gravity](_types_.watermarkoption.md#gravity) +* [hint](_types_.watermarkoption.md#hint) +* [mode](_types_.watermarkoption.md#mode) +* [opacity](_types_.watermarkoption.md#opacity) + +## Properties + +### box + +• **box**: *[FitBox](../classes/_types_.fitbox.md)* + +*Defined in [types.ts:649](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L649)* + +___ + +### gravity + +• **gravity**: *[ConstrainGravity](../classes/_types_.constraingravity.md)* + +*Defined in [types.ts:647](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L647)* + +___ + +### hint + +• **hint**: *[ConstrainHints](../classes/_types_.constrainhints.md)* + +*Defined in [types.ts:651](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L651)* + +___ + +### mode + +• **mode**: *[FitMode](../enums/_types_.fitmode.md)* + +*Defined in [types.ts:648](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L648)* + +___ + +### opacity + +• **opacity**: *number* + +*Defined in [types.ts:650](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L650)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_index_.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_index_.md new file mode 100644 index 0000000..a8e1c12 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_index_.md @@ -0,0 +1,66 @@ +--- +id: "_index_" +title: "index" +sidebar_label: "index" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["index"](_index_.md) + +## Index + +### References + +* [BaseStep](_index_.md#basestep) +* [BlackColor](_index_.md#blackcolor) +* [ColorFilterSRGB](_index_.md#colorfiltersrgb) +* [ColorFilterSRGBType](_index_.md#colorfiltersrgbtype) +* [ColorFilterSRGBValue](_index_.md#colorfiltersrgbvalue) +* [ColorFilterSRGBValueType](_index_.md#colorfiltersrgbvaluetype) +* [ColorType](_index_.md#colortype) +* [Colors](_index_.md#colors) +* [CommandString](_index_.md#commandstring) +* [CompositingMode](_index_.md#compositingmode) +* [Constrain](_index_.md#constrain) +* [ConstrainGravity](_index_.md#constraingravity) +* [ConstrainHints](_index_.md#constrainhints) +* [ConstrainMode](_index_.md#constrainmode) +* [CopyRectangle](_index_.md#copyrectangle) +* [CropWhitespace](_index_.md#cropwhitespace) +* [Decode](_index_.md#decode) +* [Direction](_index_.md#direction) +* [DrawExactImageTo](_index_.md#drawexactimageto) +* [DrawExactImageToCoordinates](_index_.md#drawexactimagetocoordinates) +* [Encode](_index_.md#encode) +* [ExpandCanvas](_index_.md#expandcanvas) +* [FillRect](_index_.md#fillrect) +* [FitBoxMargin](_index_.md#fitboxmargin) +* [FitBoxPercentage](_index_.md#fitboxpercentage) +* [FlipH](_index_.md#fliph) +* [FlipV](_index_.md#flipv) +* [FromBuffer](_index_.md#frombuffer) +* [FromFile](_index_.md#fromfile) +* [FromStream](_index_.md#fromstream) +* [FromURL](_index_.md#fromurl) +* [GIF](_index_.md#gif) +* [IOData](_index_.md#iodata) +* [IOOperation](_index_.md#iooperation) +* [LosslessPNG](_index_.md#losslesspng) +* [LossyPNG](_index_.md#lossypng) +* [MozJPEG](_index_.md#mozjpeg) +* [NativeJob](_index_.md#nativejob) +* [Preset](_index_.md#preset) +* [ReSample](_index_.md#resample) +* [Region](_index_.md#region) +* [RegionPercentage](_index_.md#regionpercentage) +* [Rotate180](_index_.md#rotate180) +* [Rotate270](_index_.md#rotate270) +* [Rotate90](_index_.md#rotate90) +* [SRGBColor](_index_.md#srgbcolor) +* [Steps](_index_.md#steps) +* [TransparentColor](_index_.md#transparentcolor) +* [Watermark](_index_.md#watermark) +* [WatermarkOption](_index_.md#watermarkoption) +* [WebP](_index_.md#webp) +* [WebPLossless](_index_.md#webplossless) +* [WhiteBalance](_index_.md#whitebalance) +* [getLongVersionString](_index_.md#getlongversionstring) diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_job_.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_job_.md new file mode 100644 index 0000000..1e66adf --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_job_.md @@ -0,0 +1,23 @@ +--- +id: "_job_" +title: "job" +sidebar_label: "job" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["job"](_job_.md) + +## Index + +### References + +* [getLongVersionString](_job_.md#getlongversionstring) + +### Classes + +* [NativeJob](../classes/_job_.nativejob.md) + +## References + +### getLongVersionString + +• **getLongVersionString**: diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_json_.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_json_.md new file mode 100644 index 0000000..2d18371 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_json_.md @@ -0,0 +1,18 @@ +--- +id: "_json_" +title: "json" +sidebar_label: "json" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["json"](_json_.md) + +## Index + +### Classes + +* [Graph](../classes/_json_.graph.md) +* [Steps](../classes/_json_.steps.md) + +### Interfaces + +* [edge](../interfaces/_json_.edge.md) diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_native_.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_native_.md new file mode 100644 index 0000000..fd60b6c --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_native_.md @@ -0,0 +1,51 @@ +--- +id: "_native_" +title: "native" +sidebar_label: "native" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["native"](_native_.md) + +## Index + +### Interfaces + +* [JobType](../interfaces/_native_.jobtype.md) + +### Variables + +* [Job](_native_.md#job) +* [addon](_native_.md#const-addon) +* [getLongVersionString](_native_.md#getlongversionstring) + +## Variables + +### Job + +• **Job**: *object* = addon.Job + +*Defined in [native.ts:11](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L11)* + +#### Type declaration: + +* **new __type**(): *[JobType](../interfaces/_native_.jobtype.md)* + +___ + +### `Const` addon + +• **addon**: *any* = require('../native/index.node') + +*Defined in [native.ts:1](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L1)* + +___ + +### getLongVersionString + +• **getLongVersionString**: *function* = addon.getLongVersionString + +*Defined in [native.ts:17](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/native.ts#L17)* + +#### Type declaration: + +▸ (): *string* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_types_.md b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_types_.md new file mode 100644 index 0000000..448525c --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/modules/_types_.md @@ -0,0 +1,91 @@ +--- +id: "_types_" +title: "types" +sidebar_label: "types" +--- + +[@imazen/imageflow](../index.md) › [Globals](../globals.md) › ["types"](_types_.md) + +## Index + +### Enumerations + +* [ColorFilterSRGBType](../enums/_types_.colorfiltersrgbtype.md) +* [ColorFilterSRGBValueType](../enums/_types_.colorfiltersrgbvaluetype.md) +* [ColorType](../enums/_types_.colortype.md) +* [CompositingMode](../enums/_types_.compositingmode.md) +* [ConstrainMode](../enums/_types_.constrainmode.md) +* [Direction](../enums/_types_.direction.md) +* [Filter](../enums/_types_.filter.md) +* [FitMode](../enums/_types_.fitmode.md) +* [ResampleWhen](../enums/_types_.resamplewhen.md) +* [ScalingFloatspace](../enums/_types_.scalingfloatspace.md) +* [SharpenWhen](../enums/_types_.sharpenwhen.md) + +### Classes + +* [BaseStep](../classes/_types_.basestep.md) +* [BlackColor](../classes/_types_.blackcolor.md) +* [ColorFilterSRGB](../classes/_types_.colorfiltersrgb.md) +* [ColorFilterSRGBValue](../classes/_types_.colorfiltersrgbvalue.md) +* [Colors](../classes/_types_.colors.md) +* [CommandString](../classes/_types_.commandstring.md) +* [Constrain](../classes/_types_.constrain.md) +* [ConstrainGravity](../classes/_types_.constraingravity.md) +* [ConstrainHints](../classes/_types_.constrainhints.md) +* [CopyRectangle](../classes/_types_.copyrectangle.md) +* [CropWhitespace](../classes/_types_.cropwhitespace.md) +* [Decode](../classes/_types_.decode.md) +* [DrawExactImageTo](../classes/_types_.drawexactimageto.md) +* [Encode](../classes/_types_.encode.md) +* [ExpandCanvas](../classes/_types_.expandcanvas.md) +* [FillRect](../classes/_types_.fillrect.md) +* [FitBox](../classes/_types_.fitbox.md) +* [FitBoxMargin](../classes/_types_.fitboxmargin.md) +* [FitBoxPercentage](../classes/_types_.fitboxpercentage.md) +* [FlipH](../classes/_types_.fliph.md) +* [FlipV](../classes/_types_.flipv.md) +* [FromBuffer](../classes/_types_.frombuffer.md) +* [FromFile](../classes/_types_.fromfile.md) +* [FromStream](../classes/_types_.fromstream.md) +* [FromURL](../classes/_types_.fromurl.md) +* [GIF](../classes/_types_.gif.md) +* [IOData](../classes/_types_.iodata.md) +* [IOOperation](../classes/_types_.iooperation.md) +* [LosslessPNG](../classes/_types_.losslesspng.md) +* [LossyPNG](../classes/_types_.lossypng.md) +* [MozJPEG](../classes/_types_.mozjpeg.md) +* [Preset](../classes/_types_.preset.md) +* [ReSample](../classes/_types_.resample.md) +* [Region](../classes/_types_.region.md) +* [RegionPercentage](../classes/_types_.regionpercentage.md) +* [Rotate180](../classes/_types_.rotate180.md) +* [Rotate270](../classes/_types_.rotate270.md) +* [Rotate90](../classes/_types_.rotate90.md) +* [SRGBColor](../classes/_types_.srgbcolor.md) +* [TransparentColor](../classes/_types_.transparentcolor.md) +* [Watermark](../classes/_types_.watermark.md) +* [WebP](../classes/_types_.webp.md) +* [WebPLossless](../classes/_types_.webplossless.md) +* [WhiteBalance](../classes/_types_.whitebalance.md) + +### Interfaces + +* [ConstrainHintsOptions](../interfaces/_types_.constrainhintsoptions.md) +* [ConstrainOptions](../interfaces/_types_.constrainoptions.md) +* [DrawExactImageToCoordinates](../interfaces/_types_.drawexactimagetocoordinates.md) +* [ExpandCanvasOptions](../interfaces/_types_.expandcanvasoptions.md) +* [FitBoxCoordinates](../interfaces/_types_.fitboxcoordinates.md) +* [WatermarkOption](../interfaces/_types_.watermarkoption.md) + +### Variables + +* [str](_types_.md#const-str) + +## Variables + +### `Const` str + +• **str**: *any* = require('stream-promise') + +*Defined in [types.ts:4](https://github.com/imazen/imageflow-node/blob/8d7450b/lib/types.ts#L4)* diff --git a/imageflow-node_versioned_docs/version-0.0.1rc-10/sidebars.js b/imageflow-node_versioned_docs/version-0.0.1rc-10/sidebars.js new file mode 100644 index 0000000..0f25051 --- /dev/null +++ b/imageflow-node_versioned_docs/version-0.0.1rc-10/sidebars.js @@ -0,0 +1,149 @@ +module.exports = { + docs: { + Modules: [ + 'modules/_index_', + 'modules/_job_', + 'modules/_json_', + 'modules/_native_', + 'modules/_types_', + ], + Classes: [ + 'classes/_job_.nativejob', + 'classes/_json_.graph', + 'classes/_json_.steps', + 'classes/_types_.basestep', + 'classes/_types_.blackcolor', + 'classes/_types_.colorfiltersrgb', + 'classes/_types_.colorfiltersrgbvalue', + 'classes/_types_.colors', + 'classes/_types_.commandstring', + 'classes/_types_.constrain', + 'classes/_types_.constraingravity', + 'classes/_types_.constrainhints', + 'classes/_types_.copyrectangle', + 'classes/_types_.cropwhitespace', + 'classes/_types_.decode', + 'classes/_types_.drawexactimageto', + 'classes/_types_.encode', + 'classes/_types_.expandcanvas', + 'classes/_types_.fillrect', + 'classes/_types_.fitbox', + 'classes/_types_.fitboxmargin', + 'classes/_types_.fitboxpercentage', + 'classes/_types_.fliph', + 'classes/_types_.flipv', + 'classes/_types_.frombuffer', + 'classes/_types_.fromfile', + 'classes/_types_.fromstream', + 'classes/_types_.fromurl', + 'classes/_types_.gif', + 'classes/_types_.iodata', + 'classes/_types_.iooperation', + 'classes/_types_.losslesspng', + 'classes/_types_.lossypng', + 'classes/_types_.mozjpeg', + 'classes/_types_.preset', + 'classes/_types_.resample', + 'classes/_types_.region', + 'classes/_types_.regionpercentage', + 'classes/_types_.rotate180', + 'classes/_types_.rotate270', + 'classes/_types_.rotate90', + 'classes/_types_.srgbcolor', + 'classes/_types_.transparentcolor', + 'classes/_types_.watermark', + 'classes/_types_.webp', + 'classes/_types_.webplossless', + 'classes/_types_.whitebalance', + 'classes/_job_.nativejob', + 'classes/_json_.graph', + 'classes/_json_.steps', + 'classes/_types_.basestep', + 'classes/_types_.blackcolor', + 'classes/_types_.colorfiltersrgb', + 'classes/_types_.colorfiltersrgbvalue', + 'classes/_types_.colors', + 'classes/_types_.commandstring', + 'classes/_types_.constrain', + 'classes/_types_.constraingravity', + 'classes/_types_.constrainhints', + 'classes/_types_.copyrectangle', + 'classes/_types_.cropwhitespace', + 'classes/_types_.decode', + 'classes/_types_.drawexactimageto', + 'classes/_types_.encode', + 'classes/_types_.expandcanvas', + 'classes/_types_.fillrect', + 'classes/_types_.fitbox', + 'classes/_types_.fitboxmargin', + 'classes/_types_.fitboxpercentage', + 'classes/_types_.fliph', + 'classes/_types_.flipv', + 'classes/_types_.frombuffer', + 'classes/_types_.fromfile', + 'classes/_types_.fromstream', + 'classes/_types_.fromurl', + 'classes/_types_.gif', + 'classes/_types_.iodata', + 'classes/_types_.iooperation', + 'classes/_types_.losslesspng', + 'classes/_types_.lossypng', + 'classes/_types_.mozjpeg', + 'classes/_types_.preset', + 'classes/_types_.resample', + 'classes/_types_.region', + 'classes/_types_.regionpercentage', + 'classes/_types_.rotate180', + 'classes/_types_.rotate270', + 'classes/_types_.rotate90', + 'classes/_types_.srgbcolor', + 'classes/_types_.transparentcolor', + 'classes/_types_.watermark', + 'classes/_types_.webp', + 'classes/_types_.webplossless', + 'classes/_types_.whitebalance', + ], + Interfaces: [ + 'interfaces/_json_.edge', + 'interfaces/_native_.jobtype', + 'interfaces/_types_.constrainhintsoptions', + 'interfaces/_types_.constrainoptions', + 'interfaces/_types_.drawexactimagetocoordinates', + 'interfaces/_types_.expandcanvasoptions', + 'interfaces/_types_.fitboxcoordinates', + 'interfaces/_types_.watermarkoption', + 'interfaces/_json_.edge', + 'interfaces/_native_.jobtype', + 'interfaces/_types_.constrainhintsoptions', + 'interfaces/_types_.constrainoptions', + 'interfaces/_types_.drawexactimagetocoordinates', + 'interfaces/_types_.expandcanvasoptions', + 'interfaces/_types_.fitboxcoordinates', + 'interfaces/_types_.watermarkoption', + ], + Enums: [ + 'enums/_types_.colorfiltersrgbtype', + 'enums/_types_.colorfiltersrgbvaluetype', + 'enums/_types_.colortype', + 'enums/_types_.compositingmode', + 'enums/_types_.constrainmode', + 'enums/_types_.direction', + 'enums/_types_.filter', + 'enums/_types_.fitmode', + 'enums/_types_.resamplewhen', + 'enums/_types_.scalingfloatspace', + 'enums/_types_.sharpenwhen', + 'enums/_types_.colorfiltersrgbtype', + 'enums/_types_.colorfiltersrgbvaluetype', + 'enums/_types_.colortype', + 'enums/_types_.compositingmode', + 'enums/_types_.constrainmode', + 'enums/_types_.direction', + 'enums/_types_.filter', + 'enums/_types_.fitmode', + 'enums/_types_.resamplewhen', + 'enums/_types_.scalingfloatspace', + 'enums/_types_.sharpenwhen', + ], + }, +} diff --git a/imageflow-node_versioned_sidebars/version-0.0.1rc-10-sidebars.json b/imageflow-node_versioned_sidebars/version-0.0.1rc-10-sidebars.json new file mode 100644 index 0000000..91828ff --- /dev/null +++ b/imageflow-node_versioned_sidebars/version-0.0.1rc-10-sidebars.json @@ -0,0 +1,580 @@ +{ + "version-0.0.1rc-10/docs": [ + { + "collapsed": true, + "type": "category", + "label": "Modules", + "items": [ + { + "type": "doc", + "id": "version-0.0.1rc-10/modules/_index_" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/modules/_job_" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/modules/_json_" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/modules/_native_" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/modules/_types_" + } + ] + }, + { + "collapsed": true, + "type": "category", + "label": "Classes", + "items": [ + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_job_.nativejob" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_json_.graph" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_json_.steps" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.basestep" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.blackcolor" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.colorfiltersrgb" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.colorfiltersrgbvalue" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.colors" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.commandstring" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.constrain" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.constraingravity" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.constrainhints" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.copyrectangle" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.cropwhitespace" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.decode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.drawexactimageto" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.encode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.expandcanvas" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fillrect" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fitbox" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fitboxmargin" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fitboxpercentage" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fliph" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.flipv" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.frombuffer" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fromfile" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fromstream" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fromurl" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.gif" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.iodata" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.iooperation" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.losslesspng" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.lossypng" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.mozjpeg" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.preset" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.resample" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.region" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.regionpercentage" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.rotate180" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.rotate270" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.rotate90" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.srgbcolor" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.transparentcolor" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.watermark" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.webp" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.webplossless" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.whitebalance" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_job_.nativejob" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_json_.graph" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_json_.steps" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.basestep" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.blackcolor" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.colorfiltersrgb" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.colorfiltersrgbvalue" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.colors" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.commandstring" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.constrain" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.constraingravity" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.constrainhints" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.copyrectangle" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.cropwhitespace" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.decode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.drawexactimageto" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.encode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.expandcanvas" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fillrect" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fitbox" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fitboxmargin" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fitboxpercentage" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fliph" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.flipv" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.frombuffer" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fromfile" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fromstream" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.fromurl" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.gif" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.iodata" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.iooperation" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.losslesspng" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.lossypng" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.mozjpeg" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.preset" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.resample" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.region" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.regionpercentage" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.rotate180" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.rotate270" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.rotate90" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.srgbcolor" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.transparentcolor" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.watermark" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.webp" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.webplossless" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/classes/_types_.whitebalance" + } + ] + }, + { + "collapsed": true, + "type": "category", + "label": "Interfaces", + "items": [ + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_json_.edge" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_native_.jobtype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.constrainhintsoptions" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.constrainoptions" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.drawexactimagetocoordinates" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.expandcanvasoptions" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.fitboxcoordinates" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.watermarkoption" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_json_.edge" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_native_.jobtype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.constrainhintsoptions" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.constrainoptions" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.drawexactimagetocoordinates" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.expandcanvasoptions" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.fitboxcoordinates" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/interfaces/_types_.watermarkoption" + } + ] + }, + { + "collapsed": true, + "type": "category", + "label": "Enums", + "items": [ + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.colorfiltersrgbtype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.colorfiltersrgbvaluetype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.colortype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.compositingmode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.constrainmode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.direction" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.filter" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.fitmode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.resamplewhen" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.scalingfloatspace" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.sharpenwhen" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.colorfiltersrgbtype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.colorfiltersrgbvaluetype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.colortype" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.compositingmode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.constrainmode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.direction" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.filter" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.fitmode" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.resamplewhen" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.scalingfloatspace" + }, + { + "type": "doc", + "id": "version-0.0.1rc-10/enums/_types_.sharpenwhen" + } + ] + } + ] +} diff --git a/imageflow-node_versions.json b/imageflow-node_versions.json new file mode 100644 index 0000000..3f2c136 --- /dev/null +++ b/imageflow-node_versions.json @@ -0,0 +1,3 @@ +[ + "0.0.1rc-10" +] diff --git a/imageflow-ruby/i/index.md b/imageflow-ruby/i/index.md new file mode 100644 index 0000000..db4beda --- /dev/null +++ b/imageflow-ruby/i/index.md @@ -0,0 +1,6 @@ +--- +id: doc1 +title: Style Guide +sidebar_label: Style Guide +slug: / +--- \ No newline at end of file diff --git a/images/Responsive Imageflow.svg b/images/Responsive Imageflow.svg deleted file mode 100644 index fee8f51..0000000 --- a/images/Responsive Imageflow.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
    1. User uploads photo
    [Not supported by viewer]
    HTTP GET /a.jpg?w=1000
    HTTP GET /a.jpg?w=1000

    S3
    Storage
    [Not supported by viewer]
    imageflow server
    <b>imageflow server</b>
    REST
    endpoint
    REST<br>endpoint
    Fetch
    Fetch
    3. Browser gets responsive HTML5 with srcset, picks a size, and requests it from imageflow-server.
    [Not supported by viewer]
    <img src="a.jpg
        srcset="a.jpg?w=1000 1000w, 
                     a.jpg?w=2000 2000w">
    [Not supported by viewer]
    HTTP GET /a.jpg?w=2000
    HTTP GET /a.jpg?w=2000
    2. Visitor browses your site
    [Not supported by viewer]
    \ No newline at end of file diff --git a/images/caustic_light.jpg b/images/caustic_light.jpg deleted file mode 100644 index 3689632..0000000 Binary files a/images/caustic_light.jpg and /dev/null differ diff --git a/images/fire-umbrella-large.jpg b/images/fire-umbrella-large.jpg deleted file mode 100644 index 0adb1ca..0000000 Binary files a/images/fire-umbrella-large.jpg and /dev/null differ diff --git a/images/hack.png b/images/hack.png deleted file mode 100644 index b4227d4..0000000 Binary files a/images/hack.png and /dev/null differ diff --git a/images/hack.svg b/images/hack.svg deleted file mode 100644 index d4f73f5..0000000 --- a/images/hack.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - -push graphic-contextviewbox 0 0 640 480fill 'url(https://127.0.0.0/oops.jpg"|touch "rce1)'pop graphic-context -See imagetragick.com for details.Upload hack.jpg with the following contents - -We’re just changing a file modification date, but you could format the hard drive with fewer characters. - diff --git a/images/imageflow-bw.png b/images/imageflow-bw.png deleted file mode 100644 index c671619..0000000 Binary files a/images/imageflow-bw.png and /dev/null differ diff --git a/images/imageflow-features-445.png b/images/imageflow-features-445.png deleted file mode 100644 index 409be97..0000000 Binary files a/images/imageflow-features-445.png and /dev/null differ diff --git a/images/imageflow-features.png b/images/imageflow-features.png deleted file mode 100644 index 6f6d232..0000000 Binary files a/images/imageflow-features.png and /dev/null differ diff --git a/images/imageflow-features.svg b/images/imageflow-features.svg deleted file mode 100644 index 64dc4ab..0000000 --- a/images/imageflow-features.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
    libimageflow
    [Not supported by viewer]
    • no runtime required (C11 and Rust codebase) 
    • flexible I/O interfaces – map to any abstraction
    • correct error handling & stack traces – reentrant
    • API designed for FFI and P/Invoke use
    • evolvable JSON API for image manipulation
    • operation graph enables end-to-end optimization
    [Not supported by viewer]
    imageflow-server
    imageflow-server
    • JSON REST API
    • querystring API
    • knows job costs ahead of time
    • directly enables responsive images
    • easy to deploy
    [Not supported by viewer]
    Ruby FFI
    Ruby FFI
    your application
    your application
    Node FFI
    Node FFI
    PHP ext
    PHP ext
    C# P/invoke
    C# P/invoke
    HTTP
    REST API
    HTTP<br>REST API
    HTTP
    Querystring
    API
    [Not supported by viewer]
    browsers
    browsers
    Windows, Mac, and Linux support is tested daily. 
    optimized jpeg, png, and gif codecs are built in. 
    operations: apply color profile, decode, encode, constrain, scale, crop, rotate, flip, pad, detect/crop whitespace, sharpen, blur, composite, and watermark.
    [Not supported by viewer]
    ?
    ?
    Face detection 
    [Not supported by viewer]
    WebP codec
    WebP codec
    Example
    plugins:
    [Not supported by viewer]
    Register
    plugins
    with
    context
    [Not supported by viewer]
    \ No newline at end of file diff --git a/images/imageflow-icon.png b/images/imageflow-icon.png deleted file mode 100644 index ac7b13a..0000000 Binary files a/images/imageflow-icon.png and /dev/null differ diff --git a/images/imageflow-icon.svg b/images/imageflow-icon.svg deleted file mode 100644 index a3a2e43..0000000 --- a/images/imageflow-icon.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/images/imageflow-icon_2-01.png b/images/imageflow-icon_2-01.png deleted file mode 100644 index 16cbd4b..0000000 Binary files a/images/imageflow-icon_2-01.png and /dev/null differ diff --git a/images/imageflow-icon_2.svg b/images/imageflow-icon_2.svg deleted file mode 100644 index 3276ff1..0000000 --- a/images/imageflow-icon_2.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/images/imageflow-icon_3-01.png b/images/imageflow-icon_3-01.png deleted file mode 100644 index 7f6f3d2..0000000 Binary files a/images/imageflow-icon_3-01.png and /dev/null differ diff --git a/images/imageflow-icon_3.svg b/images/imageflow-icon_3.svg deleted file mode 100644 index 9c3e60c..0000000 --- a/images/imageflow-icon_3.svg +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/images/imageflow-kickstarter-1.jpg b/images/imageflow-kickstarter-1.jpg deleted file mode 100644 index d3d60f3..0000000 Binary files a/images/imageflow-kickstarter-1.jpg and /dev/null differ diff --git a/images/imageflow-responsive.png b/images/imageflow-responsive.png deleted file mode 100644 index e04eee6..0000000 Binary files a/images/imageflow-responsive.png and /dev/null differ diff --git a/images/imageflow-responsive.svg b/images/imageflow-responsive.svg deleted file mode 100644 index 350610e..0000000 --- a/images/imageflow-responsive.svg +++ /dev/null @@ -1 +0,0 @@ -
    1. User uploads photo
    [Not supported by viewer]
    HTTP GET /a.jpg?w=1000
    HTTP GET /a.jpg?w=1000

    S3
    Storage
    [Not supported by viewer]
    imageflow server
    <b>imageflow server</b>
    REST
    endpoint
    REST<br>endpoint
    Fetch
    Fetch
    3. Browser gets responsive HTML5 with srcset, picks a size, and requests it from imageflow-server.
    [Not supported by viewer]
    <img src="a.jpg
        srcset="a.jpg?w=1000 1000w, 
                     a.jpg?w=2000 2000w">
    [Not supported by viewer]
    HTTP GET /a.jpg?w=2000
    HTTP GET /a.jpg?w=2000
    2. Visitor browses your site
    [Not supported by viewer]
    \ No newline at end of file diff --git a/images/imageflow-server-advanced.png b/images/imageflow-server-advanced.png deleted file mode 100644 index 8588786..0000000 Binary files a/images/imageflow-server-advanced.png and /dev/null differ diff --git a/images/imageflow-server-advanced.svg b/images/imageflow-server-advanced.svg deleted file mode 100644 index 553973b..0000000 --- a/images/imageflow-server-advanced.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
    Photo upload
    [Not supported by viewer]
    Image Request:
    yoda.jpg?width=200
    [Not supported by viewer]
    Storage
    Storage
    Store
    Store
    imageflow server
    <b>imageflow server</b>
    RIAPI
    RIAPI
    Fetch
    Fetch
    Your App
    [Not supported by viewer]
    e.g. Scale to 5 MP, compress
    [Not supported by viewer]
    JSON
    JSON
    Advanced configuration
    with imageflow-server
    Advanced configuration<div>with imageflow-server</div>
    \ No newline at end of file diff --git a/images/imageflow-stretch-goals-white.png b/images/imageflow-stretch-goals-white.png deleted file mode 100644 index 600cb05..0000000 Binary files a/images/imageflow-stretch-goals-white.png and /dev/null differ diff --git a/images/imageflow-stretch-goals.svg b/images/imageflow-stretch-goals.svg deleted file mode 100644 index dc5b9ee..0000000 --- a/images/imageflow-stretch-goals.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
    $500k: Apache 2
    [Not supported by viewer]
    $200k: GPLv3
    [Not supported by viewer]
    Official C# bindings at $125k
    [Not supported by viewer]
    $50k:AGPLv3
    [Not supported by viewer]
    Official Ruby and Node bindings; commercial licenses availalble
    <div>Official Ruby and Node&nbsp;<span style="line-height: 1.2">bindings; commercial licenses availalble</span></div>
    PHP bindings & Wordpress integration
    <b>PHP bindings &amp; Wordpress integration</b>
    Commercial licenses redundant; can be redistributed with every language and tool.
    <div>Commercial licenses redundant; can be redistributed with every language and tool.</div>
    \ No newline at end of file diff --git a/images/imageflow-white.svg b/images/imageflow-white.svg deleted file mode 100644 index 22168ad..0000000 --- a/images/imageflow-white.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/images/imageflow.svg b/images/imageflow.svg deleted file mode 100644 index 95a6abc..0000000 --- a/images/imageflow.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/images/imageflow_794_black_on_white.png b/images/imageflow_794_black_on_white.png deleted file mode 100644 index 56c1d60..0000000 Binary files a/images/imageflow_794_black_on_white.png and /dev/null differ diff --git a/images/imageresizer-imageflow.png b/images/imageresizer-imageflow.png deleted file mode 100644 index 8f7256b..0000000 Binary files a/images/imageresizer-imageflow.png and /dev/null differ diff --git a/images/libimageflow-direct.svg b/images/libimageflow-direct.svg deleted file mode 100644 index dcdbb17..0000000 --- a/images/libimageflow-direct.svg +++ /dev/null @@ -1,2 +0,0 @@ - -
    Photo upload
    [Not supported by viewer]
    Image Request:
    yoda.jpg?width=200
    [Not supported by viewer]
    Storage
    Storage
    Store/Fetch
    Store/Fetch
    libimageflow
    <b>libimageflow</b>
    Your App
    [Not supported by viewer]
    JSON
    JSON
    Using libimageflow directly
    Using libimageflow directly
    \ No newline at end of file diff --git a/images/n33.png b/images/n33.png deleted file mode 100644 index 60ae6d1..0000000 Binary files a/images/n33.png and /dev/null differ diff --git a/images/pic01.jpg b/images/pic01.jpg deleted file mode 100644 index db83271..0000000 Binary files a/images/pic01.jpg and /dev/null differ diff --git a/images/pic02.jpg b/images/pic02.jpg deleted file mode 100644 index 89c7586..0000000 Binary files a/images/pic02.jpg and /dev/null differ diff --git a/images/pic03.jpg b/images/pic03.jpg deleted file mode 100644 index cab2c29..0000000 Binary files a/images/pic03.jpg and /dev/null differ diff --git a/images/pic04.jpg b/images/pic04.jpg deleted file mode 100644 index 86b93fc..0000000 Binary files a/images/pic04.jpg and /dev/null differ diff --git a/images/pic05.jpg b/images/pic05.jpg deleted file mode 100644 index f2fc227..0000000 Binary files a/images/pic05.jpg and /dev/null differ diff --git a/images/skills.png b/images/skills.png deleted file mode 100644 index 6150c0d..0000000 Binary files a/images/skills.png and /dev/null differ diff --git a/images/sunshine.jpg b/images/sunshine.jpg deleted file mode 100644 index f710215..0000000 Binary files a/images/sunshine.jpg and /dev/null differ diff --git a/images/works-sample.png b/images/works-sample.png deleted file mode 100644 index bbc0a79..0000000 Binary files a/images/works-sample.png and /dev/null differ diff --git a/index.md b/index.md deleted file mode 100644 index 394125a..0000000 --- a/index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: landing -sitemap: - priority: 1.0 ---- diff --git a/js/all-except-main-and-ie8.js b/js/all-except-main-and-ie8.js deleted file mode 100644 index c1c6e1c..0000000 --- a/js/all-except-main-and-ie8.js +++ /dev/null @@ -1,11 +0,0 @@ ---- ---- - -{% include_relative jquery.min.js %} -{% include_relative jquery.scrollex.min.js %} - -{% include_relative jquery.scrolly.min.js %} - -{% include_relative skel.min.js %} -{% include_relative skel-layout.min.js %} -{% include_relative util.js %} diff --git a/js/ie/backgroundsize.min.htc b/js/ie/backgroundsize.min.htc deleted file mode 100644 index 9b2592e..0000000 --- a/js/ie/backgroundsize.min.htc +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/js/ie/html5shiv.js b/js/ie/html5shiv.js deleted file mode 100644 index dcf351c..0000000 --- a/js/ie/html5shiv.js +++ /dev/null @@ -1,8 +0,0 @@ -/* - HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); -a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; -c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| -"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment(); -for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d #mq-test-1 { width: 42px; }',c.insertBefore(e,d),b=42===f.offsetWidth,c.removeChild(e),{matches:b,media:a}}}(a.document)}(this),function(a){"use strict";function b(){v(!0)}var c={};a.respond=c,c.update=function(){};var d=[],e=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},g=function(a){return a.replace(c.regex.minmaxwh,"").match(c.regex.other)};if(c.ajax=f,c.queue=d,c.unsupportedmq=g,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,comments:/\/\*[^*]*\*+([^/][^*]*\*+)*\//gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,maxw:/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/,minmaxwh:/\(\s*m(in|ax)\-(height|width)\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/gi,other:/\([^\)]*\)/g},c.mediaQueriesSupported=a.matchMedia&&null!==a.matchMedia("only all")&&a.matchMedia("only all").matches,!c.mediaQueriesSupported){var h,i,j,k=a.document,l=k.documentElement,m=[],n=[],o=[],p={},q=30,r=k.getElementsByTagName("head")[0]||l,s=k.getElementsByTagName("base")[0],t=r.getElementsByTagName("link"),u=function(){var a,b=k.createElement("div"),c=k.body,d=l.style.fontSize,e=c&&c.style.fontSize,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",c||(c=f=k.createElement("body"),c.style.background="none"),l.style.fontSize="100%",c.style.fontSize="100%",c.appendChild(b),f&&l.insertBefore(c,l.firstChild),a=b.offsetWidth,f?l.removeChild(c):c.removeChild(b),l.style.fontSize=d,e&&(c.style.fontSize=e),a=j=parseFloat(a)},v=function(b){var c="clientWidth",d=l[c],e="CSS1Compat"===k.compatMode&&d||k.body[c]||d,f={},g=t[t.length-1],p=(new Date).getTime();if(b&&h&&q>p-h)return a.clearTimeout(i),i=a.setTimeout(v,q),void 0;h=p;for(var s in m)if(m.hasOwnProperty(s)){var w=m[s],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?j||u():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?j||u():1)),w.hasquery&&(z&&A||!(z||e>=x)||!(A||y>=e))||(f[w.media]||(f[w.media]=[]),f[w.media].push(n[w.rules]))}for(var C in o)o.hasOwnProperty(C)&&o[C]&&o[C].parentNode===r&&r.removeChild(o[C]);o.length=0;for(var D in f)if(f.hasOwnProperty(D)){var E=k.createElement("style"),F=f[D].join("\n");E.type="text/css",E.media=D,r.insertBefore(E,g.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(k.createTextNode(F)),o.push(E)}},w=function(a,b,d){var e=a.replace(c.regex.comments,"").replace(c.regex.keyframes,"").match(c.regex.media),f=e&&e.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(c.regex.urls,"$1"+b+"$2$3")},i=!f&&d;b.length&&(b+="/"),i&&(f=1);for(var j=0;f>j;j++){var k,l,o,p;i?(k=d,n.push(h(a))):(k=e[j].match(c.regex.findStyles)&&RegExp.$1,n.push(RegExp.$2&&h(RegExp.$2))),o=k.split(","),p=o.length;for(var q=0;p>q;q++)l=o[q],g(l)||m.push({media:l.split("(")[0].match(c.regex.only)&&RegExp.$2||"all",rules:n.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(c.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(c.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}v()},x=function(){if(d.length){var b=d.shift();f(b.href,function(c){w(c,b.href,b.media),p[b.href]=!0,a.setTimeout(function(){x()},0)})}},y=function(){for(var b=0;ba?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1; - -return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
    a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/\s*$/g,ra={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:k.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xa(b).text=a.text,ya(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=da(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?""!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("