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

OpenProcessing Thumbnails are Low Resolution #183

Open
outofambit opened this issue Apr 10, 2024 · 2 comments
Open

OpenProcessing Thumbnails are Low Resolution #183

outofambit opened this issue Apr 10, 2024 · 2 comments

Comments

@outofambit
Copy link
Collaborator

For the homepage, community, and sketches pages we use the sketch thumbnails generated by OpenProcessing. Unfortunately these images are 400 by 400px and I haven't been able to find anything higher res generated by them. Unfortunately these images don't look great on desktop screens with layout design and occasionally they break the layout. @limzykenneth @Qianqianye do you have any insight on how we might be able to get higher resolution images from them or if they can generate higher ones?

For reference, I'm using the following URL form to get a link to the image for a sketch:

https://openprocessing-usercontent.s3.amazonaws.com/thumbnails/visualThumbnail{SKETCHID}@2x.jpg, where {SKETCHID} is the id of the sketch returned by the API and in the sketch's url itself. I'm actually not sure if this is an official part of their API but its the only way we have to get thumbnails for sketches on OpenProcessing.

@Qianqianye
Copy link
Collaborator

Thanks @outofambit! I sent an email to Sinan from OpenProcessing about this.

@davepagurek
Copy link
Collaborator

Not sure if this is a good idea or not but I whipped up a quick prototype to see how feasible it would be to grab our own screenshots of sketches via Puppeteer. @outofambit I put up what I have so far in #192, but the biggest drawback is probably just the lack of ability to manually pick a good frame to screenshot.

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