• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 13 14 15 16 17 … 35 Next »
[fixed] Can't import TGA image format.

 
  • 0 Vote(s) - 0 Average
[fixed] Can't import TGA image format.

Pages (2): 1 2 Next »
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#1
12-12-2016, 10:39 AM (This post was last modified: 12-13-2016, 08:51 PM by dgud.)
Attempting to import images in TGA format results in an error.
(TGA is one of the image format often used in 3DCG textures.)

Wings3D display a following message dialog (No crash log and no error log).
Quote:"Failed to load "(The tga image file's Path)": unknown POSIX error"

I tried it with and without alpha channel, but the same error occurred in both cases.

I checked at importing of other image formats on Mac.
Quote: tga NG
--------
bmp OK
jpg OK
gif OK
tif OK
png OK

How about other OS,can import these image formats?

Wings3D 2.1.4.1
OSX 10.11.6
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#2
12-12-2016, 10:53 AM (This post was last modified: 12-12-2016, 05:18 PM by micheus.)
What was the full path of this file?

And if it's in the root path, tell me if the drive is an external one (like a stick memory)
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Fonte Boa
Offline

www.youtube.com/wings3dchannel

Posts: 448
Threads: 52
Joined: Nov 2012
#3
12-12-2016, 06:11 PM
I can confirm the error.
Using 1.5.4, therefore, Wings can import TGAs without problems.
__________________________________
www.youtube.com/wings3dchannel
http://www.facebook.com/wings3dchannel
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#4
12-12-2016, 06:26 PM (This post was last modified: 12-12-2016, 06:28 PM by micheus.)
No problem here, except if the file is in the root dir (which was already observed before).
So, we need something else. Maybe share the tga file, although I still don't that it's the problem.

We have a similar error reported, but it not in the same circumstances: Windows 10 wont save/load from some drive root

So, it's important to answer in which situation that happens. In a internal hard driver or in an external one.
I could observe that happens accessing images at the root from my memory stick.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Fonte Boa
Offline

www.youtube.com/wings3dchannel

Posts: 448
Threads: 52
Joined: Nov 2012
#5
12-12-2016, 07:15 PM
I've tested it using Windows 7.
Some tgas can be imported, another ones no.

For example, i can not import the following Asphalt3.tga.

https://drive.google.com/file/d/0B6YBA4K...sp=sharing

Can you import this image, Micheus?
__________________________________
www.youtube.com/wings3dchannel
http://www.facebook.com/wings3dchannel
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#6
12-12-2016, 07:24 PM
Thanks Fonte.

This one is out of that criteria I was getting here. I cannot read it from an external or an internal drive.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Fonte Boa
Offline

www.youtube.com/wings3dchannel

Posts: 448
Threads: 52
Joined: Nov 2012
#7
12-12-2016, 11:40 PM
<<I cannot read it from an external or an internal drive.>>

I didnt understand. Can you import this image to Wings?
(remembering 1.5.4 can)
__________________________________
www.youtube.com/wings3dchannel
http://www.facebook.com/wings3dchannel
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#8
12-13-2016, 04:17 AM
I have noticed that having an image in the root directory the import process fail with that POSIX error. If I move that image to a subdirectory the import works fine. (that includes .tga files too)

In the case of your .tga file I can't import it in any way.
What I did was use GIMP to read it and re-export the file. If I set the RLE Compression the file cannot be imported. If I don't use the compression, then the .tga file can be imported.

Please try it and see if this one you can import: Asphalt3-noRLE.tga

tkbd, please do the same. Try the original file by Fonte Boa and then this one above.

If confirmed, it's a wxWidgets bug. I found it supposedly was fixed early this year: Error when loading RLE compressed TGA
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#9
12-13-2016, 10:40 AM
Micheus and Fonte Boa,Thanks for reply.

micheus Wrote:What was the full path of this file?
"Full path" means the tga image file's path. See below screenshot.
[Image: err_dialog_zpsmydibclv.png]


micheus Wrote:tkbd, please do the same. Try the original file by Fonte Boa and then this one above.
OK, I tried to import Asphalt3.tga, but same error message window open.
Micheus,I think your expectations are correct.

I use graphic editor and tried import with TGA images that RLE compressed and not compressed image.
Apparently it seems to fail to read tga file with RLE compression applied.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,675
Threads: 183
Joined: Jun 2012
#10
12-13-2016, 12:38 PM
tkbd, can you please test it with this file update: wp9_dialogs.beam
It must be found in a place like this: C:\Program Files\wings3d_2.1.4.1\lib\wings-2.1.4.1\plugins\default

* That will not fix the RLE compressed file loading.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode