Exxsamuari Posted August 11, 2012 Author Share Posted August 11, 2012 Ok, i changed all the file extensions to be .png instead of .Jpg and it keeps coming up error.i have main - main3 in the folder saved as .png but keeps saying invalid image error 481 and points to this, would the dpi difference be the cause of this? Link to comment Share on other sites More sharing options...
abhi2011 Posted August 11, 2012 Share Posted August 11, 2012 DD7 doesn't .png is the only thing I have to say. If you are using DX8/Nightly release then I am not sure why it doesn't work. Link to comment Share on other sites More sharing options...
Guest Posted August 11, 2012 Share Posted August 11, 2012 One,simply changing the extention is not how to do it. You need to edit the image in a program such as ms paint (yuk) and manually save it as .png. Second, Abhi is correct. You need to programatically draw the image as on screen. Link to comment Share on other sites More sharing options...
Joyce Posted August 11, 2012 Share Posted August 11, 2012 VB6 forms don't support *.png extensions, you'll either need to render it using the Dx8 API or GDI+ I believe. :] I know it's been said before, but they never mentioned it wasn't a supported format! ;] Link to comment Share on other sites More sharing options...
crzyone9584 Posted August 11, 2012 Share Posted August 11, 2012 joyce is correct. vb6 supports jpeg and bmp as far as i know. If your using 3.0 you will have to render it through code and not use a picture box. Link to comment Share on other sites More sharing options...
Exxsamuari Posted August 11, 2012 Author Share Posted August 11, 2012 so i can use .bmp as forms instead? jpg just seems to blur the image and dont want to use it Link to comment Share on other sites More sharing options...
abhi2011 Posted August 11, 2012 Share Posted August 11, 2012 BMP might make them work. Link to comment Share on other sites More sharing options...
Exxsamuari Posted August 16, 2012 Author Share Posted August 16, 2012 ya jpeg and bmp share the same dpi so bmp works. png has a larger dpi thats why Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now