ORDImage, trouble set images properties
Hello.
I'm having trouble setproperties. I have the following procedure
DECLARE
Image ORDSYS.ORDImage;
BEGIN
SELECT image INTO Image FROM photos WHERE id = 1 for update;
Image.setProperties();
DBMS_OUTPUT.PUT_LINE('image width =' || image.getWidth());
DBMS_OUTPUT.PUT_LINE('image height =' || image.getHeight());
DBMS_OUTPUT.PUT_LINE('image size = ' || image.getContentLength());
DBMS_OUTPUT.PUT_LINE('image file type =' || image.getFileFormat());
DBMS_OUTPUT.PUT_LINE('image type = '|| image.getContentFormat());
DBMS_OUTPUT.PUT_LINE('image compression =' || image.getCompressionFormat());
DBMS_OUTPUT.PUT_LINE('image mime type =' || image.getMimeType());
END;
When I try to execute the procedure, I get the following error report.
ERROR on linj 1:
ORA-29400: data plug error IMG-00002:
ORA-06512: 在"ORDSYS.ORDIMG_PKG", line 590
ORA-06512: 在"ORDSYS.ORDIMAGE", line 65
ORA-06512: 在line 5
I'm new to Oracle ordsys, so I'd very much appreciate all your help :)
I think there is a case where having the variable name the same as the column name might causes a bug... Why don't you try "img" for the variable name?
Also, Can you show the code where the image column is populated?
What is the output of :
DBMS_OUTPUT.PUT_LINE("image source = " || image.getSource() ||
" Image location = " || image.getSourceLocation() ||
" Image type = " || image.getSourceType() ""
" image name = " || image.getSourceName() ||
" image size = " || image.getontentLength() );
Thanks,
Larry
Similar Messages
-
How to set image properties ?
Dear All,
I need your help to set image properties like (Title , Subject , Comments .... )
thanksNVidia writes the DDS file format plugin, you need to talk to them about it.
-
Format plug-in: Setting file properties/metadata
Hello,
I am currently writing a plug-in to import a proprietary image format into Photoshop. The people who will use this plug-in believe it would be useful to have some file information displayed in the File Info dialog.
The problem I'm running into is finding the functions necessary to set these properties in the File Info dialog, as currently they are all entirely blank.
As a simple example, if I wanted to have the Document Title, Author, Description and Keywords read "Hello, world!" after I've read in an image, what functions would my plug-in have to call to set each of these text fields?
Is there a struct that my plug-in needs to modify, or a group of get/set functions to change these properties?
Any information would be extremely helpful, as documentation on the subject is very difficult to find in the SDK.
Thanks a lot!
JackThanks for your help, Toby.
I've got an idea of how to configure the properties at this point. Simple properties work now, but I am still running into a bit of trouble setting complex options such as the Caption tag. I create a handle, populate it with the null-terminated string for the caption, and then I use setPropertyProc to link that handle to propCaption. The code would go something like this:
>Handle h = sPSHandle->New( captionLength );
>if( h )
>{
> Boolean locked;
> Ptr p;
>
> sPSHandle->SetLock( h, true, &p, &locked );
> // In here, use memcpy to copy a typical C string into p
> sPSHandle->SetLock( h, false, &p, &locked );
>
>sPSProperty->setPropertyProc(kPhotoshopSignature,propCaption,0,0,h);
>}
Basically when I run my plugin and open a file, the Description field is still blank, as it was before I tried to populate the fields.
Is there something wrong with my approach? Incidentally, I also encounter the same problem when I use the same property and handle suite methods that you do (FormatRecord->PropertyProcs and FormatRecord->HandleProcs instead of sPSProperty and sPSHandle respectively). From looking at other available code online, I'm assuming that there isn't a difference in behaviour. Please correct me if I'm wrong! :) -
How to set CORS properties for BLOB Storage using node?
Hi - I just got started with Azure using a Node-based web site and mobile services.
I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
What is the recommended way for setting CORS properties for the BLOB Storage via Node?
Thanks for your help
StefanUnfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
on your storage account. More information about this tool can be found here:
http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
Hope this helps. -
Im totally confused about image properties and the effect on images when downloaded into iPhoto of different releases:
I have Canon digital camera. I always shoot at max image and file size...not Raw.
I had my MacBook on a vacation in Europe and pulled images into iPhoto (V6)every day to preserve in case of loss. I then made a daily CD for double keeping.
When I returned home I wanted the images on my iMac so I loaded into iPhoto (V5) from the backup CD made from the MacBook iPhoto (V6).
I noticed differences in image properties (file size and resolution) when opened in Photoshop so I did the following experiment:
I uploaded from the camera the last set of images directly into the iMac (iPhoto V5). I then compared image properties between the same image, from the CD via the MacBook and from the camera directly...and the iMac direct loaded images were larger, 3.2 MB v. 2.3 MB. I also checked the direct loaded images on the MacBook (iPhoto V6) and it is also 2.3 MB. I concluded the CD had nothing to do with the image quality/size.
It appears that iPhoto V6 for some reason loades the image as a smaller and thus lower quality image than the iPhoto V5 on the iMac.
Can anyone explain where the differences are coming from...???
iMAC and MacBook Mac OS X (10.4.8) PhotoShop and iPhoto
iMAC Mac OS X (10.4.8) PhotoShopWelcome to Apple Discussions,
What model of Kodak is it?
There is a discussion thread on this topic: http://discussions.apple.com/thread.jspa?messageID=11942367�
Try using a media card reader (sometimes built into printers) to see if that allows the import. Others seem to report having luck by importing the movies off the card using a different computer, deleting them, and then importing the pictures.
Hope that helps. -
I'm creating a site with numerous slideshows (sometimes with 50 pictures or more) and it's looking like the only way to enter the image properties is to click on each thumbnail image to bring it up at the top and then right click on it and go to image properties.
Please someone tell me there's a better, more efficient way to do this!
Thanksmykellysue, I think you may have misunderstood the original post and Sachin's reply. The original post was about setting the properties of an image (referring to alternate text and/or tooltip text). Those properties are normally set by right clicking on an image, selecting "Edit Image Properties" and entering the values. In this case the customer had many images. In that case you can select multiple images in the Assets panel and set their properties all at once.
As far as how to use a Composition widget, a composition widget is made up of a set of related containers. A trigger container (which you click on or mouse over) and a target container (which appears in response to interaction with the trigger.
For the most part you can put anything you want in the trigger container or the target container and you can add or remove pairs of containers to/from most Composition widgets.
Some of the Composition widgets in the Widget Library panel contain sample content. Ultimately these are just samples. You can select and delete the sample content and drag in whatever is needed for your design.
There are tutorials and videos available at muse.adobe.com. -
I need to get the x/y coords of images in my file. I don't
know why the Image Properties box does not appear, it only appears
to images in a library, which have different x/y's. Any
ideas?You'll need DisplayLeft and DisplayTop but these values won't
be valid until
the file is running. You could use a menu to activate a test.
Add in an
interaction at the top of the file. Then connect a dropdown
menu. Change the
scope to perpetual, change the branch path to return. Add an
interaction
inside the dropdown, attach a button and a fullscreen
hotspot. Name the
button exit and change the branchpath to exit. Put a calc
icon inside the
hotspot and put this in it
Trace(DisplayLeft@(ObjectClickedID))
Trace(DisplayTop@(ObjectClickedID))
Run the file. You can use the menu to start the hotspot and
click the item
on screen to get the X and Y. Use the exit button to close
the hotspot. (you
could just make the hotspot perpeual but that would interfere
with other
things in your file)
You can't automate this because DisplayLeft and DisplayTop
aren't valid
until the screen runs. You can use GetIconProperty with
#awInitialX and
#awInitialY but that won't work if the positioning is not set
to onScreen...
which you can't set inside the same file. You need a command
to make
settings like that.
Mike
====================
Mike Baker
Adobe Community Expert
mike-baker at cox dot net
"dparrott" <[email protected]> wrote in
message
news:g434m8$7h2$[email protected]..
> Image properties is not an option when I open the icon.
They are imported
bmp
> files.
>
> Yes, the images are linked to a library.
>
> I know I can set the graphics to OnScreen and see the
coordinates, but
those
> are the center coordinates. Can I set all of the
graphics to OnScreen
> temporarily and extract the coords and calculate the top
left corner
values?
> Hopefully in a calc icon?
> -
Dreamweaver Help | Set page properties
This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/set-page-properties.html
Use CSS and the background-position property in your style sheet.
http://www.w3schools.com/css/css_background.asp
Example:
body {
background-image: url(your-BG.jpg);
background-repeat: no-repeat;
background-position: bottom;
Nancy O. -
Hello everyone, I'm having some trouble with image sizes.
I created a 977x5000 px image at 72 PX/inch resolution with text for use on a weebly website.
When created the image looks like a small vertical bar(maybe around 50x500px) with a massive left and right photoshop background(not the image background). so if I drag the bottom slider to the left or right the image will completely disappear. I can CTR and + to get it to the correct size so I can actually read the text. I can still go very far left and right with bottom slider. The problem comes in when I save it to a PNG or other file it still shows up as a bar.
Is there any way to fix this so it saves it as the correct viewing size? that way when I open the image it's an actual 977x5000 instead of looking like a 50x500
I'm on Windows 7, my display settings are at 100% and I'm using Photoshop CC 2014You do not understand what is going on at all. First an image file's PX/inch resolution setting is meaningless when it come to the Web and displays all that is meaningful is pixels. For displays are run at one resolution usually their native manufactured Pixel resolution so your image will be displayed at 96DPI on Desktop Displays and a 300+DPI on Phones and around 250DPI on tablets. Your image height is also to large to fit on any display. The Display I think that displays the most pixels is the IBM T221 22.2" LCD 16:10 aspect ratio 3840px by 2400px. at 204DPI. Rotating that display to portrait it can display an image with a height of 3840px your image height is larger 5000. Your image has an aspect ratio in the neighborhood of 1:5 an image 50x500 has an aspect ratio of 1:10 a far cry from 1:5 your image is much wider then 1:10.
IBM T220/T221 LCD monitors - Wikipedia, the free encyclopedia
Most common display resolutions in the first half of 2014
Acronym
Aspect ratio
Width (px)
Height (px)
% of Steam users
% of web users
SVGA
4:3
800
600
00.08
00.64
WSVGA
~17:10
1024
600
00.17
01.59
XGA
4:3
1024
768
02.85
09.84
XGA+
4:3
1152
864
00.34
00.85
WXGA
16:9
1280
720
00.93
01.65
WXGA
5:3
1280
768
00.52
01.09
WXGA
16:10
1280
800
02.44
08.90
SXGA– (UVGA)
4:3
1280
960
00.35
00.48
SXGA
5:4
1280
1024
07.05
05.74
HD
~16:9
1360
768
03.00
02.43
HD
~16:9
1366
768
24.53
26.64
SXGA+
4:3
1400
1050
00.10
n/a
WXGA+
16:10
1440
900
05.74
05.95
HD+
16:9
1600
900
07.76
04.99
UXGA
4:3
1600
1200
00.30
n/a
WSXGA+
16:10
1680
1050
06.27
02.96
FHD
16:9
1920
1080
32.91
08.64
WUXGA
16:10
1920
1200
02.11
00.95
QWXGA
16:9
2048
1152
00.08
n/a
WQHD
16:9
2560
1440
00.93
00.58
WQXGA
16:10
2560
1600
00.13
n/a
3:4
768
1024
n/a
05.31
16:9
1093
614
n/a
00.64
16:9
1536
864
n/a
00.70
Other
01.41
09.42 -
Trouble Exporting Images from Lightroom 3
I am having trouble exporting images from Lightroom 3 with my User Presets. Error Message: The file could not be written. (1). It has always worked in the past but I just bought a new Mac and had everything transfered to it. Everything else seems to be workin fine. Any solutions?
Sometimes on new computers, the permissions in certain folders are not set up to allow you (the only user) to write files. It's worth a check.
-
Setting image over the checkbox of JCheckBox
hi everybody,
I m new new to the forum so dont know about any rule but I am in trouble to setting image over the check box in JCheckBox(not side of the checkbox). I just want to cover the checkbox by some icon. I just wanna know is it possible? if ya how? it will be great help to me.
thanks in advance for any kinda suggesion.Hi sudip;
use JCheckBox(String text, Icon icon); to display icon instated of checkbox. and to differ checked & unchecked box use setSelectedIcon(Icon) on checkbox object to display some other icon whenever box is selected. -
Creating buttons on the fly and setting button properties
If I have a view and want to add buttons to it "on the fly" from values in an array, is that something straightforward to do?
I have an array of UIImageVIew objects and would like to create buttons from them (showing the image on the buttons) and associate those buttons with a method in my implementation file. That would be a lot more general and flexible than creating the buttons in the Interface Builder I would imagine.
And one more question - can I freely set button properties while doing that? Or in Objective-C can I only set properties that are already pre-defined for that class?
Thanks!
dougThanks for your reply.
That.... works! Thanks!
And I can generate the button and click on it and it calls my other method and that works too. Cool!
The syntax is still very mysterious to me, but I suppose eventually I'll understand what it all means.
Breaking it down to see what it means:
[button1 addTarget:self action:@selector(selectedHandler1:) forControlEvents:UIControlEventTouchUpInside];
* button1 is the object I created (I'm going to try to do this in a loop next.)
* addTarget is a message I am sending to button1 and the content of the message is "self", which refers to - this button? I'm not sure why such a message would be necessary.
* action is another message sent to button1 and the contents of that message are a little harder to parse. I see the result, and can mimic the syntax now that I've seen it, but I don't really understand what the @ is for, or the : after the method name or why this wouldn't just be "action: selectedHandler". I'm sure the language designers have a logical reason for all that, but I don't quite "grok" those extra symbols yet.
* forControlEvents is another message sent to button1 and the event message itself is clear in its meaning.
Anyway, that is working and I can refer more to the UIButton class reference now and try to set more stuff, like position it better, etc.
Thanks very much!
doug -
URL to set session properties?
Is there a URL to SET session properties? I know I can get a list of them by calling "/XMII/PropertyAccessServlet?mode=list&Content-Type=text/xml", but is there a way to set them in a similar manner?
Hi all, If you want me to start a new thread let me know...
I'm having funky, although repeatable, results using the URL to set a session parameter via AJAX call,
which always gets a Successful message.
/XMII/PropertyAccessServlet?mode=Store&PropName=plantId&PropValue=60
I am verifying the session parameter 2 ways:
1. Refresh the page and view source (I took the lt and gt out)
...............span id="savedPlantId" style="visibility:hidden;"
2. AJAX call to /XMII/PropertyAccessServlet?mode=List
Quirk #1: I see the value in the span. I do not see it in the servlet list.
Quirk #2: I can change the value a couple (2 or 3 times) then it doesn't change after that
Quirk #3: When it stops changing via the AJAX call, I can still change it with a browser URL
http://<server>:50000/XMII/PropertyAccessServlet?mode=Store&PropName=plantId&PropValue=199
Any hints or ideas?
Yes, I am trying to use a single pixel applet, but having trouble with that too! See a different post.
I really would prefer to use the URL as there is no visual indication to the user
and an applet (and JVM) doesn't have to load.
--Amy Smith
--Haworth
Oh, and P.S. Is there a mode=Delete to remove the session parameter? -
I’m having Image Properties problems with Swf's.
I’ve a screenful of pictures, a mixture of jpg’s &
swf’s (used as thumbnails) that I want to:-
1 Re-position
2 Re-size
With the page of Jpg’s/Swf’s displayed, if I
click pause on control panel then:-
With Jpg’s - there are no problems …
Double-click on Jpg gains caret and opens Toolbox.
2nd Double-click on jpg (or Ctrl+Shift+I or clicking 1st item
on Modify tab) opens Image Properties. Can alter X1, X2
co-ordinates and X Y size of jpg.
Swfs – I can’t find a way to amend Image
Properties
Single-click on a Swf gains caret.
Double-click on Swf opens Properties: Sprite Icon. Selecting
the Layout Tab & setting Positioning = “On screen”,
and it’s possible to amend the X Y co-ordinates of the Swf
(These co-ords are mid-points X1+X2/2 and Y1+Y2/2). I can’t
find any way to amend the Swf Image Properties controlling picture
size (other than dragging swf to an approximate size).
With Properties: Sprite Icon/Options, it’s possible to
scale the image but this doesn’t help … reducing % size
of Swf leaves overall size unaltered
Is it possible to open Swf Image Properties and accurately
“Size”a Swf or is dragging to approximate size the only
solution?"TomWhite" <[email protected]> wrote in
message
news:gb0qtf$3vj$[email protected]..
> I?m having Image Properties problems with Swf's. I?ve a
screenful of
> pictures,
> a mixture of jpg?s & swf?s (used as thumbnails) that
I want to:-
> 1 Re-position
> 2 Re-size
>
> With the page of Jpg?s/Swf?s displayed, if I click pause
on control panel
> then:-
> With Jpg?s - there are no problems ?
> Double-click on Jpg gains caret and opens Toolbox.
> 2nd Double-click on jpg (or Ctrl+Shift+I or clicking 1st
item on Modify
> tab) opens Image Properties. Can alter X1, X2
co-ordinates and X Y size of
> jpg.
>
> Swfs ? I can?t find a way to amend Image Properties
> Single-click on a Swf gains caret.
> Double-click on Swf opens Properties: Sprite Icon.
Selecting the Layout
> Tab &
> setting Positioning = ?On screen?, and it?s possible to
amend the X Y
> co-ordinates of the Swf (These co-ords are mid-points
X1+X2/2 and
> Y1+Y2/2). I
> can?t find any way to amend the Swf Image Properties
controlling picture
> size
> (other than dragging swf to an approximate size).
> With Properties: Sprite Icon/Options, it?s possible to
scale the image but
> this doesn?t help ? reducing % size of Swf leaves
overall size unaltered
>
> Is it possible to open Swf Image Properties and
accurately ?Size?a Swf or
> is
> dragging to approximate size the only solution?
SetPostSize.
HTH;
Amy -
is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin
Install this to get X11 functionality back in 10.8
http://xquartz.macosforge.org/landing/
Worked great for me and others.
Jerry
Maybe you are looking for
-
Resolution options for Pavilion IPS 23bw monitor
Will this monitor only operation in 1920 x 1080? Apparently my video card (Radeon 4350) does not support this resolution. I did install new card drivers, but still no option for this. Is there any way to use in another resolution, or do I need to upg
-
How to check either my iPhone is manufactured in Indian or not?
I purchased an iPhone4 32 GB from my friend and i want to know that either this iPhone is Indian or not. Can any one tell me that is there any way to check this through IMEI number, Serial Number, iTunes or iCloud.
-
How can I fix a jumping flash banner images?
I made this Flash banner few months ago for this website http://www.hmghotels.com/ When I play the banner on my computer everything is fine but when is on the web you can see the saccade (the image is jumping it is not smooth) How can I fix that Than
-
HT1338 Aperture will not open after update? What do I do?
Aperture will not open after I updated. What do I do?
-
Hi there. Im playing around with static nested classes: class OuterC { int x = 10; static class Nest { void doStuff() { System.out.println("Going"); //System.out.println("Should be allowed print: " +