hi
i want to know that what does the scale() method of AffineTransform do
i mean when we reduce the size of a image does this transform reduces the number of pixels or something else .........
gauravmishra -7 Light Poster
Recommended Answers
Jump to PostYes if you do down scale, function will reduce number of pixels and work out colour for each remaining pixel. Where if you scale up (enlarge) it will just spread the colour difference from pixel one to pixel two on the extra pixel received from enlragment
Jump to PostScaling the transform does not reduce the size of the Image object itself.
Jump to PostDid it work or you having some problems with it?
PS: When posting code please use tags. In advanced options press hash sign "#" and that will automaticaly insert these tags for you. Just simple place your code between them
All 10 Replies
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
gauravmishra -7 Light Poster
gauravmishra -7 Light Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
gauravmishra -7 Light Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
gauravmishra -7 Light Poster
gauravmishra -7 Light Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
gauravmishra -7 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.