Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Move away from VIPS for bimg #14

Merged
merged 6 commits into from
Oct 5, 2017
Merged

Move away from VIPS for bimg #14

merged 6 commits into from
Oct 5, 2017

Conversation

hassox
Copy link
Contributor

@hassox hassox commented Aug 8, 2017

We noticed that our images are being rotated in one of our apps.

It seems that this is happening in gothumb (we have the original in the correct orientation)

Rather than try and work this out I found this issue. DAddYE/vips#37

What is concerning is that from the README

When generating JPEG output all metadata is removed and Huffman tables optimised without having to use separate command line tools like jpegoptim and jpegtran.

I'm guessing at Go a bit so there's likely some unwanted changes in this :(

Copy link
Contributor

@openskydoor openskydoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!! I like this change.

q: why do you want to save to the vendor folder, if we are not actually compiling from vendor/ ?

main.go Outdated
Quality: 50,
})
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you run gofmt

bin/install Outdated
@@ -1,6 +1,6 @@
#!/bin/bash

brew install --devel go
brew install go
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you may be able to do something like go@1.8 to lock it to a specific version instead of just the latest (I know --devel was even more dangerous...)

@hassox
Copy link
Contributor Author

hassox commented Aug 17, 2017

@openskydoor @connorjacobsen great feedback... I"m not sure how to do it ;) Can we pair on the changes suggested?

@rach
Copy link

rach commented Sep 15, 2017

@raroman What's the status on this?

hassox and others added 3 commits September 26, 2017 11:26
We noticed that our images are being rotated in sherlock.

It seems that this is happening in gothumb (we have the original in the correct orientation)

Rather than try and work this out I found this issue. DAddYE/vips#37

What is concerning is that from the README

> When generating JPEG output all metadata is removed and Huffman tables optimised without having to use separate command line tools like jpegoptim and jpegtran.

I'm guessing at Go a bit so there's likely some unwanted changes in this :(
@openskydoor openskydoor merged commit 57d0216 into master Oct 5, 2017
@openskydoor openskydoor deleted the move-away-from-vips branch October 5, 2017 01:18
openskydoor pushed a commit that referenced this pull request Oct 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants