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

Remove Unlimited Sash from folder.jpg Files #16

Open
flips22 opened this issue Apr 26, 2020 · 2 comments
Open

Remove Unlimited Sash from folder.jpg Files #16

flips22 opened this issue Apr 26, 2020 · 2 comments

Comments

@flips22
Copy link

flips22 commented Apr 26, 2020

First of all thank you for your work on this! This really makes ubooquity look great!

One small complaint I had was the unlimited sash on each icon, I thought it takes away from the look a bit. I was looking at the comixology web site code and found that you can easily remove the sash with a change to the jpg file that you request.

Here's an example of a coimic that isn't unlimited:

Skyward not unlimited:
https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/113966/113966._SX360_QL80_TTD_.jpg

You can see the jpg file is quit simple.

On comics that are unlimited they add a buch of stuff in the middle of the filename to add the sash... (You can tell I'm not a coder... :D )

Saga with sash:
https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/7587/7587._SX360_CLs|360,360|cu/cmx-cu-sash-lg.png|0,0,361,361 208,208,152,152_QL80_TTD_.jpg

You can remove the sash by simplifying the filename.

Sash removed:
https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/7587/7587._SX360_QL80_TTD_.jpg

Image file with sash removed
7587.SX360_QL80_TTD.jpg

Another example:

Savage Dragon with sash:
https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/739/739._SX360_CLs|360,360|cu/cmx-cu-sash-lg.png|0,0,361,361 208,208,152,152_QL80_TTD_.jpg

Sash removed:

https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/739/739._SX360_QL80_TTD_.jpg

Another Example:

1602: Witch Hunter Angela (2015)
With sash:
https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/43474/43474._SX360_CLs|360,360|cu/cmx-cu-sash-lg.png|0,0,361,361 208,208,152,152_QL80_TTD_.jpg

1602: Witch Hunter Angela (2015)
Sash removed:
https://images-na.ssl-images-amazon.com/images/S/cmx-images-prod/Series/43474/43474._SX360_QL80_TTD_.jpg

I won't even attempt to suggest how to modify your code, but hopefully this would be an easy change that you could make. Thanks!!!

@yakk0
Copy link

yakk0 commented Sep 23, 2020

removing the .SX360_QL80_TTD will also return the full size image. I would suggest removing everything between the number and .jpg to get the best quality image.

@PapaiJarda
Copy link

PapaiJarda commented Feb 8, 2021

removing the .SX360_QL80_TTD will also return the full size image. I would suggest removing everything between the number and .jpg to get the best quality image.

Actually, best quality image is retrieved when using QL100.jpg, since QL stands for quality.
If QL is omitted we get full size image but not full quality.

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

No branches or pull requests

3 participants