Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
TakeScreenshot(...);; Other file types
Topic Started: Jun 4 2008, 12:20 AM (402 Views)
Linkin
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Will we be seeing any other file types to save screenshots as any time soon?
Because .bmp files are rather large.

[Edit]
Dam i just realised i am in Off-Topic
Edited by Linkin, Jun 4 2008, 12:21 AM.
Posted Image
Want something done in Photoshop, make a request Here

Formerly known as DS-Development.
Offline Profile Quote Post Goto Top
 
harkathmaker
Member Avatar
Persistent Enquirer
[ *  *  *  *  * ]
Hey... Despellanion, Mysteri, Dr. Best... could someone move this to graphics/questions? This is a good question and I want to know the answer! :cow:
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
I add a .png to the end and watch as it saves it as a .png.bmp. Now what is up with that?!
Blog|EHS
Offline Profile Quote Post Goto Top
 
Linkin
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Yea, i defiantly reckon we should have .png and .jpg support added.

I just done a test and took 5 screenshots at 1024*768 res and it took up over 11MB!.
I opened Photoshop and converted them all to .jpg's and saved them at the highest quality... It only took up 1.91MB.
Even saved as .png's it only amounted to 3.29MB.

Here is a list of image formats.
Posted Image
Want something done in Photoshop, make a request Here

Formerly known as DS-Development.
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Topic moved.
Offline Profile Quote Post Goto Top
 
Linkin
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Thanks
Posted Image
Want something done in Photoshop, make a request Here

Formerly known as DS-Development.
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
I'll consider it.
Offline Profile Quote Post Goto Top
 
silverfire56
Forum God
[ *  *  *  *  *  * ]
i don't consider it a great deal but if anything it would be png, its open source and there are plenty of examples
i dont expect you to do this though dr best.
Offline Profile Quote Post Goto Top
 
harkathmaker
Member Avatar
Persistent Enquirer
[ *  *  *  *  * ]
In images with a lot of different colors however, *.png files can still be very large. JPEGs would probably be best for compression... don't know how difficult it is to make a jpg though. :dunno:
Offline Profile Quote Post Goto Top
 
Cambesa
Member Avatar
Advanced Member
[ *  *  * ]
what if you save it too bmp and convert it using a dll to jpg or so and delete the bmp?
The world is corrupt. ~Lord Il Palazzo
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
harkathmaker
Jun 4 2008, 05:59 PM
In images with a lot of different colors however, *.png files can still be very large. JPEGs would probably be best for compression... don't know how difficult it is to make a jpg though. :dunno:
Png is still alot better than bmp because bmp files are extremely huge.
Offline Profile Quote Post Goto Top
 
Bami
Member Avatar
Guess the character, win a prize
[ *  *  *  *  * ]
png support will add around 100 kb to the dll, jpg support around the same.

BMP files are written with ease, it's just standard RGB colour values for each pixel with a header. JPG and PNG use complicated compression chemes, and take longer to write. You can use another dll if you really want screenshots that are smaller (gmImageMagick for example), which uses a simple to use command line.

Also, PNG files are huge if it isn't a simple shape, at worst they are as big as a BMP, and at best the size of the best quality jpeg.
Here are the thrill seekers, corrupt and immoral.
Posted Image
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
I've got it!

file = "Screenshot1"
file2 = "Screenshot1.png"
TakeScreenshot(file);
ConvertToPNG(file2,file+".bmp");
DeleteFileThingy(file+".bmp");

Of course you'll need another DLL.
Blog|EHS
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
I have come to a decision now. There will not be support for additional file formats.

The reason is the following: Ultimate 3D uses the extensions of Direct3D 8.1 (D3DX 8.1) to handle image file formats. Those can export exceptionally to *.bmp and *.dds files (*.dds does not support compression either and it does not have any advantages for screenshots). Writing a custom import or export function for e.g. JPEG, which utilizes the supported compressions, is a task, which can take months. I had a look at its chunk descriptions once, it is very complex. And using an additional external library for this purpose would increase the file size of the dll in an inappropriate extent.
Offline Profile Quote Post Goto Top
 
Linkin
Member Avatar
Forum God
[ *  *  *  *  *  * ]
O well, Does anyone know any image conversion dlls on the GMC, I had a quick look but could not find anything.

[Edit] Nevermind I never knew GMFI could convert images.
Edited by Linkin, Jun 8 2008, 03:51 AM.
Posted Image
Want something done in Photoshop, make a request Here

Formerly known as DS-Development.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply