如何将可缩放图像捕获为一张高分辨率图像?
我想以 3 倍缩放的高分辨率捕获可缩放图像。您知道有什么方法可以将这张图像拼凑在一起而无需手动操作吗? 这是图片
I would like to capture a zoomable image at a high resolution zoomed at 3x. Do you know of a way I can piece this image together without having to do it manually? Here is the image
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 bhups 的解决方案,调整
outputx
和outputy
一段时间后,我尝试了其他方法。我返回到对象页面(在上面的示例中,此处< /a>),获取缩略图 URL (
http://www.metmuseum.org/Imageshare/ep/regular/DP145931.jpg
),将regular
替换为 < code>zoom 令我惊讶的是,我认为是完整的图像,而且花费更少的精力:http://www.metmuseum.org/Imageshare/ep/zoom/DP145931.jpg
After using bhups' solution, tweaking
outputx
andoutputy
for a good while, I tried something else.I went back to the object page (in the above example, here), took the thumbnail image URL (
http://www.metmuseum.org/Imageshare/ep/regular/DP145931.jpg
), replacedregular
withzoom
and to my surprise got what I presume is the full image, with less effort:http://www.metmuseum.org/Imageshare/ep/zoom/DP145931.jpg
您可以调整 URL 来完成工作。 这里是 3x 图像的 URl。
http://media.metmuseum.org/mgen/metzoom/zoom3.ms?img=DP145931.jpg&wrapperid=11&outputx =1200&outputy=1601.067378252168&level=1&x=0&y=0&backcolor=0x00000
outputx 和outputy 是输出图像尺寸。 level 表示缩放级别。 x 和 y 是所选矩形的左上角。
You can tweak the URL to get the job DONE. Here is the URl for 3x image.
http://media.metmuseum.org/mgen/metzoom/zoom3.ms?img=DP145931.jpg&wrapperid=11&outputx=1200&outputy=1601.067378252168&level=1&x=0&y=0&backcolor=0x00000
outputx and outputy are the output image dimensions. level implies the zoom level. and x and y are the top left corner of the selected rectangle.