| 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: |
| TakeScreenshot(...);; Other file types | |
|---|---|
| Tweet Topic Started: Jun 4 2008, 12:20 AM (402 Views) | |
| Linkin | Jun 4 2008, 12:20 AM Post #1 |
|
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.
|
![]() Want something done in Photoshop, make a request Here Formerly known as DS-Development. | |
![]() |
|
| harkathmaker | Jun 4 2008, 05:40 AM Post #2 |
|
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!
|
![]() |
|
| skarik | Jun 4 2008, 05:53 AM Post #3 |
|
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 | |
![]() |
|
| Linkin | Jun 4 2008, 06:26 AM Post #4 |
|
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. |
![]() Want something done in Photoshop, make a request Here Formerly known as DS-Development. | |
![]() |
|
| Despellanion | Jun 4 2008, 06:46 AM Post #5 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Topic moved. |
![]() |
|
| Linkin | Jun 4 2008, 06:50 AM Post #6 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Thanks |
![]() Want something done in Photoshop, make a request Here Formerly known as DS-Development. | |
![]() |
|
| Dr. Best | Jun 4 2008, 01:05 PM Post #7 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'll consider it. |
![]() |
|
| silverfire56 | Jun 4 2008, 03:58 PM Post #8 |
|
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. |
![]() |
|
| harkathmaker | Jun 4 2008, 05:59 PM Post #9 |
|
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.
|
![]() |
|
| Cambesa | Jun 4 2008, 09:37 PM Post #10 |
![]()
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 | |
![]() |
|
| Despellanion | Jun 4 2008, 10:37 PM Post #11 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Png is still alot better than bmp because bmp files are extremely huge. |
![]() |
|
| Bami | Jun 5 2008, 12:13 AM Post #12 |
|
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.
| |
![]() |
|
| skarik | Jun 5 2008, 04:07 AM Post #13 |
|
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 | |
![]() |
|
| Dr. Best | Jun 6 2008, 06:13 PM Post #14 |
|
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. |
![]() |
|
| Linkin | Jun 8 2008, 03:37 AM Post #15 |
|
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.
|
![]() Want something done in Photoshop, make a request Here Formerly known as DS-Development. | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)






4:52 PM Jul 11