Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support .jpeg and .jpg image format #270

Closed
vincentsarago opened this issue Mar 17, 2021 · 0 comments · Fixed by #271
Closed

support .jpeg and .jpg image format #270

vincentsarago opened this issue Mar 17, 2021 · 0 comments · Fixed by #271
Assignees
Labels
enhancement New feature or request

Comments

@vincentsarago
Copy link
Member

right now we only support .jpg.

class ImageType(str, Enum):
"""Available Output image type."""
png = "png"
npy = "npy"
tif = "tif"
jpeg = "jpg"
jp2 = "jp2"
webp = "webp"
pngraw = "pngraw"

FYI, this means we also need to modify https://github.com/cogeotiff/rio-tiler/blob/master/rio_tiler/profiles.py#L39-L49 to add jpg:JPEGProfile()

@vincentsarago vincentsarago added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Mar 17, 2021
@vincentsarago vincentsarago self-assigned this Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant