Image compressed and stored in the database.
Hi,
We have a tiff file stored in the database and then compressed using the following Intermedia Oracle method.
process ('compressionFormat=FAX4,maxScale=1696 2200'); and save it back in the database.
This oracle database is 8.1.7.4. The tiff file gets processed when we use TIFF file generated by old scanner but errors out with the TIFF file generated by latest scanners.
The error I get is ORA 29400 , IMG-00704.
There is a difference in TIFF version in the outputs generated by two scanners,
The compression option : TIFF modified G3 in the old one
while the new one has Lempel-Ziv
Also, the tiff is loaded and saved fine but the image gets corrupted after the intermedia process method is run.
Thank you for your reply. I am glad to find that I did not miss an option. I was aware that I could move my pictures into some other folder, but you have forgotten the solution that I chose. That was to go back and use ZoomBrowser, which works to access photos in any folder I choose. In addition it loads promptly. I have only spent a brief time using the ImageBrowser but don't recall seeing any enhancements that over ZoomBrwoser. Perhaps if I was attempting to interface with other software but as a stand-alone product, well perhaps you could enlighten me as to what makes ImageBrowser EX a better product.. Regarding the Accept as Solution: are you implying that Canon restricts their search function to only those responses that the OP marks as accepted?
Similar Messages
-
Evaluation of html stored in the database
Hello everyone, here is my story.
I have html stored in the database that I am using in regions. The region is a pl/sql anonymous block with code similar to this.
DECLARE
testt varchar(30000);
BEGIN
SELECT Main_Page_Image_Zone INTO testt FROM htmltable where Main_Page_Image_Zone IS NOT NULL;
htp.p(testt);
END;
It draws in and displays the html great. The only problem is apex isn't evaluating the html. I have an image that is drawing from #workspace_images#, but instead of translating this to something useful, I get a red x. It is trying to find the image as #workspace_images#...The html being drawn in isn't being evaluated like I want it to (I want it to translate #workspace_Images#). Any ideas how to evaluate this html?
Here is what the image location is supposed to look like
http://127.0.0.1:8080/apex/wwv_flow_file_mgr.get_file?p_security_group_id=6933527329162765&p_fname=fmw.gif
Instead this shows up:
http://127.0.0.1:8080/apex/f?p=104:12:617607226208594:::::#WORKSPACE_IMAGES#fmw.gif
This is stored in the database (ignore the .)
<.img src="#WORKSPACE_IMAGES#fmw.gif" width="697" height="439" border="0" usemap="#Map" />However
Replacing occurences of '#WORKSPACE_IMAGES' with 'WORKSPACE_IMAGES' in the database
and then applying the replace function on the column works.
select replace(f1,'WORKSPACEIMAGES','&WORKSPACE_IMAGES.') into str from temp_tab;
Again, don't know why ! -
When I select from the LOV, it is not storing in the database
Have a field (Manager) where the user selects their manager from the select list(generated from the query below)
select FIRST_NAME || LAST_NAME d, MANAGER_ID r
from PERSONNEL
where TITLE = 'MGR'
order by 1
After the manager is selected and Apply changes is clicked, nothing is stored to the database.
Have the Manager field specifications set as:
Source Used: Only when current value is session state is null
Source Type: Database column
Maintain Session State: Per Session
Source Value or Expression: MANAGER_IDWell, how have you created this form... manually or using wizard. If you have used wizard, then it would have asked you to select the table and it would have created process to update the same.
If you have created this form manually then you need to add a processs to update this to database...
Regards,
Shijesh -
I am using an Macbook pro in conjunction with a Time Capsule. I back up all my aperture librarys on it, but how can i view these images that are stored on the capsule please ??
If you want to see what is in a file that is backed up by time machine then you have to restore the entire file. Having said that I have had good experience with Time Machine and individual files... if the file is there then all of it's components are almost for sure there. A way to get around this in Aperture would be to use referenced images. The images then still exist as individual files and can be backed up and restored individually. You would have to do so on a file by file basis though and your album information would still only be saved within the Aperture library.
-
How to get values/data stored in the database into a list-item.
how to get values/data stored in the database into a list-item.
i tried to make a list item without any values assigned to it...but i got the below error.
FRM-30191: No list items defined for required poplist.
or
FRM-32082: Invalid value for given item type.
List EMPNO
Item: EMPNO
Block: EMP
Form: MODULE5
FRM-30085: Unable to adjust form for output.
then according to some docs, i tried the the following for the trigger
when-new-form-instance
declare
rg_name varchar2(40) := 'emp_rec';
status number;
groupid recordgroup;
it_id item;
begin
it_id := Find_Item('empno');
groupid := create_group_from_query(rg_name, 'select empno from emp');
status := populate_group(groupid);
populate_list(it_id, groupid);
end;
but yet didnt work... :(
so how the heck do i get values fetched from the database table into the list item?for list items you need to values in the record group, one is the shown value and one is the returned value.
Check out the online help for the populate_list built-in.
You'll need something like select ename,ename from emp as the record group query. -
Download of files stored in the database
I am using FireFox and my users IE. Download of files stored in the database worked for me but not for my users. I recieve a choice of downloading the file or opening it with a full file name and file type. IE users have some strange behaviour - no name of the file and they can only save it to their local drive - some kind of weird microsoft security option. I was searching for it but couldn't find. Anyone here who would know where to search for it?
Denes KubicekHello Jens,
I am using the standard procedure from the manual:
CREATE OR REPLACE PROCEDURE download_my_file_pr (p_file IN NUMBER)
AS
v_mime VARCHAR2 (255);
v_length NUMBER;
v_file_name VARCHAR2 (2000);
lob_loc BLOB;
BEGIN
SELECT mime_type, blob_content, NAME, DBMS_LOB.getlength (blob_content)
INTO v_mime, lob_loc, v_file_name, v_length
FROM my_file_table
WHERE ID = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
-- set the size so the browser knows how much to download
HTP.p ('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
HTP.p ('Content-Disposition: attachment; filename="' || v_file_name || '"');
-- close the headers
OWA_UTIL.http_header_close;
-- download the BLOB
wpg_docload.download_file (lob_loc);
END download_my_file_pr;
Denes Kubicek -
Where is the value of report repository stored in the database?
Hi all,
One of our developers is trying to write a code that would send the output report (pdf)of a process through mail, typical work flow stuff.But the problem is that we are not supposed to hard code the value of report repositiry from where the report has to be picked.can anybody suggest a table in the database from where the value of report repository can be queried.
we tried using
select reportrepositorypt from pswebprofile.
but this doesnt return the correct path. we went to PIA->peopletools->webprofile ->webprofie configuration
here we updated the value in report repository field and saved it and queried again.
But this didnt solve our problem.
Its showing the previous value which is different from the actual report repository path.
all the servers are in solaris box.
please suggets.
Thanks!Right now, I am trying to send a PDF (XML Publisher report) as an email to our vendors (it is their ACH Advice).
What I have done so far is: Created an App Engine, one step to populate a state record with run control information and the second step that runs XML Publisher and creates PDF report(s) which are published to the Report Repository and saved to a file on our network. Now I think I just need to create a third step to recall the PDF(s) and send the PDF(s) out as emails to our vendors.
I have found that the PDF information from Report Repository is stored in the Database in the CDM_LIST_VW record (this is a view and the main underlying table is CDM_LIST, but this contains what I need for now, so I'm going to try using it first). The Report ID is stored in the CONTENTID field and the Report Description (description shown on the Report Repository -- which in our case contains the email address) is stored in the CONTENT_DESCR field. So I am going to try over the next week to write the logic to query the CDM_LIST_VW for the data needed for the email address and the ReportID to go and grab the file....The hardest part is finding the actual file but I am hoping that I can also find a URL on that table. I'd pull the file from the network, but XML Publisher writes them out into numbered folders where all the PDFs are named the XML Report Defn - thus same name). I have not tried any of this yet, but am hoping I'm on the right path.
I hope this helped answer your question.
Good Luck!
Jennifer -
What else are stored in the database buffer cache?
What else are stored in the database buffer cache except the data blocks read from datafiles?
That is a good idea.
SQL> desc v$BH;
Name Null? Type
FILE# NUMBER
BLOCK# NUMBER
CLASS# NUMBER
STATUS VARCHAR2(10)
XNC NUMBER
FORCED_READS NUMBER
FORCED_WRITES NUMBER
LOCK_ELEMENT_ADDR RAW(4)
LOCK_ELEMENT_NAME NUMBER
LOCK_ELEMENT_CLASS NUMBER
DIRTY VARCHAR2(1)
TEMP VARCHAR2(1)
PING VARCHAR2(1)
STALE VARCHAR2(1)
DIRECT VARCHAR2(1)
NEW CHAR(1)
OBJD NUMBER
TS# NUMBERTEMP VARCHAR2(1) Y - temporary block
PING VARCHAR2(1) Y - block pinged
STALE VARCHAR2(1) Y - block is stale
DIRECT VARCHAR2(1) Y - direct block
My question is what are temporary block and direct block?
Is it true that some blocks in temp tablespace are stored in the data buffer? -
Can Discoverer have link to display documents stored outside the database?
I posted a message some time ago called "Possible for Discoverer to display BLOB type documents stored in database?" and got great answer.
Now our customers are asking if it is possible, from Discoverer, to link somehow to a file stored outside the database on the Unix file system and get their computer to display it? Can anyone tell me if this is possible please?
The only thing I've seen in the documentation that may be related is in Oracle Business Intelligence Discoverer Configuration Guide, section 10.6 List of Discoverer user preferences. It says there that Discoverer preference ProtocolList can be set so that Discoverer hyperlinks can be set to use protocols such as telnet, but the default is HTTP, HTTPS, and FTP.
THank you in advance if you can help.
Regards,
Julie.Hi Rod,
I have tried the second method: "create a Oracle directory pointing to the Unix directory containing the files". I have had success with it, but I'd be grateful if you could advise me if you would have done this the same way as described below:
I put two Word docs and two text docs called clob_test1.txt, clob_test2.txt, blob_test1.doc, blob_test2 in the Unix directory corresponding to an Oracle directory called 'EIF'. I thought an extrenal table was needed so that Discoverer would have an object to write a queruy against. So I created a file called lob_test_data.txt with the following contents:
1,01-JAN-2006,text/plain,clob_test1.txt
2,02-JAN-2006,text/plain,clob_test2.txt
3,01-JAN-2006,application/msword,blob_test1.doc
4,02-JAN-2006,application/msword,blob_test2.
THen I created an external table using the following DDL:
CREATE TABLE jum_temp_lob_tab (
file_id NUMBER(10),
date_content DATE,
mime_type VARCHAR2(100),
blob_content BLOB
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY EIF
ACCESS PARAMETERS
RECORDS DELIMITED BY NEWLINE
BADFILE EIF:'lob_tab_%a_%p.bad'
LOGFILE EIF:'lob_tab_%a_%p.log'
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
file_id CHAR(10),
date_content CHAR(11) DATE_FORMAT DATE MASK "DD-MON-YYYY",
mime_type CHAR(100),
blob_filename CHAR(100)
COLUMN TRANSFORMS (blob_content FROM LOBFILE (blob_filename) FROM (EIF) BLOB)
LOCATION ('lob_test_data.txt')
PARALLEL 2
REJECT LIMIT UNLIMITED
then created a Discoverer End User Layer folder against this external table, and used exactly the same technique as we did for downloading the BLOB from the database table (creating a new folder item containing a URL calling a database procedure which calls the Oracle code to download the doc). THis worked, but sometimes my PC didn't seem to know that the Word docs were Word docs and it needed to launch Word. Other times it did manage to do this OK. It always displayed the two .txt files as HTML docs.
Just wondered if you'd be good enough to critique this approach.
THank you, Julie. -
Best ways to view/display PDF/Excel files stored in the Database
What are best ways to display/view PDF/Excel files stored in the Database? thanks L
Thanks tom, sorry let me explain. Currently we have oracle forms screen, using webutil to store/view files into DB. client won't like the interface, they want us to make it more friendly, drag and drop if possible, load multiple files, as possible.. So I am exploring different ways to improve may be java (or jdev/any any other), different screen designs, different features for fileupload/download/view options.
-
Where is the enjoylogo.gif stored in the database
Can anyone tell me where these type of files are stored in the database? Are they in a table?
If you have 2 lists, List A contains custom names, List B has a lookup field that points to List A. I go into list B and select a client name ("Contoso"), enter some info, and save it. On the back end, the list item will contain a value of something like:
34#;Contoso
In this scenario the 34 is the SPListItem.ID value of that item in List A. They start at 1 in each list and increment by 1.
Also, running queries against the database directly is not supported and can take your database out of Microsoft's supportability.
Dimitri Ayrapetov (MCSE: SharePoint) -
Using XSLT stored in the database
Hi all,
I have an XML file stored in the database as a CLOB. I also have a XSLT stored in the database as a CLOB. I want to apply the XSLT to the XML but the xslprocessor.newStylesheet requires that I provide a url for the stylesheet. Is there any other way of acheiving this transformation?
Thanks
GoelUse the XMLTYPE object.
Fetch your XML and XSL into clobs and create an XMLType object of your XML using the constructor:
declare
xml_obj xmltype;
xml_clob clob;
xsl_clob clob;
begin
-- fetch the xml, xsl into your clobs
xml_obj := xmltype.createxml(xml_clob);
htp.p(xml_obj.transform(xmltype(xsl_clob)));
end;
XMLTYPE object (new in 9iR2) has a very handy API for manipulating XML. -
Running reports stored in the database
Hi guys,
Is it possible to have Reports 6i produce reports that are
stored in the database? Looking at the documentation, it would
appear the report definition files (RDF) must be stored in the
filesystem. I don't really want to be handing out filesystem
access (managing and it) to people - is there a way around this?
Thanks,
denty.user5780461 wrote:
Hi,
Would anyone have any recommendations regrading running reports based on the data stored in an oracle database. We will soon go live with a project using an oracle DB. We do not wish to run reports directly from the production DB as it will impact performance. Have you actually measured the impact? If not, you are just making assumptions that -- lacking any other informatin -- appear to be invalid.
Is there any recommended method/architecture for reporting suggested by oracle for this type of scenario?
You make it sound like some unusual scenario. What you've described so far (running reports against an OLTP database) is just bread and butter operations for Oracle.
One idea is too runs some scripts that will write the data to another database and from there we will runs out reporting queries. Are there any other potential solutions?
And how does reading the data to insert into some other database cause less contention than reading data for a report?
>
Many thanks,
Ro -
How is the data of Oracle BPM stored in the database
Hi,
I am new to Oracle BPM and I want to know where are the activity of my published processes stored in the database, if you have some articles or tips I will thank you a lot, I was looking for something in the internet but without sucess.
ThanksHave a look at the WF tables under the SOA Infra schema.
-
Upgrade of Forms4.5 stored in the database
Hi,
We are upgrading from Forms4.5 to Forms6i. We have a menu and a form stored in the database 7.3.4 and there are rows in FRM45_OBJECT. After converting and upgrading these database menu and form I see rows in the FMR50__BUFFER but I do not see any rows in the FRM50__OBJECT. I do not understand whats happening. How can I get rows into the above table? Suggestions greatly appreciatedHave a look at the WF tables under the SOA Infra schema.
Maybe you are looking for
-
Power Spectrum no longer working correctly after upgrading to 8.0.1
Recently, I installed Labview 8.0.1 to correct a problem I was experiencing in 8.0. The installation resolved my problem, but now the Power Spectrum no longer gives the correct result. My program has not changed other than the update. I checked my
-
I have updated both my desktop (Win7) and my laptop (WinXP) to Firefox 9.0.1 (from 8.0) and both are suffering from this issue. about 99% of my left mouse clicks seem to get ignored, but middle and right are both perfectly find. Left button operates
-
Any one can HELP me!!! product code 0535064 its N80 or N80IE.... Just update NEW firmware version v4.0632.0.38 13-10-2006 RM-92 Nokia N80(548.01) why i cant update v4.0707.0.7 can change product code???
-
Client Security Solution Message
Lately I am receving a message on start up that says, "There was a problem connecting to the TPM on this computer." It says that a firewall may be the problem or a "missing or disabled device driver" may be the problem. What does this mean?
-
BI 4.0 How to configure the server properties in CMC
The BI 4.0 administration guide only gives information about core service ( in the appendix ). Where to find the explanation of properties for other servers like dashboard design / federation servers. Thesehave some specific parameters and there is n