Closed GoogleCodeExporter closed 9 years ago
Should have mentioned Jacek, that I downloaded the svn version today.
Original comment by parth...@gmail.com
on 23 Jul 2011 at 3:59
I think this is because uppercase name, I search for "tif" or "tiff", not "TIF"
:)
However the dialog window also allows to choose only "tif"/"tiff", is it works
different on Windows?
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 10:11
Confirmed. You are right. Cannot open a file with extension TIF. You
need to extend the choices or convert to lowercase before opening?
also, the dialog window does not allow a separate choice for tif/tiff.
The choice is JPEG/TIFF files (*.jpg;*.jpeg;*.tiff;*.tif) only.
Original comment by parth...@gmail.com
on 24 Jul 2011 at 11:14
In main_frame.cc, changing line 172 to:
wxString type = _T("JPEG/TIFF files (*.jpg;*.jpeg;*.tiff;*.tif;*.TIF;*.TIFF)|*.jpg;*.jpeg;*.tiff;*.tif;*.TIF;*.TIFF");
and line 180 to
wxString fileName = openFileDialog.GetPath().Upper();
and in file source_image.cc changing line 33 to
size_t pos = fileName.rfind("TIF");
seems to fix this issue?
Original comment by parth...@gmail.com
on 24 Jul 2011 at 3:03
The first part is OK however I don't think changing fileName to Upper is
correct - on Unix case of filename matters :)
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 4:34
Maybe I should just add "open source JPG" and "open source TIFF" into menu
instead "open source image" to avoid all image detection problems?
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 4:35
I thought that changing the filename to uppercase after reading it
would work for unix/linux as well. Of course, I implemented the change
on my Windows 7 machine only, true. :)
Adding open source etc. sounds good to me.
Original comment by parth...@gmail.com
on 24 Jul 2011 at 4:48
openFileDialogs just returns the filename you selected in GUI, it is read later
- by the libtiff library, so the name must be correct
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 4:51
OK I need to fix it anyway because you can run delabotory with filename as
argument so I need to detect the format
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 4:55
My solution currently lets me do that on my computer.
Original comment by parth...@gmail.com
on 24 Jul 2011 at 5:22
Yes, but only on Windows :)
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 6:47
Can you detect the file format from the input file rather than rely on
the extension? This might solve the problem on all OSes?
Original comment by parth...@gmail.com
on 24 Jul 2011 at 7:07
Too much work :) Please check revision 222 of SVN, is it works correctly?
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 7:28
My svn version says 223. :)
Yes, you solved it. Please keep in mind that I updated as opposed to
blowing away the directory and re-downloading it.
BTW, I got feedback that Send to Gimp needs to work. I will open
another issue with that.
Also, feedback from me, I wonder why I can't have another curve in RGB
which is a "value" curve. And, I think the software is coming along
great. Once you allow duplicate layer and layer mask like in Gimp, you
are getting towards replacing Gimp. :)
Original comment by parth...@gmail.com
on 24 Jul 2011 at 8:53
I am closing it now as solved.
Original comment by jacekpop...@gmail.com
on 24 Jul 2011 at 9:13
Original issue reported on code.google.com by
parth...@gmail.com
on 23 Jul 2011 at 3:57