Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> How to create Ordsys.OrdImage objects?

How to create Ordsys.OrdImage objects?

From: Christian \ <Christian.Gulich_at_IN.Stud.TU-Ilmenau.de>
Date: Wed, 26 May 2004 11:14:33 +0200
Message-ID: <c91n3s$874$1@piggy.rz.tu-ilmenau.de>


Hallo,
i want to create an ordsys.ordimage object in a table function. The interesting part of my code looks something like this:

...

b_picture ORDSYS.ORDImage;
temp_picture ORDSYS.ORDImage;
i number := 0;
...

FETCH myCursor INTO b_bild;
EXIT WHEN myCursor%NOTFOUND;
...

temp_picture := ORDSYS.ORDImage.init();
b_picture.processCopy ('fixedScale = ' || pixel_x || ' ' || pixel_y, temp_picture);
...

The temp_picture object shell be given back of the table function. But if I call this function the last printed line throws this exception:

ORA-29400: Data Cartridge-Fehler
IMG-00710: In Zielbild kann nicht geschrieben werden
ORA-06512: in "ORDSYS.ORDIMG_PKG", Zeile 525
ORA-06512: in "ORDSYS.ORDIMAGE", Zeile 59
ORA-06512: in "TESTER.AUFLOESUNG_ANPASSEN", Zeile 31
ORA-06512: in "TESTER.BILD_IN_AUFLOESUNG", Zeile 14


Translation of this Error is:
ORA-29400: data cartridge error
IMG-00710: unable to write to destination image

I suppose temp_picture isn't initialized correctly. But how should this be done? Received on Wed May 26 2004 - 04:14:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US