How to generate the "validate image" using APEX API ?
I don't konw whether APEX has some API function using to generate image, and draw anything on it freely :-), such as LINE, TEXT or RECTANGLE ?
Apex has no built in tools for creating GIF or JPEG images no.
You may have some success looking for some java code that will do this for you, then you can load that java class into the database, write some PL/SQL wrappers around it then you will be able to call it from within your Apex application.
Similar Messages
-
How to generate list of images used in project
Is there a way I can generate a report or list of the images
used in a homesite project? I want to remove unused images from the
project directory.
ThanksOk, I am having trouble as well Genrating a group of images,
Can someone help. I am very new to this so thats probaly why
Iphone Unlock
3G sim
cards
Unlimited
Mobile Calling -
How can you stretch an image using JMF API
How is it possible to strech or zoom the video using JMF API? Streching may not distort the resolution, but, zooming might as I imagiine.
You can zoom with something like this:
public void zoomTo(float z) {
if (visualComp != null) {
insets = getInsets();
Dimension d = visualComp.getPreferredSize();
d.width = (int) (d.width * z);
d.height = (int) (d.height * z);
if (controlComp != null)
d.height += controlComp.getPreferredSize().height;
setSize(d.width + insets.left + insets.right,
d.height + insets.top + insets.bottom);
}I suposse visualComp is the visualComponent of a player and this zoomTo(..) method is in a Component so you can call to setSize(..) method.
Of course the float z is the scale of zoom.
... i hope! -
How to find the server path using servlet API.
Hi All,
I have an requirement like uploading certain files in my server path.
rightnow i am getting the path now using as
<%=application.getRealPath("/")%> and its giving me the "D:\bea\user_projects\domains\Testdomain\TestmanagedServer\stage\nextgen\nextgen.war".
but i want to get the D:\bea\weblogic81 or atleast D:\Bea
Is there anyway to get this through API or its the only way through string parse.
Thanks in advance.Hello,
I have:
DG URL Internal;https://OCS.ad.xxxxxx.xxxx.xxx/GroupExpansion/Int/service.asmx;--;
DG URL External;;--;
Quality Metrics URI;;--;
URL Internal From Server;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
URL External From Server;;--;
Voice mail URI;sip:[email protected];opaque=app:voicemail;--;
MRAS Server;;Not Configured;
GAL Status;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
Controlled Phones;TRUE;--;
PC to PC AV Encryption;AV Encryption Enforced;--;
Focus Factory;sip:[email protected];gruu;opaque=app:conf:focusfactory;--;
Telephony Mode;Telephony Mode Disabled;--;
Line;;--;
Line Configured From;Auto Line Configuration;--;
Location Profile;;--;
Local Log Folder;C:\Users\me\tracing;;
MAPI Information;MAPI Status OK;MAPI Status OK;
Inside User Status;TRUE;;
Auto Update Download Started;--;--;
Auto Update Download Completed;--;--;
Last Auto Update Request;--;--;
Pairing State;Communicator cannot connect to your desk phone because the USB cable is not plugged in. Make sure that you connect the cable.;Enabled;
I see my email on the sip line but no server... what do I miss?
Is it by the URL?
Thanks,
Dom -
How to get muliple teaser images using assetset:getmultiplevalues?
1. I have created a template called sample and Names it as sample.jsp
2. In the subTypes i selected a pageDefinition which i created alrady with the following page attributes
1.teaserImager 2.teaserText
Both attributes are Multiple
3. I then created a asset HomePage of asset type Page.
4. For that HomePage i applied a template sample which i created in Step 1.
5.I added 4 teaser images and teser texts in the contributor interface
6. In eclipse i am trying to modify sample.jsp to fetch the teaser images using assetset:getmultiplevalues. But no success?
Could anybody tell me how to fetch the teaser images using getmultplevalues?
Below is the code which is not working, just for ref.
<render:logdep cid='<%=ics.GetVar("tid")%>' c="Template" />
<assetset:setasset name="home" type="Page" id='<%=ics.GetVar("cid")%>' />
<assetset:getattributevalues name="home" attribute="teaserImages" listvarname="teasersImg" typename="PageAttribute" />
*<assetset:getmultiplevalues name="home" list="teasersImg" prefix="sample" />*
*<ics:listloop listname="sample:value">*
*<insite:calltemplate tname="Detail" c="AVIImage"*
cid='<%=ics.GetVar("imageId")%>' assettype="Page"
assetid='<%=ics.GetVar("cid")%>' field="teasersImg" index="1" />
*</ics:listloop>*
Above code gives me the exception saying
Exception in doEndTag() in tag com.openmarket.gator.jsp.assetset.Getmultiplevalues in page 'avisports/Page/InsiteLayout' in element 'Page/InsiteLayout' errno: -13102 errdetail: 0
com.openmarket.basic.interfaces.AssetException: Can't find attribute type: 1330543072207
thanks
Sri
Edited by: 987672 on Feb 12, 2013 12:15 PMHi Nick, I do see information on creating a slideshow with Quicktime at: http://www.apple.com/quicktime/tutorials/slideshow.html
however it appears Quicktime X removed that capability. There is no 'open image sequence' option from the File menu in Quicktime X.
If I do end up sticking with Final Cut - would you recommend any codec and/or dimension size that would result in the best quality or the most crisp image? I also need a few fade in's and out's on various parts - I don't believe I would have the control without Final Cut.
Would resizing the image files in Photoshop to 1920 pixels by 1280 before importing them into Final Cut result in crisper images? Thanks. -
How to generate new perner number using Abap Code in pa0002. what is the fu
how to generate new perner number using Abap Code in pa0002. what is the function Module used.
hi
define internal number ranges for ur implementation then when u run PA 40 do not input any employee number , system will generate the employee number automatically.
Regards
sameer -
How do I generate the pdf file using the name of a field. How can I help
how do I generate the pdf file using the name of a field. How can I help
Hi,
here's a sample.
LiveCycle Blog: Formulare in bestimmte Verzeichnisse speichern und nach Inhalt aus Formularfeld benennen //Save forms to… -
I was using photoshop CC as normal, when suddenly it started going haywire. It has corrupted all the open PSD files by distorting the images and colour. They are now completely unrecognisable and unusable. Does anyone know how to recover the original images as I was saving them as I went along but the files are now corrupt?
What version of Photoshop are you running?
I've seen a couple of instances over the last week or two where Photoshop has added masks, strange colours and also merged content from two separate PSD files that were open at the same time.
This has occurred on two different iMacs, (both 10.10.x) running Photoshop CC 2014.2.2 (20141204.r.310 x64).
see image below for example: -
Submitting an image file for indexing generates the tokens "IMAGE" and "1"
This is a problem because the user is able to submit any file through a web interface, and we want to determine when there is zero output from the indexing process so we can warn the user that the file they submitted has no indexable content.
I'd rather keep the detection algorithm simple: currently it checks to see whether any tokens were indexed for the record the user just edited, and IF there were NO tokens, the user is warned that the file they submitted contains no indexable words. But if ctxhx.exe generates the string "Image 1" when someone gives it (for example) a jpeg file, that's not going to work.
So my questions are these: How do I prevent ctxhx from generating any tokens when someone gives it an image file? And if that's not possible, how can I include logic in a batch file to detect an image file and prevent ctxhx from handling it? (Since the files are renamed without extensions when indexed, I can't determine file type from extensions). I know there's a command-line program called TestForPDF.exe, which I found at http://www.oracle.com/technology/products/text/htdocs/altfilters.htm; is there a similar program (perhaps TestForImage.exe), or instructions for creating such a program?I finally resorted to using the "format column" feature of the context index. The code in my front-end looks at the extension of the file submitted by the user, and sets the value of the format column to "IGNORE" before it tries to resync the index. It seems a bit kludgy, but it works.
-
How to print uspto patent images using Safari and Quicktime
3/18/06
Do you want to know how to print US patent images using Safari? Read on.
When you access the "images" link of a specific patent on the www.uspto.gov/ website using Safari, the page you are viewing is only one small upper left tile of a huge patent image that is not sized to the screen. You can scroll and try to read the page but it's almost impossible. Try to print it out and you only print what's on the screen. Bummer.
The fix:
Place the cursor on the opened image (it may appear blank), hold down the CONTROL key on you keyboard and click on the image. Two instructions come up. Click on the "Save Image to the Desktop" instruction and a DImg.tiff file will be created on your desktop. Click on the .tiff file and it should open in the Preview program, then simply print out the image. Voila!!!!
Click the yellow arrow in the left margin to access page 2 of the patent and repeat the previous instructions to create another .tiff file on your destop. Do every page and you'll have the patent available to print out one page at a time.
You can then rename the files and create a folder for that specific patent so you can access it later without signing onto uspto site.
It's odd that the ever compatible Apple does not provide seamless compatibility to view and print patent images on the US Patent and Trademark Office's website. Where would they be without protecting their own intellectal property? Let's hope the next version of Quicktime includes the appropriate ITU T.6 or CCITT Group 4 (G4) compression language.
Even the "throw it out the Windows" operating system is up to speed on this issue for America's hard working inventors.
Keep on inventing.
Tommy K
imac 400 DV Mac OS X (10.3.9) Cube 450
imac 400 DV Mac OS X (10.3.9) Cube 450Another similar thread on this issue...
http://discussions.apple.com/thread.jspa?messageID=1602391 -
How to get the full image directory when i upload the image to web page???
hai, how to get the full image directory when i upload the image to web page???
here is the example:
<form action="uploadfile.jsp" method="post">
image<input type="file" name="image" />
<input type="submit" value="submit"/>
<%
String s=request.getParameter("image");
%>
<%=s%>
</form>
i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html -
How to parameterize the schema name in APEX
Hi,
How to parameterize the schema name in APEX , in order to access different tables from the respective schema.
For example:-
select NAME display_value, CODE return_value
from paramSchema.DESC_LIST WHERE SELECTION_FLG = 'Y'
order by 1
in the above code, paramSchema will be replaced with the actual schema name duing runtime. I tried doing so by some hidden fields on page, but it didn't worked out.
I took the schema name from the respective server as per the IPof the server.
stored in a hidden field named as schema.
And replaced the same in place of schema name. But no luck.
select NAME display_value, CODE return_value
from :schema.DESC_LIST WHERE SELECTION_FLG = 'Y'
order by 1
Please help me in shorting it out.
Thanks,
AnuradhaHi
In order to do that, you would need to use dynamic SQL by changing the report type to PL/SQL Function Body Returning SQL Query and have code along the lines of
DECLARE
l_sql VARCHAR2(32767);
BEGIN
l_sql := 'select NAME display_value, CODE return_value
from '||:schema||'.DESC_LIST WHERE SELECTION_FLG = 'Y'
order by 1';
RETURN l_sql;
END;However, by doing this, you lose alot of flexibility. The other options would be...
To have seperate report regions that are conditional on the value of the variable.
To use a WITH clause at the tope of the query like...
WITH src_data AS
(SELECT * FROM schema1.my_table
WHERE :schema = 'schema1'
UNION ALL
SELECT * FROM schema2.my_table
WHERE :schema = 'schema2')
SELECT *
FROM src_dataOther than that you could look at using synonyms and doing something similar.
Hope this helps.
Cheers
Ben -
How to put the background image in Title Window?
Hi,
I'm newbie in flex. I 'm using Flex 4.
Can anyone give me some guidelines on how to put the background image in Title Window?
Is it possible to do this?
Thanks.Hi,
Check the below sample code
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
s|BorderContainer {
background-image:Embed(source="image/wheres_the_green_rez.jpg");
background-image-fill-mode:clip;
</fx:Style>
<s:TitleWindow width="100%" height="100%">
<s:BorderContainer width="100%" height="100%"/>
</s:TitleWindow>
</s:Application>
Regards,
Anitha -
How to generate the deferent pdfs for deferent vendor ?
Hi,
i have requirement to generate the each pdf for each vendor and i need to mail those pdfs to respective vendor,
here i am facing the prob to generate the no of pdfs for deferent vendors...please can any one help me in this how i generate the no of pdfs ?? using wrapeer program ....
if possible any one can provide some example code..(Exmplae program)
Thanks,
PK..There are two function use one for convert PDF and second use to email, hope it will give u idea proper.
Assigning the OTFDATA to OTF Structure table
CLEAR gt_otf.
gt_otf[] = gs_otfdata-otfdata[].
Convert the OTF DATA to SAP Script Text lines
CLEAR gt_pdf_tab.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = gv_bin_filesize
TABLES
otf = gt_otf
lines = gt_pdf_tab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = gs_docdata
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = gt_objpack
contents_bin = gt_objbin
receivers = gt_reclist
contents_txt = i_objtxt
object_header = objhead
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8. -
How to generate csv ouput by using a procedure
Hi All,
How do I generate a csv (comma separate value) output by using procedure. I have 2 SQL statements in my procedure, I need to generate a csv file with the result set of 2 SQL's. For Example;
I have the following 2 SQL's in my procedure
Cursor emp_det Is Select * From emp where sal < 4000;
Cursor sal_det Is Select e.* from emp e,dept d where d.dname = 'SALES'
My requirement is to generate a csv ouput with the result set of cursors emp_det & sal_det. How can I generate a csv ouput by using PL/SQL. I could generate the same by using tools like TOAD & PL/SQL Developer. But I need to generate csv output by using PL/SQL only...Your help would be more appreciated.use tom kyte's dump_csv.
create or replace function dump_csv( p_query in varchar2,
p_separator in varchar2
default ',',
p_dir in varchar2 ,
p_filename in varchar2 )
return number
AUTHID CURRENT_USER
is
l_output utl_file.file_type;
l_theCursor integer default dbms_sql.open_cursor;
l_columnValue varchar2(2000);
l_status integer;
l_colCnt number default 0;
l_separator varchar2(10) default '';
l_cnt number default 0;
l_colDesc dbms_sql.DESC_TAB;
begin
l_output := utl_file.fopen( p_dir, p_filename, 'w' );
dbms_sql.parse( l_theCursor, p_query, dbms_sql.native );
for i in 1 .. 255 loop
begin
dbms_sql.define_column( l_theCursor, i,
l_columnValue, 2000 );
l_colCnt := i;
exception
when others then
if ( sqlcode = -1007 ) then exit;
else
raise;
end if;
end;
end loop;
dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
l_status := dbms_sql.execute(l_theCursor);
dbms_sql.describe_columns(l_theCursor,l_colCnt, l_colDesc);
l_separator := '';
for lColCnt in 1..l_colCnt
loop
utl_file.put( l_output, l_separator || '"' || Upper(l_colDesc(lColCnt).col_name) || '"');
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
loop
exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
l_separator := '';
for i in 1 .. l_colCnt loop
dbms_sql.column_value( l_theCursor, i,
l_columnValue );
utl_file.put( l_output, l_separator || '"' ||
l_columnValue || '"');
l_separator := p_separator;
end loop;
utl_file.new_line( l_output );
l_cnt := l_cnt+1;
end loop;
dbms_sql.close_cursor(l_theCursor);
utl_file.fclose( l_output );
return l_cnt;
end dump_csv;Thanks,
Karthick.
Maybe you are looking for
-
Stock Keyboard Stiff Keys--Anyone Know an Outstanding After Market Keyboard
I have a stock mac keyboard (non-wireless) that came with my iMac G5. I purchased the ensemble new in Jun 2005. I noticed that all the keys were more stiff than on other non-Mac keyboards. Also I have always noticed that stock Mac keyboards have stif
-
I'm having a problem with my Nokia X6. Whenever I get a phone call the number does not appear. It just says 'call'. If I get a missed call the number does not appear in the log either. Please help!
-
MediaPlayback - event fired when file not found?
I want to have a playlist containing mp3 from multiple sites. I would like to use the MediaPlayback component to play these. If we try to play an mp3 that is not currently available we'd simply like to skip to the next mp3. I don't see any event or a
-
Hands free in car with MP3 connection?
I have 2 friends that have the same Blackberry (8310) and both are able to attach a cable to their Blackberry and a MP3 jack in their car an are able to be hands free. They can hear through their car speakers while talking on their phone. I have th
-
Cannot setup 2nd yahoo mail account
I have 3 Yahoo email accounts, and they are all setup on my Mac along with the iCloud account. They all work just fine. When I try to setup on my ipad2, the first works fine, but the others will not Verify due to a message the "Server is Unavailable,