473,672 Members | 3,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JAI Image I/O - What is the preferred way to scale an image

Good evening.

I'm looking for the recommended way to scale .jpg images smaller with the
latest APIs. I think this would be JAI ImageIO and the ImageIO Tools API. I
read somewhere that getScaledImage is not recommended.

Is there someone out there who is current on this subject?

Thanks,
Ron.

Jul 17 '05 #1
0 1923

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5416
by: D. Alvarado | last post by:
Hello, Can anyone recommend a good image scaling program for PHP 4. What I'm really looking for is just a function that takes an image file and a width to which to scale the image and outputs the scaled image. I am grateful for anyone's recommendations, - Dave
0
1647
by: Duncan Welch | last post by:
I've got users uploading a file, which I then want resize, make a thumbnail out of, then delete. The image and thumbnail are working fine, but when I try to delete the image, I get an error: "The process cannot access the file "c:\inetpub\wwwroot\pictures\1\21_orig.jpg" because it is being used by another process. " I'm using the Image.Dispose() method before trying to delete it; how do I free up this image? Thanks in advance,
4
7969
by: Simon Verona | last post by:
I'm using wia in a vb.net project to capture images from a scanner.. This works fine. However, I want to control the way that images are scanned - ie B+W, Greyscale and resolution etc, but can't work out how to. My code for scanning is below (sorry it's a bit messy - it's been chopped and changed around a lot)... There seems to be very little documentation on WIA, can anybody help me with this ??? Code is :
11
9569
by: Parrot | last post by:
Is there any routine I can call to reduce the size of an image file after uploading a file from a client. I am looking to reduce file sizes programmatically using C# in my web page after uploading. I know that Photoshop can do it but I need to do it dynamically in my web page. I tried doing it myself with some of the Bitmap thumbnail instructions but the resulting image is very bad. I need a file reduction routine that creates a good image...
15
2745
by: Alan Silver | last post by:
Hello, I am trying to do a simple (ha ha) bit of image replacement, so that the 'v' in a string of text inside an <h3> is replaced with an image of a tick that looks like a 'v' to fit with a company logo (imagine "Ferretweave" with the 'v' replaced by a tick instead of the letter). I have tried various things, but have not had any success yet, mainly because all of the IR techniques I have seen seem to depend on the element that...
1
4747
by: jalpa11 | last post by:
Hi all, I have one EMF image which I want to convert to BMP. I want to scale the BMP and want to display it in my viewport area. If scaled BMP doesn't fit inside the viewport area then I want to change the scale such that image can fit inside it. If device is screen then my image gets scaled properly and fits inside the viewport area. But if my device is printer then my image gets scaled properly but it doesn't fit inside the viewport...
16
14554
by: eholz1 | last post by:
Hello CSS group, I saw a beautiful effect that I would like to use either by CSS or using photoshop to create the image/effect (maybe even imagemagick) the site address is: http://victor.hasselblad.com/. the lead image here is a white photograph (jpeg) on a white background, with a shadow like effect around the entire image. In this case the shadow effect is part of the jpeg, and not
0
3389
by: dimkar | last post by:
I finished my first design in flsh 8 using autoscript. It is a carousel gallery of 14 images rotating around. I am very new to this area but i hava a knowledge on programming language. What i want is when an image comes in the center of the monitor to scale automatically, stay at the max scale for around 2 secs then scale back to its original size. when an image is in the proccess of scaling, the other images should stop and wait until the...
14
3717
anfetienne
by: anfetienne | last post by:
hi.....i have this script (below #1) that is linked to another php file SimpleImage.php (#2) im trying to get it to work on my uploaded images but it keeps coming up errors.....i haven't altered anything except for: $image->load('picture.jpg'); $image->resize(546,403); $image->save('picture2.jpg'); I put the variables i need in there within " " instead of ' ' and i always get a error message.....am i doing something or cant...
0
8504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8419
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8945
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8846
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8697
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4242
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4439
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2093
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.