ITexture - Picture Manager

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

ITexture - Picture Manager

Post by dejai »

ITexture - Picture Manager

ITexture - Picture Manager, is a small application which I have written that allows the user to load in an image via browsing images and view it within the program. The program features dynamic screen sizes and dynamic menu sizes to accommodate for most resolutions. Several pictures may be opened at once within the single project and moved around, so you can line up pictures of your family or friends or just have several different pictures you wish to view up at the same time. The windows are also dynamically set to the size of the picture. These sub window captions depict the path of the file.

Their is no media needed to run this project except a single irrlicht logo, as I wanted to give credit to the irrlicht community and the irrlicht project. Yet even without this less than 100 kb picture the project will still run fine.

Pictures can be stacked on top of each other and the user can request a help window that will give some basic information on how to use the project and loading pictures.

Another use for ITexture - Picture Manager would be to quickly see how images will look when directly loaded into the irrlicht engine, the only draw back of this software is that it can only display the texture formats that irrlicht can but then again thats the entire purpose!

In actual fact this could be rendered completely useless by the Gui editor but it is simpler to use, and it can load in multiple images which may be good for a developer who wants to see how several images will look within the irrlicht engine.

I would like to show some images of the software in action, I am not releasing the program at this current time because it is not finished i just have to make the scrollers actually do something. But when I do release it , I am going to release it under the GNU, and I hope that it can show beginners like me how to write simple projects that explore some of the fundamentals of loading files and the Gui.

Pictures:
Basic Display

Image
Stacking Pictures in individual windows:

Image
File Dialog, and File Browsing

Image



I have to say I did not do this myself I needed a whack in the head by the following people:
DrHalan
Vitek
Rooly
And Jp ( I found some code you used to set resolution sizes)

Tags ( File, Gui , File Dialog, IGuiImage, ITexture, Programming)
Programming Blog: http://www.uberwolf.com
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Ok beta 0.1 Has Been Officially Released, I have included a full LGPL Disclaimer which I think is a good idea for anyone to have some form of protection against getting sued.

Here is a list:
http://opensource.org/licenses/

And here is the one my project is under:
http://opensource.org/licenses/lgpl-license.html

Thanks to Lonely ducks Scalable Images Function I could finish the project and you can download the beta 0.1 version from

http://dejaigames.com/download/ITexture.zip

Please I am sure its bug ridden post whats wrong with it! I need people like you, who know what to look for to try to destroy my program Open windows open big windows! Lots of them..

It works best with small windows.

It should be dynamic to your screen resolution and this project has only been tested on my windows vista with an Asus Monitor with a screen resolution of 1680 by 1050.

Thanks for your time, read the readme page, I give credit to irrlicht throughout the project and the irrlicht community, naming those that helped me along :D
Programming Blog: http://www.uberwolf.com
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Quick Update:
Checked it on 800 X 600 Resolution and it seems to be running just fine!
Programming Blog: http://www.uberwolf.com
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

Runs fine on my computer, specs:
2.8 ghz core 2 duo
3gigs ram
Ati Radeon x1650 pro
Windows Vista

Nice work by they way, keep up the good work.
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Thanks mate, your actually on the thank you list :D
Programming Blog: http://www.uberwolf.com
Strong99
Admin
Posts: 687
Joined: Fri Mar 31, 2006 7:06 pm
Location: Netherlands
Contact:

Post by Strong99 »

Are you going to add rescalers and such to fix the wrong images?
And is it possible to apply effects on them to view? (such as transparant)
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Features suggestions:
1. Resize-able image windows.
2. Applying effects (from a list of available effects maybe?) on an image (with Undo as Ctrl+Z and all those short-cuts of course)
3. Maybe save files with different formats?
4. Graphic options: Rez, Bits per pixel etc..
5. Blending of two or more pictures..

P.S
Does it compiles on Linux or win32 only?

Oh and why LGPL... Why not Zlib?

Edit:
Forgot.. :wink: - It looks very nice for first release and quick development.
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

You may want to check if the file they are loading has an image extension, I accidentally tried opening an .exe and the application crashed.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Maybe just check if the returned pointer is 0 :wink:
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Ok, for the first question, um I am not sure what you mean by "Re-scalling wrong images"... I have some code implemented if you took a glance that actually checks the image size against the screen resolution. If the image is bigger than the screen it will scale it to within the image size.

Transperancy is apparent in the windows but I know exactly what you mean, I want to add a transperancy function asap its just a matter of where it will be placed. Possibly a small bar at the bottom of each window? Its just hard to decide from a design point of view. Going onto the issue of resizable windows, I didn't see a method for that in the documentaion :O would i have to implement it myself or did I not see it. Anyway it sounds like a good idea. Image effects sounds like fun, but It might wait to 0.3 and saving files in different formats is certainly an eventaul goal of the software :D Blending 2 pictures? What does this exactly mean? Sounds quite interesting..

AS for the crashing, it didn't happen on my pc :? But I will try fix it.. Would I just say if (null) do nothing, else do this? Anyway thanks for the advice, I will try fix it as soon as I have some time.
Programming Blog: http://www.uberwolf.com
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Its under the LGPL, because I want to keep it open source, till the development is finished then it wil be GNU :D And I Want to get it working on linux if anyone wants to compile it! Also I want to get a custom skin eventually for the project, but its purpose is to be under 5mb in the final release, I included source and the engine so that added... about 2 mbs to the project.. So around the 5-7 mb mark I would be happy with.. Anyway thanks for the advice I will get onto it asap. (Do you find it handy to check how pictures will look in irrlicht, without having to use GuiEditor? - Its slightly faster imo :D).

P.S Later Plans are to add a mesh viewer option aswell :D Anyway have fun :D
Programming Blog: http://www.uberwolf.com
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

But LGPL doesn't really help for a stand-alone app. It's basically the same as if you would use GPL. No once would use your app to dynamically link against it... That's why LGPL is also often called Library GPL.
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

K might change it in the next release :D I just want to keep it open source you know :D
Programming Blog: http://www.uberwolf.com
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Update:
I have fixed the problem with a simple FileCheck() :D Thanks for that, I have a bit of work to finish on this project till 0.2 is released :D
Programming Blog: http://www.uberwolf.com
dejai
Posts: 522
Joined: Sat Apr 21, 2007 9:00 am

Post by dejai »

Triple post :/ Sorry :)

Well anyway, I would like to inform you that Version 0.2 is ready for download! If you would like to have a look at the new version please download it from.

http://dejaigames.com/download/ITexture/ITexture0.2.zip

I have added a tab menu, a disclaimer, a version check, a credits window, optimized (well changed the) scaling system to be a bit better, fixed the .exe problem. Added Home, Options and Info Tabs. Options now allows you to change the transparency of the gui.

And for all of you I have changed the license to GNU :D I hope you are happy. I am, so now anyone can use the code as they like, most likely for learning. :D Its out of beta now, but please test it and tell me what you think :D

As for the other features, um resizable sub windows is not implemented into irrlicht, I would have to write my own code for that.. , Special effects maybe in 0.3 and saving in different formats I am not sure when to implement this. Thanks for the ideas though.

Enjoy.
Programming Blog: http://www.uberwolf.com
Post Reply