forked from davidbyttow/govips
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
137 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM docker-repo.wixpress.com/com.wixpress.vips-base-image-from-source as builder | ||
|
||
COPY . /govips | ||
WORKDIR /govips | ||
|
||
ENV GOOS linux | ||
ENV PATH $GOPATH/bin:$GOROOT/bin:$PATH | ||
ENV GOPATH /deps | ||
|
||
RUN mkdir -p ~/.ssh/ | ||
RUN git config --global url."git@github.com:".insteadOf https://github.com/ | ||
RUN ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
RUN mv deps /deps | ||
RUN go test -race -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -x | ||
|
||
git config --global url."git@github.com:".insteadOf https://github.com/ | ||
ssh-keyscan github.com >> ~/.ssh/known_hosts | ||
|
||
GOPATH=`pwd`/deps go mod download | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module github.com/davidbyttow/govips/v2 | ||
module github.com/wix-playground/govips | ||
|
||
go 1.15 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.wixpress.prospero</groupId> | ||
<artifactId>govips</artifactId> | ||
<packaging>pom</packaging> | ||
<name>govips</name> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<description>wix-specific govips</description> | ||
<url>http://www.wix.com</url> | ||
|
||
|
||
<organization> | ||
<name>Media Cloud</name> | ||
</organization> | ||
|
||
<developers> | ||
<developer> | ||
<name>Idan Yael</name> | ||
<email>idany@wix.com</email> | ||
<roles> | ||
<role>owner</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<name>Elad laufer</name> | ||
<email>elad@wix.com</email> | ||
<roles> | ||
<role>owner</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<name>Alon Neubach</name> | ||
<email>alonne@wix.com</email> | ||
<roles> | ||
<role>owner</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<developerConnection>scm:git:ssh://git@github.com:wix-playground/govips.git | ||
</developerConnection> | ||
<url>scm:git:ssh://git@github.com:wix-playground/govips.git</url> | ||
</scm> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>1.6.0</version> | ||
<executions> | ||
<execution> | ||
<id>get-dep</id> | ||
<phase>test</phase> | ||
<configuration> | ||
<executable>get-dep.sh</executable> | ||
</configuration> | ||
<goals> | ||
<goal>exec</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-site-plugin</artifactId> | ||
<version>2.1.1</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.7</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<!-- <dependency>--> | ||
<!-- <groupId>com.wixpress.prospero</groupId>--> | ||
<!-- <artifactId>mcloud-go-framework</artifactId>--> | ||
<!-- </dependency>--> | ||
|
||
<!-- <dependency>--> | ||
<!-- <groupId>com.wixpress.vips-base-image</groupId>--> | ||
<!-- <artifactId>vips-base-image</artifactId>--> | ||
<!-- </dependency>--> | ||
</dependencies> | ||
</project> |
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
BIN
-45 Bytes
(100%)
resources/heic-24bit-exif.RemoveMetadata-macos-10.golden.heic
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-637 Bytes
(100%)
resources/heic-orientation-6.AutoRotate_6__heic_to_jpg-macos-10.golden.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-946 KB
resources/heic-orientation-6.AutoRotate_6__heic_to_jpg-macos-11.golden.jpeg
Binary file not shown.
Binary file modified
BIN
+99.1 KB
(130%)
...es/jpg-24bit-icc-adobe-rgb.OptimizeICCProfile_RGB_Embedded-macos-10.golden.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-294 KB
...es/jpg-24bit-icc-adobe-rgb.OptimizeICCProfile_RGB_Embedded-macos-11.golden.jpeg
Binary file not shown.
Binary file modified
BIN
+121 KB
(120%)
resources/jpg-24bit-icc-iec.AutoRotate_1-macos-10.golden.jpeg
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
BIN
+274 Bytes
(100%)
resources/jpg-24bit-icc-iec.ExtractArea-macos-10.golden.jpeg
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.
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
BIN
+77.3 KB
(120%)
resources/jpg-24bit-icc-iec.ModulateHSV-macos-10.golden.jpeg
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.
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
BIN
+51 Bytes
(100%)
resources/jpg-24bit-icc-smpte.RemoveICCProfile-macos-10.golden.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-1.05 KB
resources/jpg-24bit-icc-smpte.RemoveICCProfile-macos-11.golden.jpeg
Binary file not shown.
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.
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 not shown.
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.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+49 Bytes
(100%)
resources/jpg-24bit.OptimizeICCProfile_RGB_No_Profile-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-1.21 KB
resources/jpg-24bit.OptimizeICCProfile_RGB_No_Profile-macos-11.golden.jpeg
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+10.4 KB
(200%)
resources/jpg-24bit.TestImageRef_Divide-macos-10.golden.jpeg
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+8.46 KB
(120%)
resources/jpg-32bit-cmyk-icc-swop.OptimizeICCProfile_CMYK-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-35.5 KB
resources/jpg-32bit-cmyk-icc-swop.OptimizeICCProfile_CMYK-macos-11.golden.jpeg
Diff not rendered.
Binary file modified
BIN
-14 Bytes
(100%)
...g-8bit-gray-scale-with-icc-profile.OptimizeICCProfile_Grey-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-55.3 KB
...g-8bit-gray-scale-with-icc-profile.OptimizeICCProfile_Grey-macos-11.golden.jpeg
Diff not rendered.
Binary file modified
BIN
-13 Bytes
(100%)
...rey-icc-dot-gain.TestImageRef_RemoveMetadata_Leave_Profile-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-63.8 KB
...rey-icc-dot-gain.TestImageRef_RemoveMetadata_Leave_Profile-macos-11.golden.jpeg
Diff not rendered.
Binary file modified
BIN
+0 Bytes
(100%)
resources/jpg-8bit-grey-icc-dot-gain.Thumbnail_CropCentered-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-22 KB
resources/jpg-8bit-grey-icc-dot-gain.Thumbnail_CropCentered-macos-11.golden.jpeg
Diff not rendered.
Binary file modified
BIN
+0 Bytes
(100%)
resources/jpg-8bit-grey-icc-dot-gain.Thumbnail_NoCrop-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-22 KB
resources/jpg-8bit-grey-icc-dot-gain.Thumbnail_NoCrop-macos-11.golden.jpeg
Diff not rendered.
Binary file modified
BIN
+6.32 KB
(120%)
resources/jpg-orientation-5.AutoRotate_5-macos-10.golden.jpeg
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+6.4 KB
(120%)
...rientation-5.TestImageRef_RemoveMetadata_Leave_Orientation-macos-10.golden.jpeg
Oops, something went wrong.
Binary file removed
BIN
-27.6 KB
...rientation-5.TestImageRef_RemoveMetadata_Leave_Orientation-macos-11.golden.jpeg
Diff not rendered.
Binary file modified
BIN
+102 KB
(110%)
resources/jpg-orientation-6.AutoRotate_6-macos-10.golden.jpeg
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
-1.11 KB
(99%)
resources/jpg-orientation-6.AutoRotate_6__jpeg_to_webp-macos-10.golden.webp
Binary file not shown.
Binary file removed
BIN
-196 KB
resources/jpg-orientation-6.AutoRotate_6__jpeg_to_webp-macos-11.golden.webp
Binary file not shown.
Binary file modified
BIN
-58.5 KB
(86%)
resources/orientation-issue-1.TestImageRef_Orientation_Issue-macos-10.golden.webp
Binary file not shown.
Binary file removed
BIN
-412 KB
resources/orientation-issue-1.TestImageRef_Orientation_Issue-macos-11.golden.webp
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
resources/png-24bit+alpha.ModulateHSV_Alpha-macos-10.golden.png
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+0 Bytes
(100%)
resources/png-24bit+alpha.Modulate_Alpha-macos-10.golden.png
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+0 Bytes
(100%)
resources/png-24bit+alpha.Sharpen_24bit_Alpha-macos-10.golden.png
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+0 Bytes
(100%)
resources/png-24bit+alpha.TestImageRef_Linear_Alpha-macos-10.golden.png
Oops, something went wrong.
Binary file removed
BIN
-26.7 KB
resources/png-24bit+alpha.TestImageRef_Linear_Alpha-macos-11.golden.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed
BIN
-26.3 KB
resources/png-8bit+alpha.Embed_ExtendBackground_Alpha-macos-11.golden.png
Diff not rendered.
Binary file modified
BIN
+102 Bytes
(100%)
resources/png-8bit+alpha.Resize_Downscale_Alpha-macos-10.golden.png
Oops, something went wrong.
Binary file removed
BIN
-78.3 KB
resources/png-8bit+alpha.Resize_Downscale_Alpha-macos-11.golden.png
Diff not rendered.
Binary file modified
BIN
+98 Bytes
(100%)
resources/png-8bit+alpha.Resize_Upscale_Alpha-macos-10.golden.png
Oops, something went wrong.
Diff not rendered.
Binary file modified
BIN
+3.84 KB
(110%)
resources/png-8bit+alpha.Sharpen_8bit_Alpha-macos-10.golden.png
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters