Issue: PNG transparency gets lost when uploading images in chat
Hi Cursor team ![]()
I noticed a small but annoying issue when uploading images in the chat.
When I upload a PNG, it seems like Cursor automatically converts it into JPEG (probably for compression). But this ends up removing the transparency (alpha channel), which breaks the asset.
This is especially tricky when working with:
-
UI assets
-
transparent overlays
-
design materials
What I expected:
If the image has transparency, it should stay as PNG instead of being converted.
Possible improvements:
-
Detect alpha channel and skip JPEG conversion
-
Or allow an option to upload images without compression
Not a huge bug, but it definitely impacts design workflows quite a bit ![]()
Thanks!
问题:聊天上传 PNG 图片会丢失透明通道
Hi Cursor 团队 ![]()
我发现一个不算很大,但有点影响体验的问题。
在聊天窗口上传 PNG 图片时,Cursor 似乎会自动把它转成 JPEG(可能是为了压缩)。但这样会导致透明通道(alpha)丢失,素材就被“破坏”了。
在这些场景会比较明显:
-
UI 素材
-
透明背景图片
-
设计相关内容
期望行为:
如果图片本身带透明通道,应该保留 PNG 格式,而不是转码。
建议优化:
-
检测是否有透明通道,有的话不要转 JPEG
-
或者提供一个「无压缩上传」的选项
不算大问题,但对设计工作流影响还是挺明显的 ![]()
感谢!