Comments (4)
I think the servlet is a little outside the scope of the project. However I'm
sure that
your servlet will be appreciated by the users of the library, so maybe I'll
create an zip
file with example usage.
I must say that I was impressed with your work. I think you have a very clear
way of
writing source code.
For the caching part, I suggest that you take a look at EHCache (or the JSR107
JCACHE API).
Original comment by m%[email protected]
on 20 Mar 2010 at 7:50
from java-image-scaling.
Original comment by m%[email protected]
on 20 Mar 2010 at 7:51
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from java-image-scaling.
Thanks, You can use the code provided as you wish!
By the way, I was looking at a JSR107 based solution witch could fall back to a
simple
disk persistence based cache in case of no jsr107 implementation.
I think it becomes a little bit bigger than a simple java file implementing a
Servlet
:-)
Original comment by [email protected]
on 21 Mar 2010 at 7:36
from java-image-scaling.
Thanks again :-)
I think I'll add the servlet you created pretty much as it is, and then point
out that it
must add some kind of cache mechanism to be useful in a production environment.
Adding a cache is absolutely required, but it also spoils the simplicity of the
servlet.
I'll add the servlet in the next release. Maybe in it's own file.
Original comment by m%[email protected]
on 21 Mar 2010 at 7:42
- Changed state: Accepted
from java-image-scaling.
Related Issues (20)
- Error scaling png, still not working HOT 10
- DimensionConstrain class is written in a way that cannot be extended HOT 3
- Problem with images rotating after scaling HOT 1
- Create square pic HOT 2
- Upscaling shift HOT 3
- proportional scaling HOT 1
- Rescaling with alpha HOT 1
- Jar file incomplete HOT 1
- Naming error: ThumpnailRescaleOp Thump -> Thumb HOT 1
- ArrayIndexOutOfBoundsException when upscaling a very small image HOT 2
- When scale images smaller than 150kb, the resulting image comes out like a negative HOT 16
- Code cleanup & ant unit test tasks
- Wrong license refererenced in maven pom file
- Incorrect implementation of getBounds2D and getPoint2D HOT 1
- Android version
- Aspect Ratio Issue HOT 1
- e.printStackTrace() inside a catched exception HOT 3
- Resize fails for TYPE_USHORT_GRAY image
- Adding method ResampleFilters.valueOf(String name)
- Push version 0.8.6 to maven central HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-image-scaling.