2.1.1-rc.8 • Published 6 years ago
@alexkirsz/gatsby-transformer-sharp v2.1.1-rc.8
gatsby-transformer-sharp
Creates ImageSharp
nodes from image types that are supported by the
Sharp image processing library and provides
fields in their GraphQL types for processing your images in a variety of ways
including resizing, cropping, and creating responsive images.
Install
npm install --save gatsby-transformer-sharp gatsby-plugin-sharp
How to use
// In your gatsby-config.js
module.exports = {
plugins: [`gatsby-plugin-sharp`, `gatsby-transformer-sharp`],
}
Parsing algorithm
It recognizes files with the following extensions as images.
- jpeg
- jpg
- png
- webp
- tif
- tiff
Each image file is parsed into a node of type ImageSharp
.
2.1.1-rc.8
6 years ago
2.1.1-rc.7
6 years ago
2.1.1-rc.6
6 years ago
2.1.1-rc.5
6 years ago
2.1.1-rc.4
6 years ago
2.1.1-rc.3
6 years ago
2.1.1-rc.2
6 years ago
2.1.1-rc.1
6 years ago
2.1.1-rc.0
6 years ago