Skip to content

Labelme 5.5.0 don't support *.jpg files #1492

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

Open
Deephome opened this issue Sep 11, 2024 · 1 comment
Open

Labelme 5.5.0 don't support *.jpg files #1492

Deephome opened this issue Sep 11, 2024 · 1 comment

Comments

@Deephome
Copy link

Provide environment information

labelme 5.5.0
QtAwesome 1.2.2
qtconsole 5.4.0
QtPy 2.2.0
PyQt5 5.15.7
PyQt5-sip 12.11.0

What OS are you using?

Windows

Describe the Bug

I installed Labelme by "pip install", the labelme software cannot load jpg files. As suggested in other issue, I find that the QtGui also don't support jpg format. How to solve this problem? thank you!

> from qtpy import QtGui
> QtGui.QImageReader.supportedImageFormats()
[PyQt5.QtCore.QByteArray(b'bmp'), PyQt5.QtCore.QByteArray(b'cur'), PyQt5.QtCore.QByteArray(b'gif'), PyQt5.QtCore.QByteArray(b'icns'), PyQt5.QtCore.QByteArray(b'ico'), PyQt5.QtCore.QByteArray(b'pbm'), PyQt5.QtCore.QByteArray(b'pgm'), PyQt5.QtCore.QByteArray(b'png'), PyQt5.QtCore.QByteArray(b'ppm'), PyQt5.QtCore.QByteArray(b'tga'), PyQt5.QtCore.QByteArray(b'tif'), PyQt5.QtCore.QByteArray(b'tiff'), PyQt5.QtCore.QByteArray(b'wbmp'), PyQt5.QtCore.QByteArray(b'webp'), PyQt5.QtCore.QByteArray(b'xbm'), PyQt5.QtCore.QByteArray(b'xpm')]

Expected Behavior

No response

To Reproduce

No response

@foryou334
Copy link

I also encountered the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants