Skip to content

Commit

Permalink
Reconfigure binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaillard committed Aug 9, 2016
1 parent 2258cf3 commit 1f32855
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 9 deletions.
16 changes: 15 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@
* text eol=lf

# Denote all files that are truly binary and should not be modified.
*.app0 binary
*.app1 binary
*.app1.0 binary
*.app1.1 binary
*.app2 binary
*.app4.0 binary
*.app4.1 binary
*.appd binary
*.appe binary
*.bmp binary
*.bytes
*.com
*.gif binary
*.png binary
*.jpg binary
*.jar
*.jpg binary
*.psd binary
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ module.exports = function(grunt) {

options: {
bin : 'vendor/bin/phpunit',
configuration : 'phpunit.xml.dist',
//group : 'NikonE990Test'
configuration : 'phpunit.xml.dist'//,
//group : 'ImageMetadataReader.Dotnet256x256AlphaPaletteTest'
}

}, /* PHPUnit Task */
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@

## Introduction

`php-metadata-extractor` is a wrapper used to call the powerful Java
[`metadata-extractor`](https://github.com/drewnoakes/metadata-extractor "metadata-extractor") library and have access to
the same APIs in PHP.

So here we'll provide the same documentation as `metadata-extractor` but for PHP, here is how to get metadata
with the library.

```php
Metadata metadata = ImageMetadataReader.readMetadata(imagePath);
```

## Installation

## About Gomoob

At [Gomoob](https://www.gomoob.com) we build high quality software with awesome Open Source frameworks everyday. Would
you like to start your next project with us? That's great! Give us a call or send us an email and we will get back to
you as soon as possible !
At [Gomoob](https://www.gomoob.com "Gomoob") we build high quality software with awesome Open Source frameworks
everyday. Would you like to start your next project with us? That's great! Give us a call or send us an email and we
will get back to you as soon as possible !

You can contact us by email at [contact@gomoob.com](mailto:contact@gomoob.com) or by phone number
[(+33) 6 85 12 81 26](tel:+33685128126) or [(+33) 6 28 35 04 49](tel:+33685128126).
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ public static function readMetadata($file)

// Otherwise create and configure a new directory
if (!$directory) {

// var_dump($directoryName);
// var_dump($directoryName);

$directory = static::createDirectoryWithName($directoryName);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Test case used to test the {@link ImageMetadataReader} class with the `Nikon E990.jpg` test file.
*
* @author Baptiste GAILLARD (baptiste.gaillard@gomoob.com)
* @group NikonE990Test
* @group ImageMetadataReader.NikonE990Test
*/
class NikonE990Test extends TestCase
{
Expand Down
Binary file modified src/test/resources/data/10x12x16bit-CMYK.psd
Binary file not shown.
Binary file modified src/test/resources/data/dotnet-256x256-alpha-palette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/manuallyAddedThumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/mspaint-8x10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/nikonMakernoteType1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/nikonMakernoteType2a.jpg.app1
Binary file not shown.
Binary file modified src/test/resources/data/nikonMakernoteType2b.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/nikonMakernoteType2b.jpg.appd
Binary file not shown.
Binary file modified src/test/resources/data/photoshop-8x12-16colorpalette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/photoshop-8x12-rgb24-all-metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/photoshop-8x12-rgb24-interlaced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/photoshop-8x12-rgb24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/photoshop-8x12-rgba32-interlaced.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/photoshop-8x12-rgba32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified src/test/resources/data/sonyType6.jpg.app4.0
Binary file not shown.
Binary file modified src/test/resources/data/sonyType6.jpg.app4.1
Binary file not shown.
Binary file modified src/test/resources/data/withIptc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/withIptcPhotoshop6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/withUncompressedRGBThumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/withUncompressedRGBThumbnail.jpg.app1
Binary file not shown.
Binary file modified src/test/resources/data/withUncompressedYCbCrThumbnail2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/withUncompressedYCbCrThumbnail3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/test/resources/data/withXmp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f32855

Please sign in to comment.