Forum is shutting down, join us on Discord.

- No new threads can be created
- Shoutbox has been disabled
- All chat/support/market will be on Discord
- if you have a special status on forum (ie: staff, legendary user, etc), then PM Phoenix on forum with your Discord name to reclaim your status on Discord
See you all on Discord!


  
Go Back   Twilight MU Online Forum > Community > Programming Section

Programming Section All programming related stuff goes here.


Welcome to the Twilight MU Online Forum forums.

You are currently viewing our boards as a guest which gives you limited access. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

After registering you will receive an email with a confirmation link that you will need to click in order to activate your forum account.

NOTE: It's recommanded that you use on forum a different username and password than the game username and password.

If you have any problems with the registration process or your account login, please contact contact us.

 
 
Thread Tools Display Modes

Old 24-01-2009   #41
Judobreaker
GFX Master

 
Judobreaker's Avatar
 
InGame Character:
My Mood:
Judobreaker is offline
Points: 23,555, Level: 67
Points: 23,555, Level: 67 Points: 23,555, Level: 67 Points: 23,555, Level: 67
Level up: 8%, 645 Points needed
Level up: 8% Level up: 8% Level up: 8%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2006
Location: Holland
Age: 35
Rep: Judobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond repute
Rep Power: 341
Casino Cash: 10394
Default

Yeah I know, that would fix the size, but it would also cause quality loss. ^^
The reason I mentioned filesize difference isn't really cause I like the smaller sizes (I don't really care about 100kb) but cause it is proof there is image quality loss.
__________________
[CENTER]
Thank you Jessie!

Visit my portfolio at http://www.rvantwerpen.com

FireStorm: tht i could be your bitch
FireStorm: you are and have done so much for us
Judobreaker: I dont feel very useful a lot though lol
 

Old 24-01-2009   #42
Quest
Silver Member

 
Quest's Avatar
 
InGame Character:
Quest is offline
Points: 7,533, Level: 37
Points: 7,533, Level: 37 Points: 7,533, Level: 37 Points: 7,533, Level: 37
Level up: 21%, 317 Points needed
Level up: 21% Level up: 21% Level up: 21%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2007
Age: 39
Rep: Quest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant future
Rep Power: 236
Casino Cash: 2715
Default

It seems I assumed wrong that you know about PNG & its compression The compression that PNG uses is LOSSless, meaning NO LOSS of quality. JPEG uses a lossy compression. If you don't believe do the quality comparison between two PNGs one 0 and one 9. Here's some wiki quotes for the non believers:
Quote:
Originally Posted by WIKIPEDIA
PNG uses a non-patented lossless data compression method known as DEFLATE, which is the same algorithm used in the zlib compression library. This method is combined with prediction, where for each image line, a filter method is chosen that predicts the color of each pixel based on the colors of previous pixels and subtracts the predicted color of the pixel from the actual color. An image line filtered in this way is often more compressible than the raw image line would be, especially if it is similar to the line above (since DEFLATE has no understanding that an image is a 2D entity, and instead just sees the image data as a stream of bytes). Compression is further improved by choosing filter methods adaptively on a line-by-line basis. This improvement, and a heuristic method of implementing it commonly used by PNG-writing software, were created by Lee Daniel Crocker, who tested the methods on many images during the creation of the format.
Quote:
Originally Posted by WIKIPEDIA
Lossless data compression is a class of data compression algorithms that allows the exact original data to be reconstructed from the compressed data. The term lossless is in contrast to lossy data compression, which only allows an approximation of the original data to be reconstructed, in exchange for better compression rates.
__________________
 

Old 27-01-2009   #43
Quest
Silver Member

 
Quest's Avatar
 
InGame Character:
Quest is offline
Points: 7,533, Level: 37
Points: 7,533, Level: 37 Points: 7,533, Level: 37 Points: 7,533, Level: 37
Level up: 21%, 317 Points needed
Level up: 21% Level up: 21% Level up: 21%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2007
Age: 39
Rep: Quest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant futureQuest has a brilliant future
Rep Power: 236
Casino Cash: 2715
Default

OK , time for demonstrating a bit of PNG powah.

My latest sig link : http://signature.elementfx.com/sig_exellentmg/sig.png/
Looks like crap , I know , don't rush.

My latest sig in use : http://forum.twilightmuonline.com/member.php?u=3856 ("About me" tab, ofc)

For the knowledgeable, they don't need any explanations but for the others it's a nice demonstration of transparency use as PNG. Besides the character that gets "out of the sig" and is transparent (a case demonstrated by vladko in a previous post) the signature itself is transparent and lets the background it is put on to get through (glass effect). It looks crap on white because it was not designed for white background, but as you see, on forum it looks decent.

Here's another example of the same signature on another background color.

The drop-shadow effect also looks as intended. As for filesize I used compression level 9 and the image "weights" just 55.79 kB.

Convinced you yet? What are you waiting for, go out there and do loads of signatures!
__________________
 

Old 28-01-2009   #44
Judobreaker
GFX Master

 
Judobreaker's Avatar
 
InGame Character:
My Mood:
Judobreaker is offline
Points: 23,555, Level: 67
Points: 23,555, Level: 67 Points: 23,555, Level: 67 Points: 23,555, Level: 67
Level up: 8%, 645 Points needed
Level up: 8% Level up: 8% Level up: 8%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2006
Location: Holland
Age: 35
Rep: Judobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond reputeJudobreaker has a reputation beyond repute
Rep Power: 341
Casino Cash: 10394
Default

Oh I've been convinced of the advantages of png for ages. :P
__________________
[CENTER]
Thank you Jessie!

Visit my portfolio at http://www.rvantwerpen.com

FireStorm: tht i could be your bitch
FireStorm: you are and have done so much for us
Judobreaker: I dont feel very useful a lot though lol
 

Old 31-01-2009   #45
albsky
I'm speshul x_X

 
albsky's Avatar
 
InGame Character:
My Mood:
albsky is offline
Points: 9,407, Level: 41
Points: 9,407, Level: 41 Points: 9,407, Level: 41 Points: 9,407, Level: 41
Level up: 80%, 93 Points needed
Level up: 80% Level up: 80% Level up: 80%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Rank: Platinum Member
Join Date: Jun 2008
Rep: albsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud ofalbsky has much to be proud of
Rep Power: 221
Casino Cash: 5538
Default

me too, but I can't get it working myself, wtf :P
__________________
-----

 
 

Bookmarks

Tags
dynamic signatures


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -5. The time now is 11:44 AM.



vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2006 - 2019 Twilight MU. All Rights Reserved