Skip to content

Change default Image format#111

Merged
luisremis merged 1 commit intodevelopfrom
image-default
Jul 2, 2019
Merged

Change default Image format#111
luisremis merged 1 commit intodevelopfrom
image-default

Conversation

@luisremis
Copy link
Copy Markdown
Contributor

TDB format only performs better with very large images, and it is usually not the first choice for users, forcing them to explicitly change for format for every insertion or getting error messages. It is better to just go with JPG as the default until we start seeing more use cases showing the benefits of the format.

@luisremis luisremis requested review from mahircg and vishakha041 June 27, 2019 20:54
vishakha041
vishakha041 previously approved these changes Jul 1, 2019
Copy link
Copy Markdown
Contributor

@vishakha041 vishakha041 left a comment

Choose a reason for hiding this comment

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

Good catch. I didn't even know we were forcing that. Hmmm. Did you update the wiki already?

@vishakha041
Copy link
Copy Markdown
Contributor

Only small concern here, shouldn't png be default since it is lossless? Or more like, set it to whatever the original is??

TDB format only perform better with large images, and is usually not the first choice for users, forcing them to explicitly change for format for every insertion or getting error messages. It is better to just go with JPG as the default.
@luisremis
Copy link
Copy Markdown
Contributor Author

luisremis commented Jul 2, 2019

sounds good, we can switch to use the original format or the image. Fixed and all tests passing, wiki updated.

As a future enhancement (#73 ), if the user does not specify a change of format nor operations, we need to write the image directly.

@luisremis luisremis changed the title Change default Image format to JPG Change default Image format Jul 2, 2019
@luisremis luisremis merged commit c56249e into develop Jul 2, 2019
@luisremis luisremis deleted the image-default branch July 2, 2019 23:10
cwlacewe added a commit to cwlacewe/vdms that referenced this pull request Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants