Cannot extend AffineTransformOp properly

class MyAffineTransformOp extends AffineTransformOp {
public MyAffineTransformOp(AffineTransform xform, int interpolationType) {
super(xform, interpolationType);
public BufferedImage getFilter(BufferedImage src, BufferedImage dst) {
BufferedImage bi = this.filter(src, dst);
return bi;
}Then I refer to it from another class ...
// I pasted from the constructor
MyPanel()
//bimgf, rop, bimg are already referenced and initialized
bimgf = rop.filter(bimg, null);
//Prepare a Transform object for the Op
AffineTransform xform = new AffineTransform();
xform = xform.getRotateInstance(java.lang.Math.PI, 1136/2, 852/2);
int interpolationType = java.awt.image.AffineTransformOp.TYPE_BICUBIC;
//I decided to try extending the AffineTransformOp class instead to see if I could get that to work
MyAffineTransformOp maop = new MyAffineTransformOp(xform, interpolationType);
BufferedImage bimgf1 = maop.getFilter(bimgf, bimgf1);The above is what I feel are relevant snippets to my problem (could be wrong). It compiles fine but I get an ImageIOException: Unable to transform src image when it runs.
Doing it the AffineTransformOp op = etc and then the BufferedImage bi = op.filter(bi, null) makes it work fine, but I want to know why the way I want to do it (above) doesn't work.

Your MyAffineTransformOp class seems completely pointless to me. All it does is rename the filter() method.
I would eliminate it and see what effect that has. It won't be any loss.

Similar Messages

  • I cannot receive email properly now. When I open mail, it says that is downloading about 1,700 emails. At the very end, it gives me my newest ones. But this takes a long time. I've contacted the Internet service provider and verified all the right setting

    I cannot receive email properly on either my IPad or my IPhone. I have had them for over a year and they have always worked fine. Until three days ago, when they both started acting up. On the IPad, when I open mail, it says it is downloading about 1,700 emails. At the very end, which takes quite a while to get to, I finally get the most recent ones. The IPad is sending emails just fine.
    On my IPhone, when I open mail, it says it is downloading 100 emails, but it doesn't do that. And it gives me no new emails at all. The IPhone is sending email just fine.
    I have already deleted the email accounts on both devices and reinstalled them. I've contacted the Internet service provider and verified all the right settings. The Outlook email on my desktop is working perfectly.

    WMV is a heavily-compressed format/CODEC, and the processing time will depend on several factors:
    Your CPU, which is not that powerful in your case
    Your I/O sub-system, which is likely a single HDD on your laptop
    The source footage. What is your source footage?
    Any Effects added to that footage. Do you have any Effects?
    Each of those will have an impact on the time required.
    The trial has only one main limitation - the watermark. Now, there are some components, that have to be activated, but are not with the trial, but they would be evident with Import of your source footage, if it's an issue.
    Good luck,
    Hunt

  • Cannot extend package Error while saving changes in Query

    Dear Gurus
    When i am trying to save changes made in the query i get an error message Cannot extend package YBW. kindly help me in resolving this as the changes are required in multiple queries.

    thanks for your relpy Jaya..i checked the properties...the check box package not extendable check box is unchecked and the main package checkbox is also unchecked.
    i check the below post...not exactly related to my issue
    creation of package(Package can not be extended)
    Edited by: SAP Learner license on Mar 30, 2011 9:16 AM

  • Cannot extend package in ABAP 7.1 (new installation)

    Hi everybody,
    sorry for this question, but how can i extend a package in ABAP 7.1. I have created a structure package (ZSP_Test). In this package i try to create a program but without success. I get the message: Cannot extend package ZSP_TEST.
    My Package Properties:
    - allow adding new objects: (is disabled, read only)
    - Type of Package: Package
    - superpackage:
    - Encapsulation level: Not encapsulated
    - Alias for enhancement:
    - Dependency Control list: Checked
    - Allow Enhancement: Checked
    regards,
    Sid
    Edited by: Sid on Nov 6, 2009 6:01 PM

    Sid,
    congratulations you are on 7.1 - I am not yet. As far as I understand the package concept, you must have everything in the package interface, what you want to use but do not define in the package.
    Look at any existing standard packages: Probably they have something very basic in the interface that will allow you to create a program and use some basic statements.
    At least thats what I exspect to be the reason for your error.
    Regards,
    Clemens

  • Cannot extend package in PI 7.1 (new installation)

    Hi everybody,
    sorry for this question, but how can i extend a package in PI 7.1. I have created a package ZSP_Test. In this package i try to create a program but without success. I get the message: Cannot extend package ZSP_TEST.
    My Package Properties:
    allow adding new objects: (is disabled, read only)
    Type of Package: Package
    superpackage:
    Encapsulation level: Not encapsulated
    Alias for enhancement:
    Dependency Control list: Checked
    Allow Enhancement: Checked
    regards,
    Sid

    Do you have SAI_TOOLS, SAPINT added in your use-access tab??
    Look at Tips for Genrating ABAP Proxies
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
    How to add SAI_TOOLS Package for ABAP Proxy  
    How  to add SAI_TOOLS Package for ABAP Proxy
    Regads,
    Siva Maranani

  • Why is it when I convert a Keynote show into HTML, PC users cannot see it properly? Using latest OS and Keynote versions.

    Why is it when I convert a keynote show into HTML, PC users cannot see it properly on their computers?

    JohnRobertBrown wrote:
    It looks perfect using Google Chrome on my Mac. But doesn't work well on Explorer on a PC.  It seems to be way off center.
    There is never any guarantee that automatically generated html will look right on every browser, especially Explorer.  For max compatibility with MS stuff it's best to use Office to start with instead of iWorks.
    I don't know whether you could manually edit the Keynote html to make it work better with Explorer.  It would be interesting to know whether it looks right in Windows Safari, Chrome, or FireFox so you could know whether only IE does it wrong.

  • Error: Cannot extend package

    Hi All,
    I created a package with SE80 and tried to save 'Z' prgram in it but it gave an error Cannot extend package <PACKAGE NAME>..
    Can anyone please help me out on this.

    HI as Sandra suggested, this question could easily be found.
    [Cannot Extend Package;

  • People cannot hear me properly

    Im having issues with my iphone 5 where by i can hear people perfectly well but after a couple of minutes conversation they cannot hear me properly, they miss out on words and sounds stuttery. Not sure if its related but only the left headhphone will work now too, i have tried another set and get the same problem
    Any ideas appreciated
    Thanks

    First, make sure your mic isn't full of pocket lint. It's right below the "k" in BlackBerry on the front of the device.
    Then go to the Help app. At the bottom go to Testing. You can do different diagnostic tests in there and one of them is the mic. Does the test pass for the mic?
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Labview generates an exe file but cannot close it properly

    Hi all, I have used source code to generate an exe file. And I also load dynamic vi using this exe file. However, right now it cannot be closed properly by clicking "X" on top right corner. I think it is caused by loading dynamic vi but do not know how to solve it. Could you help me about this? Thank you!

    Its here:
    C:\Program Files\National Instruments\LabVIEW 2011\examples\viserver\dynload.llb\Dynamic Load Example.vi
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.
    Attachments:
    dynload.llb ‏118 KB

  • HT4972 People cannot hear me properly on my iPhone 4, although I can hear them very well. Would upgrading to iOS 5 perhaps sort this out, or any other software matter, or is it more likely to be a problem with the microphone?

    People cannot hear me properly on my iPhone 4, although I can hear them very well. Would upgrading to iOS 5 perhaps sort this out, or any other software matter, or is it more likely to be a problem with the microphone?

    Please... Anyone

  • The caller / Called Person cannot hear me properly

    Hello All....
    I just got an unlocked BB 8110 from the US (T-Mobile) as a gift and have BB services from my service provider Vodafone (India). However I seem to have run into a problem which I believe is an issue with most 8110.
    The caller cannot hear me properly and Vice-Versa. I have to speak out load for the other person to hear me and that too feebly. Is there a fix around that can be done on the phone itself. I make sure that my fingers are not blocking the microphone. Help me please as this is becoming very frustrating for me and the caller.
    Regards
    Rajat

    Try this - when device is ON, remove the battery, wait a minute and turn the battery back to the device.
    If this does not help - try the step #2
    Make selective backup as it is explained here:
    http://supportforums.blackberry.com/rim/board/message?board.id=8100&view=by_date_ascending&message.i...
    After that do the wipe of the device memory. On the device go to Options - Security Options - General Settings
    Open menu and select "Wipe handheld"
    Check the device and restore data from backup.
    If it also does not help - then most probably there is a defect in your device.
    Take it to a repair shop for diagnostics.

  • I Just bought a used 6th gen nano. But when I plug it into my usb it says " an ipod had be detected but cannot be identified properly". I registered it also. What am I doing wrong?

    I Just bought a used 6th gen nano and when I plug it into the usb it says on my itunes page "an ipod has been detected but cannot be identified properly". I have already registered it. What am I doing wrong? Is it a faulty one?

    The following document might be worth a try with that:
    iPod nano: Error message saying that iPod 'could not be identified properly'

  • Tablespace getting full quite often [cannot extend tbs], need a script to add data files on reaching the threshold!!

    Good morning Techies,
    I have a OBIEE environment where developers work on continuous data loads and the tablespaces are filled up quite often throwing cannot extend.
    I have a request from the customer to generate some script or automatic adding up of datafiles.
    Can someone here help with the ways of automizing or easing this situation through some script where it ask the users for the path and DB file size etc and creates a datafile with the inputs.
    Or advise any other ways to handle the situation.
    Regards,
    RanG

    Oracle does not but you can write your own job to execute when you reach certain threshold. You can also do this in a GRID so whenever the metric threshold reached, it executes your procedure. Make sure you check your file system space before adding a datafile.
    With BIGFILE tablespace, you might need to change your backup policies.
    Check these link as well:
    tablespace - Can oracle tablesspaces automatically add smallfile datafiles? - Stack Overflow
    Can Oracle Create New Datafile Automatically?

  • Cannot extend my network using AirPort Express

    I just purchased a Time Capsule (2TB) and replaced my Airport Express WiFi.  My intention was to expand my network, using the AirPort Express to expand the Time Capsule signal.  I have tried several times and cannot get it to work.
    Using AirPort Utility, I set up the Time Capsule successfully, making certain the "Allow the network to be expanded" box was checked off.
    After resetting my AE, I plugged it in, it was detected by AirPort Utility, and I set the AE to expand the network, using the same network name, security, and password.  When I save the settings and update, the AirPort Uitility returns an error stating that the AE unit could not be located.  AE unit is flashing amber (slowly).
    What DID work was connecting the AE to the Time Capsule with an ethernet cable, but this is not ideal, since I want to locate the AE away from the TC and wish to do it wirelessly.
    Can someone offer some helpful suggestions that will work?
    (Running MacBook Pro w/ OS X 10.7.2 and AirPort Utility 5.5.3.)

    I would suggest the following:
    Please move the AirPort Express (AX) to the same room as the Time Capsule and perform a Factory Default Reset as follows:
    Pull the AX from power
    Wait a few minutes
    Hold in the reset button and continue to hold it in for an additional 8-10 seconds while you simultaneously plug the AX back in to power
    Release the reset button after the hold period, and allow 40-45 seconds for the AX to display a slow, blinking amber light
    Temporarily, connect a spare Ethernet cable from one of the LAN <-> ports on the Time Capsule to your AX
    Open AirPort Utility and click Manual Setup
    Click the Base Station tab below the row of icons to name your AX, assign a device password and adjust Time Zone settings
    Click the Wireless tab next to the Base Station tab and adjust your settings as follows:
    Wireless Mode = Extend a wireless network
    Wireless Nework Name = Same name as your Time Capsule wireless network
    Enter a check mark next to Allow wirelss clients
    Wireless Security = Same setting as your Time Capsule wireless network. You may need to refer to the Time Capsule settings if you are not sure what setting to use
    Wireless Password = Same password as the Time Capsule wireless network
    Confirm Password
    Click Update to save your settings
    Close AirPort Utility and disconnect the Ethernet cable as soon as you see the message that the settings have been stored successfully on the AX
    Wait 40-45 seconds for the AX to restart and display a green light
    You can now locate the AX where it is needed, assuming that it can receive a good wireless signal at its new location
    Post back on your results

  • Cannot diplay chinese properly.

    My application need to display chinese , eng and korea etc.
    The situation is it cannot display chinese character properly.
    I have a set of properties file(s) - message.properties, message_zh_TW.properties....etc
    So, I just want to make sure how can I created the properties file(s)?
    If I run it on windows 2000, do I need to change the locale setting/default language in order to generate the message_zh_TW.properties?
    Does the properties files are in UTF-8 format?

    I have worked with Chinese Java Swing GUI and JSP web based application. For GUI, I have used unicode resourcekey properties file. But, For JSP web appilcation, I am using actuall chinese characters in resourcekey file.
    If you are going to use actual chinese characters, You have to install language support (locales) to your windows 2000 o/s. That will make easy to type chinese charcters in normal notepad.

Maybe you are looking for

  • How to Configure Remote Connections To SQL Server 2008 R2 Express

    Post written June 10, 2010 and pertains to: SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV, SQLX_LOC SQL Server 2008 R2 Management Studio on both my server and local machines: MS_SRV, MS_LOC Windows Server 2008 R2 Enterpris

  • Exception in java mail API when parsing email

    I am receiving the following exception when receiving some emails that contain attachments with java mail (irrelevant part of stack trace omitted): javax.mail.internet.ParseException: Expected ';', got ","      at javax.mail.internet.ParameterList.<i

  • Setting up personal domains

    How do I add a personal domain name that I bought from GoDaddy to my mobileme account to use with iWeb?

  • Complicated Itunes voucher query

    Hi, I have an itunes voucher that i want to redeem, but both me and my wife want to use it for different things. She wants to put some music on her ipod with it and I want to put a game on from the app store. Can the voucher be used on two different

  • Ichat and other apps doesnt launch in jaguar 10.2.8

    hi, I'll just keep it plain and simple ichat doesnt launch, address book doesnt launch, sherlock doesnt launch and ical doesnt lanch. i'm going crazy over here!!!!! heeeeeeeeeeeeeeeeeeellllp!!!!