Experts Round Table Network
Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:
Password:
Remember me
Forgot your password?
Register
Image uploader / optimizer
Welcome,
Guest
. Please
login
or
register
.
December 02, 2008, 07:21:45 PM
11304
Posts in
1248
Topics by
498
Members
Latest Member:
katCheeme
Home
Help
Search
Login
Register
Experts Round Table Network
|
Community Affairs
|
Soapbox
|
Image uploader / optimizer
« previous
next »
Pages:
[
1
]
Print
Author
Topic: Image uploader / optimizer (Read 552 times)
nicholassolutions
Administrator
Offline
Posts: 133
Image uploader / optimizer
«
on:
April 10, 2006, 08:02:00 AM »
The image optimizer I've been working on is now available via the
"Upload Image"
link at the top right of the textarea you type in when you post comments. You can use this tool to upload images to ERT so you can post them in the forum. It will also let you optimize, rotate, and scale your image, as well as converting to grayscale. You can upload jpeg, gif, png, and bmp. After uploading and optimizing, you'll be given the full BBCode to post your image in the forum.
You must be a registered member, and currently logged-in to use the image uploader/optimizer. You also need to have javascript enabled. You can get the full details here:
http://www.expertsrt.com/bbimages/
I dont have a tremendous amount of time for further development, but I welcome any comments or suggestions, which you can post here. If you'd like to test it out, feel free to post any (appropriate! :glasses7:) images in this thread, but please remember to follow the guidelines about not posting unecessary images in the tech threads.
Thanks,
Matt
:^)
Logged
COBOLdinosaur
ERT.com Admin
Offline
Posts: 481
Image uploader / optimizer
«
Reply #1 on:
April 10, 2006, 10:50:49 AM »
Great Job Matt. Did you get your taxes finished?
This is how dinosaurs deal with taxes:
Logged
rdivilbiss
Governing Council Member
Offline
Posts: 414
Image uploader / optimizer
«
Reply #2 on:
April 10, 2006, 11:40:59 AM »
Seems to preserve custom GIF formats correctly.
Thanks for the nice tool.
Logged
Rod
VGR
Mentor
Offline
Posts: 682
Image uploader / optimizer
«
Reply #3 on:
April 10, 2006, 11:50:46 AM »
impressive php script
nice work
this is the pNG file I rotated+grayscale+change in quality
just a side question : why didn't you convert to PNG in stead of JPeG ?
Logged
techie overlord, answers all kind of questions on
http://www.europeanexperts.org
Esopo
Governing Council Member
Offline
Posts: 74
Image uploader / optimizer
«
Reply #4 on:
April 10, 2006, 04:12:48 PM »
Quote from: "VGR"
just a side question : why didn't you convert to PNG in stead of JPeG ?
Although I'm not familiar with Matt's choices, I can say that PNG doesn't support lossy compression hence not allowing for the change in quality that the script offers.
I suppose that, in an attempt to respect the transparency and other valuables in the PNG, the script could evaluate whether it is worth it to keep the PNG format by saving the file as both (PNG and compressed JPG) and analizing the filesize difference, but as it stands IMO saving as JPG by default is a reasonable approach.
BTW, cool script Matt!
Logged
nicholassolutions
Administrator
Offline
Posts: 133
Image uploader / optimizer
«
Reply #5 on:
April 10, 2006, 06:04:54 PM »
LOL Roy ;-)
Quote from: "Esopo"
Although I'm not familiar with Matt's choices, I can say that PNG doesn't support lossy compression hence not allowing for the change in quality that the script offers.
I suppose that, in an attempt to respect the transparency and other valuables in the PNG, the script could evaluate whether it is worth it to keep the PNG format by saving the file as both (PNG and compressed JPG) and analizing the filesize difference, but as it stands IMO saving as JPG by default is a reasonable approach.
Yeah that's the reason -- there's no "quality" setting for PNG, and for many applications, it would actually increase the file size. At present, I figure that if someone is savvy enough to need their PNG preserved and optimized, they'll probably know how to do it on their local computer. At some point when I have more time (and feel like working on this some more :wink:), I'm planning on adding the ability to choose between PNG and JPG as you describe, and maybe adding a cropping function as well.
Thanks to everyone for the kind comments :^)
Logged
COBOLdinosaur
ERT.com Admin
Offline
Posts: 481
Image uploader / optimizer
«
Reply #6 on:
April 10, 2006, 07:51:55 PM »
The significants of this script is not just that it is a first rate piece of work; a really sweet script. The script was built in resposne to need and requests from membrs for the functionality.
It exist and enhances the ERT experience because a Mentor on the site seeing the need, and having the skills; created it. Not for pay; not for points; and not to gain some additional rating. In the circumstances, a quick cut and past script from the internet would be the response in a lot of communities. A fast cobbled job with security issues and reliability problems would be the norm i respnses to such a request at a lot of places on the net. BUT... this is ERT and Matt and other mentors are setting the bar very hign for any site that want to call it self a professional resource.
Matt gets :notworthy: for excellant work.
He gets =D> for the professional quality
From an old dinosaur he gets Thank you for being a member of the community, and activly helping to make it better.
:^)
Logged
VGR
Mentor
Offline
Posts: 682
Image uploader / optimizer
«
Reply #7 on:
April 11, 2006, 01:15:25 AM »
well, it's easy for you to say :notworthy:... you saw the source code ;-)
if ever you're interested in some code more, I did some time ago a thumbnails generator/resizing function for all image formats in input, including transparency & palette stuff when applicable. If I added a FORM as interface, and rotating/greyscale stuff, it would be the same :D
A side note : I tried - of course ;-) - to set the ration to 200:100 althought it was said to be limited to 150:100 ; the script didn't take it into account at all (thus staying at 1:1). I would have expected the script to take the allowed maximum (1,5:1) in stead. It's not mandatory, but more logical to me.
Logged
techie overlord, answers all kind of questions on
http://www.europeanexperts.org
Huntress
Administrator
Offline
Posts: 133
Image uploader / optimizer
«
Reply #8 on:
April 11, 2006, 01:16:18 AM »
w00t! Most excellent dude! :notworthy:
Logged
nicholassolutions
Administrator
Offline
Posts: 133
Image uploader / optimizer
«
Reply #9 on:
April 11, 2006, 01:26:01 AM »
Quote from: "VGR"
A side note : I tried - of course ;-) - to set the ration to 200:100 althought it was said to be limited to 150:100 ; the script didn't take it into account at all (thus staying at 1:1). I would have expected the script to take the allowed maximum (1,5:1) in stead. It's not mandatory, but more logical to me.
Of course you did :D Thanks for pointing that out -- I'll add it to my list of things to do. As for the source code for transparency and palletes, I very well may take you up on the offer sometime soon ;-)
Thanks again for the kind words everyone :oops: :wink:
Logged
Pages:
[
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ERT 1.5
-----------------------------
=> Round Table Learning Center
=> Bug reports
-----------------------------
Legacy
-----------------------------
=> The next level
=> History of ERT
-----------------------------
Community Affairs
-----------------------------
=> Introductions
=> Ballot Box
===> Closed Polls
=> Soapbox
=> Propose and Consult
===> Propose and Consult...CLOSED
-----------------------------
Bits and Bytes
-----------------------------
=> Tips, Tricks, Snippets, Tidbits And General Pearls Of Wisdom
-----------------------------
Serverside Technology
-----------------------------
=> PHP
=> ASP
-----------------------------
Webservers
-----------------------------
=> Apache
=> IIS
-----------------------------
Databases
-----------------------------
=> MySQL
=> Access
=> MS SQL Server
-----------------------------
Clientside Technology
-----------------------------
=> HTML
=> CSS
=> Javascript
=> Flash
=> WAP/WML
-----------------------------
Web Technologies
-----------------------------
=> General Web Dev
=> Web Standards
=> XML
=> Online Marketing
-----------------------------
Graphics
-----------------------------
=> Graphics Design and Animation
-----------------------------
Programming
-----------------------------
=> .NET
=> JAVA
=> MS DOS Batch Scripting
=> Mathematics
=> C & C++
=> VB
=> Delphi
=> Algorithm design
-----------------------------
Operating Systems
-----------------------------
=> Windows (General)
=> NT Based (2K, 2K-03, NT, XP, Vista)
=> Open Source (All)
-----------------------------
Hardware
-----------------------------
=> Hardware General
=> Gamers Hardware (Advanced)
-----------------------------
Networking
-----------------------------
=> Home (small)
=> Office (large)
=> Internet
-----------------------------
Security
-----------------------------
=> General Security Issues
-----------------------------
Rants/Opinions/Proposals
-----------------------------
=> Site operation
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Joomla Bridge by
JoomlaHacks.com