hetelek / Velocity

A cross-platform application built using the Qt framework that allows you to browse and edit Xbox 360 files.
GNU General Public License v3.0
163 stars 47 forks source link

Theme Editor Images Selection Error #6

Closed 0xdeafcafe closed 11 years ago

0xdeafcafe commented 11 years ago

Oh the Theme Creator, when you get to the image selection page, after the Open File Dialog shows and you select the image you want, it doesn't show it in the Image Box.

Adam and Stevie are aware of this, just reporting it here for you.

hetelek commented 11 years ago

Alright, I will try and fix this when I get a chance. Weird thing is, is that it does seem to work on Adam's and my machine, so we'll see. We also know that it's not only your machine, as others have the same problem. Thanks for the report.

0xdeafcafe commented 11 years ago

If you want, you can Teamview me and fix it on my machine.

AndoniZubimendi commented 11 years ago

Just to make sure that it is the application fault, you can check if your version of Qt has support for the file format you are trying to load.

Add this lines at the beggining main.cpp (or in another place)

#include <QDebug>
#include <QImageReader>

And inside the main function put this

    qDebug() << "Supported formats:" << QImageReader::supportedImageFormats ();

When you run Velocity it sould show something like this: ("bmp", "gif", "ico", "jpeg", "jpg", "mng", "pbm", "pgm", "png", "ppm", "svg", "svgz", "tga", "tif", "tiff", "xbm", "xpm")

Make sure that the file format you are trying to load is in that list.

Working fine on my Arch Linux, btw.

landaire commented 11 years ago

Thanks, Andoni. I haven't looked at that portion of the code, but we'll be sure to notify the user (via MessageBox or something similar) if the format isn't supported.

Alex, does this not work regardless of the image/image format?

0xdeafcafe commented 11 years ago

I have only tried JPG.

hetelek commented 11 years ago

The problem does not have to do with the image type, but we believe with the size of the image. We will most likely put a maximum size on the selected image tomorrow or tonight. Thanks.