All Projects → herschel666 → exif-loader

herschel666 / exif-loader

Licence: MIT License
Extract EXIF- & IPTC-data from your JPGs during build-time.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to exif-loader

Webpack Core Usage
webpack2完整系列课程,欢迎阅读。同时欢迎移步我的react全家桶文章全集: https://github.com/liangklfangl/react-article-bucket
Stars: ✭ 94 (+571.43%)
Mutual labels:  webpack-loader, webpack2
rexiv2
Rust library for read/write access to media-file metadata (Exif, XMP, and IPTC)
Stars: ✭ 64 (+357.14%)
Mutual labels:  exif, iptc
Svg Sprite Loader
Webpack loader for creating SVG sprites.
Stars: ✭ 1,822 (+12914.29%)
Mutual labels:  webpack-loader, webpack2
Node Addon Loader
A loader for node native addons
Stars: ✭ 17 (+21.43%)
Mutual labels:  webpack-loader, webpack2
exiftool-json-db
Maintain a JSON database of photos and videos with their metadata
Stars: ✭ 18 (+28.57%)
Mutual labels:  exif, iptc
Bootstrap Loader
Load Bootstrap styles and scripts in your Webpack bundle
Stars: ✭ 1,038 (+7314.29%)
Mutual labels:  webpack-loader, webpack2
TinyEXIF
Tiny ISO-compliant C++ EXIF and XMP parsing library for JPEG.
Stars: ✭ 87 (+521.43%)
Mutual labels:  exif, exif-data-extraction
String Replace Loader
Replace loader for Webpack
Stars: ✭ 205 (+1364.29%)
Mutual labels:  webpack-loader, webpack2
naturtag
Tag your nature photos with iNat taxonomy and observation metadata
Stars: ✭ 20 (+42.86%)
Mutual labels:  exif, iptc
iptcinfo3
iptcinfo working for python 3 finally do pip3 install iptcinfo3
Stars: ✭ 37 (+164.29%)
Mutual labels:  exif, iptc
go-xmp
A native Go SDK for the Extensible Metadata Platform (XMP)
Stars: ✭ 36 (+157.14%)
Mutual labels:  exif, iptc
photos2geojson
html map gallery from photos
Stars: ✭ 39 (+178.57%)
Mutual labels:  exif, exif-data-extraction
Markdown Loader
markdown loader for webpack
Stars: ✭ 335 (+2292.86%)
Mutual labels:  webpack-loader, webpack2
Webpack Conditional Loader
C conditionals directive for JavaScript
Stars: ✭ 93 (+564.29%)
Mutual labels:  webpack-loader, webpack2
Metadata Extractor
Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Stars: ✭ 1,972 (+13985.71%)
Mutual labels:  exif, iptc
slack-metabot
Extract metadata (EXIF) from uploaded files on Slack
Stars: ✭ 15 (+7.14%)
Mutual labels:  exif, exif-data-extraction
pyexiv2
Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.
Stars: ✭ 120 (+757.14%)
Mutual labels:  exif, iptc
Photini
An easy to use digital photograph metadata (Exif, IPTC, XMP) editing application.
Stars: ✭ 113 (+707.14%)
Mutual labels:  exif, iptc
yaml-frontmatter-loader
[DEPRECATED] Yaml frontmatter loader
Stars: ✭ 12 (-14.29%)
Mutual labels:  webpack-loader
hsexif
Exif parser in pure haskell
Stars: ✭ 18 (+28.57%)
Mutual labels:  exif

EXIF-Loader

Extract EXIF- & IPTC-data from your JPGs during build-time.

Current Version install size Monthly Downloads Dependency Status Build Status

Install

npm install --save-dev exif-loader

Usage

You can use the EXIF-loader as a standalone loader:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.jpg$/,
        use: ['exif-loader'],
      },
    ],
  },
};

modules/a.js

import { exif, iptc } from './some-image.jpg';

const { imageWidth } = exif.image;
const { object_name } = iptc;

You can also use the load in tandem with the file-loader.

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.jpg$/,
        oneOf: [
          {
            resourceQuery: /^\?exif$/,
            use: 'exif-loader',
          },
          {
            resourceQuery: /^\?file$/,
            use: ['file-loader'],
          },
        ],
      },
    ],
  },
};

modules/b.js

import { exif, iptc } from './some-image.jpg?exif';
import file from './some-image.jpg?file';

const { imageWidth } = exif.image;
const { object_name } = iptc;

export default function () {
  return (
    <figure>
      <img src={file} width={imageWidth} alt="" />
      <figcaption>{object_name}</figcaption>
    </figure>
  );
}

Contributing

If you stumbled upon a bug or have an idea for improvements, feel free to open an issue.

If you want to contribute code, you're highly welcome to open a pull-request. Please use a feature-branch for that and make sure, the CI-test is green.

Thanks!

Questions

I you have questions, feel free to ping me on twitter: @Herschel_R.

License

The MIT License (MIT)

Copyright (c) 2020 Emanuel Kluge

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].