Transfering image's content to JavaFX
This is my first time ;) so Hello ALL!
1. The project concept - a 2D system representing a buildings top view. An image that represents the building http://img30.imageshack.us/img30/2852/p00.jpg
Rooms, stairs, some other elements are objects - example class
class Room {
string nameOfTeacher;
int nrOfRoom;
WorkingHours theHoursOfTrachersWork;
}So the system lets the user search in which room for example mr Kowalski is. Search -> Kowalski -> the system show a blinking room of mr Kowalski. Then you can click the room and get some more info.
2. General problem - how to transform the room locations and the whole picture to JavaFX. Drawing rectangles by intuition and checking if they fit the screen is stupid - it would take ages.
Another idea that I just developed - loading the image to autocad or gimp and getting all the coordinates of the items + drawing everything in javaFX.
Something simpler maybe? please help, time if of the essence 4 me.
Basically all that matters are the proportions - I could draw with jfx the same building, but probobly they wouldn't match the original picture.
Mmm, no, I mentioned flood fill because the algorithm could be used to detect room borders, not necessarily to change the image...
I see two possible ways of using my idea:
- make a tool (can be done with any language!) to get a floor plan image and spit out a data file with room coordinates;
- just process the image on the fly each time you run your application.
If, as I think, the floor plan image is unlikely to change often, the first solution is probably the best.
Ideally the tool could be totally automated, but detecting rooms complicates the algorithm, it might be simpler to make it interactive: user clicks on a room, tool finds out the bounds, asks for a name, outputs the data.
The said data can even be JavaFX code to integrate to your own code. For example an HashSet of names and Rectangles.
The solution to detect bounds depends on the nature of your plan. I googled a couple of floor plans and they have often "parasital" information in the rooms, like furniture or even name (or doors symbols, etc.). If that info is of distinctive color, it can be ignored.
The idea of the algo is to start from a point: go in four directions (up, down, left, right), continue until we find the color of a wall. Coordinates can be deduced from the coordinates of the found wall pixels.
I might do a proof of concept if I find the time...
Similar Messages
-
How to Upload Mutilple Images in content repository?
Hi
How to Upload Mutilple Images in content repository?
I have a html which shd be displayed and it has 3 images which shd be displayed
in the same page
Here i am able to display the HTML uploaded in content repository
but the images are not displayed,since the path is not valid for the images.
Can any one hint me in this,
wating for the reply
Thanks in Adv
Regards
SureshSuresh, your html specifies an image at resources/images/privacy.gif - is that
image in your repository at the correct relative position to where yout html is?
Your html and repository structure must match. So if the html you posted is at
/BEA Repository/foo.html
then privacy.gif must be at /BEA Repository/resources/images/privacy.gif
James
"Suresh" <[email protected]> wrote:
>
>
>
Hi James
Here i have attached my sample html and image
My Repository Structure is as follows :
Virtual Content Repository
BEA Repository
MainImage type image
Privacy type i created
----StartDate
----EndDate
----File Upload
My HTML
<HTML>
<HEAD>
<TITLE> New Document </title>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</head>
<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="norBold"><img src="resources/images/privacy.gif"
width="123"
height="73">Privacy
Policy</td>
</tr>
<tr>
<td class="formHeadBack" height="19"><b> Privacy Policy</b></td>
</tr>
</body>
</html>
and
one image
Thanks in Adv
Suresh
"James Owen" <reply.to@newsgroup> wrote:
Suresh, how is your content structured and what does your html looklike?
If you
could post examples, that would be helpful.
thanks,
James
"suresh" <[email protected]> wrote:
Hi
How to Upload Mutilple Images in content repository?
I have a html which shd be displayed and it has 3 images which shd
be
displayed
in the same page
Here i am able to display the HTML uploaded in content repository
but the images are not displayed,since the path is not valid for the
images.
Can any one hint me in this,
wating for the reply
Thanks in Adv
Regards
Suresh -
Transferring images from camera or flash drive
Hi,
I am having problems with transferring images. When I plug in a flash drive or my camera to the USB port,nothing pops up on my desktop. I checked System Profiler, and it appears that the computer is recognizing the flash drive. So it must be a problem with the drive talking to the software, right?
I went into Image Capture and set the preference for iPhoto to open when a camera is attached, but no go.
This is a new problem - I have transferred images many times since getting the computer in March.
Help!!
Thanks,
CodymaeWhen you make a User choice - such as 'Open iPhoto When a Camera is connected' it's recorded in the preference (or plist) file. That's what those files are. Trashing them will return the app to the default state. You can then re-select your choics. Corrupted plist files are a common cause of all sorts of issues and one of the basic troubleshooting steps for any app.
Regards
TD -
Function module for transfering a file contents into another?
Hi all,
Is there a Function module for transfering a file contents into another?That is the whole content from a file to other??
Regards,
Shashank.Hi,
I think there is no such FM. You need to read the data in internal table and then write it in another file.
Regards,
Atish -
ClasscastException while displaying image from content selector
Hi,
My requirement is show an image gif file in jsp, through portal.
This problem is specific to 8.1 version.
Created an image type content in BEA repository which i could retrieve from workshop
content preview correctly, with a rule (named filerule).
However, when tried to display the same from a simple jsp logic, got classcast
exception.
Below is the steps i have done.
1. import <%@ page import="com.bea.p13n.content.ContentHelper"%>
2.
<pz:contentSelector rule="filerule" contentHome="<%=ContentHelper.DEF_DOCUMENT_MANAGER_HOME%>"
id="ImageDocs"/>
<es:forEachInArray array="<%=ImageDocs%>" id="anImageDoc" type="com.bea.p13n.content.Content">
<img src="ShowDoc/<cm:printProperty
id="anImageDoc" name="identifier" encode="url"/>"
</es:forEachInArray>
The server console shows below exception:
java.lang.ClassCastException
at jsp_servlet.__index6._jspService(index6.jsp:19)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilt
er.java:208)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:305)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
FlowRequestProcessor.java:1304)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
ctor.forward(PageFlowRequestProcessor.java:1320)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
wRequestProcessor.java:1200)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardCon
fig(PageFlowRequestProcessor.java:1094)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
equestProcessor.java:651)
at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
sterActionServlet.java:527)
at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
onServlet.java:152)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:305)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
FlowRequestProcessor.java:1304)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
ctor.forward(PageFlowRequestProcessor.java:1320)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
wRequestProcessor.java:1200)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
equestProcessor.java:638)
at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
sterActionServlet.java:527)
at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
onServlet.java:152)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
Also, there is no luck with displaying text content from a file, using printDoc
tag. Can some one point me to right resource.Hi panji,
I used 7.0 tag lib, just to make use of "printDoc" tag which is available in 7.0version
only and not in 810. However, i figured out a way to display image using 8.1 (
of course, by using request.getContextPath() + "/ShowBinary" + imagedoc.getPath())
But still, i do not find a way to display a doc type file in jsp, which is my
original problem.
As per the edocs at http://edocs.bea.com/workshop/docs81/doc/en/core/index.html,
<cm:getProperty node="<%=doc_node%>" name="file"/>
should be able to display a txt file but nothing is getting rendred onto jsp.
( i have created a book type content in the repo. and file attached is of type
txt ).
Can you pls give some clue what i am missing here?
thanks
Ramana
"Panji Aryaputra" <[email protected]> wrote:
Hi Ramana, could you just use the ShowPropertyServlet to display the
image
in jsp? That's what I am using now. Perhaps you have other reasons not
to
use it?
panji.a
"ramana" <[email protected]> wrote in message
news:[email protected]...
Hi,
My requirement is show an image gif file in jsp, through portal.
This problem is specific to 8.1 version.
Created an image type content in BEA repository which i could retrievefrom workshop
content preview correctly, with a rule (named filerule).
However, when tried to display the same from a simple jsp logic, gotclasscast
exception.
Below is the steps i have done.
1. import <%@ page import="com.bea.p13n.content.ContentHelper"%>
2.
<pz:contentSelector rule="filerule"contentHome="<%=ContentHelper.DEF_DOCUMENT_MANAGER_HOME%>"
id="ImageDocs"/>
<es:forEachInArray array="<%=ImageDocs%>" id="anImageDoc"type="com.bea.p13n.content.Content">
<img src="ShowDoc/<cm:printProperty
id="anImageDoc" name="identifier" encode="url"/>"
</es:forEachInArray>
The server console shows below exception:
java.lang.ClassCastException
at jsp_servlet.__index6._jspService(index6.jsp:19)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
atweblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atcom.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilt
er.java:208)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:305)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
FlowRequestProcessor.java:1304)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
ctor.forward(PageFlowRequestProcessor.java:1320)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
wRequestProcessor.java:1200)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardCon
fig(PageFlowRequestProcessor.java:1094)
atorg.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
equestProcessor.java:651)
atcom.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
sterActionServlet.java:527)
atcom.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
onServlet.java:152)
atorg.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
atweblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:305)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(Page
FlowRequestProcessor.java:1304)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedire
ctor.forward(PageFlowRequestProcessor.java:1320)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlo
wRequestProcessor.java:1200)
atcom.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowR
equestProcessor.java:638)
atcom.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegi
sterActionServlet.java:527)
atcom.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActi
onServlet.java:152)
atorg.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
atweblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilte
r.java:313)
atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6356)
atweblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
Also, there is no luck with displaying text content from a file, usingprintDoc
tag. Can some one point me to right resource. -
ibook stopped transferring images via image capture. last month it worked. i hav an old ibook and i cannot update to newest itunes. which is fine. however, i need the image capture to take photos off my iphone 5. no, i dont want to use i cloud. i would actually like to just plug it in to the usb drive the old fashioned way
I don't believe the iOS7 update was the cause for your issue. I have three devices all updated and they all show the Import To drop menu in Image Capture as shown below.
-
Do not see image and content folders after creating a new site
Why didn't I see the image folder, content folder......aftter I create a new site?
DW does not create any folders for you, except those used by DW code (Templates and SpryAssets for example).
It's up to you to organize your site the way that makes the most sense to you by adding in folders like images, content, pages, etc.
Just don't move files out of any of the automatically generated folders that DW does give you, that can break things (especially Template .dwt files). -
Display image stored @ content managemenbt
Hi,
this is regarding to displaying image stored @ content management, using <html:img> tag in .jsp
under a node i am uploading two images. (node having two upload options)
in .jsp i am using <html:img> tag to display the images.
i tried to display both the images. But the first image what i upload is not showing. what i upload second is displaying.
pls let me know how to resolve this.
Thanks.You need to access binary property values separately from the node. In 9.2 the API is accessed via INodeManager.getStream(). Alternatively you can take advantage of the tags we have for this as well. Take a look here on edocs:
http://e-docs.bea.com/wlp/docs92/cm/developCM.html
-Ryan -
Swap images in content holders
How does one go about swapping out a default image within in the content holder for header?
I actually downloaded the default '[email protected]' from the preview site, and replaced their image with my own logo in Photoshop, being careful to keep the same size, format, and name, only to be unable to find the respective images folder anywhere on the site to replace the original logo with my replacement logo (I went through all the file via ftp and NO 'img' or 'images' directory was to be found).
In being so stingy with the so-called site integrity, the designers have made it difficult (next to impossible) to customize their web site, so doesn't that defeat the purpose of Business Catalyst?
I have forgotten the name of the BC site I imported for this, latest (and probably LAST) attempt to work with BC to come up with a site I can actually use, but it had to do with students, and used a large black div for the header - it's the 'cultivate' logo that I am trying to replace with my own logo.
How do I access the actual contents of the default content holders for the header to replace their logo with my logo?Hi I¹m also a little disappointed but, try to use firebug in firefox, it
shows you where all the code, css and images are stored.
Hope this will help.
Regards Carla
Van: HWurst <[email protected]>
Beantwoorden - Aan:
<[email protected]>
Datum: dinsdag 3 juni 2014 08:01
Aan: Carla Leliveld <[email protected]>
Onderwerp: swap images in content holders
swap images in content holders
created by HWurst <https://forums.adobe.com/people/HWurst> in Content
Management and Modules - View the full discussion
<https://forums.adobe.com/message/6429602#6429602>
How does one go about swapping out a default image within in the content
holder for header? I actually downloaded the default '[email protected]' from the
preview site, and replaced their image with my own logo in Photoshop, being
careful to keep the same size, format, and name, only to be unable to find
the respective images folder anywhere on the site to replace the original
logo with my replacement logo (I went through all the file via ftp and NO
'img' or 'images' directory was to be found). In being so stingy with the
so-called site integrity, the designers have made it difficult (next to
impossible) to customize their web site, so doesn't that defeat the purpose
of Business Catalyst? I have forgotten the name of the BC site I imported
for this, latest (and probably LAST) attempt to work with BC to come up with
a site I can actually use, but it had to do with students, and used a large
black div for the header - it's the 'cultivate' logo that I am trying to
replace with my own logo. How do I access the actual contents of the
default content holders for the header to replace their logo with my logo?
Please note that the Adobe Forums do not accept email attachments. If you
want to embed a screen image in your message please visit the thread in the
forum to embed the image at https://forums.adobe.com/message/6429602#6429602
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either reply
to this email or visit the message page:
To unsubscribe from this
thread, please visit the message page at
. In the Actions box on
the right, click the Stop Email Notifications link. Start a new discussion
in Content Management and Modules by email
<mailto:discussions-community-business_catalyst-content_management_and_modul
[email protected]> or at Adobe Community
<https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=
14&container=4733> For more information about maintaining your forum email
notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Error With Uploading Images for Content Manager
Hi Guys
I have tried to upload an image into Content Manager..... and on the concurrent request i get a failed error..+---------------------------------------------------------------------------+
Content Manager: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
BULKUPLOADCP module: OCM BulkUpload Process
Current system time is 04-AUG-2006 11:47:46
java.lang.NullPointerException
at oracle.apps.jtf.util.ErrorStackUtil.getErrorStack(ErrorStackUtil.java:82)
at oracle.apps.jtf.util.ErrorStackUtil.fillDBErrorStack(ErrorStackUtil.java:163)
at oracle.apps.jtf.util.ErrorStackUtil.fillDBErrorStack(ErrorStackUtil.java:151)
at oracle.apps.ibc.admin.ContentItemManager.upsertContentItem(ContentItemManager.java:1776)
at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.getItemsFromXMLFile(BulkUploadCP.java:518)
at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.createItemsFolders(BulkUploadCP.java:269)
at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.runProgram(BulkUploadCP.java:172)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 04-AUG-2006 11:47:50
this ist hte logBumb thread. Please follow-up here: http://forums.adobe.com/message/4851765
-
Problem with tethering D700 - slows down: 'Transfering images...'
Hi,
I have a problem when working tethered. Previously I had no or hardly any trouble but as far as I know nothing has changed.
The problem is (also when I have no CF card in my camera) that all of a sudden I get 'transferring images from camera' and lightroom then is fully occupied doing that. It is a big problem because I cannot work lik that in the studio.
Please advice bcause it is driving me mad...
LeonHi Weixuan,
I recomend taking an unneccesarily process out if the loop for example: IMAQ Create, IMAQ Read File, IMAQ WindSetup, IMAQ Dispose, IMAQ WIndClose.
You may refer to my attached screenshot to see how I modify your program.
I can achieve the same task at 17ms interval with <30% CPU consumption.
Regards, Kate
Attachments:
weixuan.PNG 16 KB -
Transfering offline HTML content to my ipad 3
Hi.
I have a folder called docs that has a list of html content for reading some programming documents offline.
i want to somehow transfer this folder into my ipad and browse/read throw these offline html files on the go on my ipad.
Any suggestions on how to do the above and what App i need to read them?
ThanksNo, it does not connect to the Internet, so any external linked entities - images, style sheets, etc. - will not render. If your files are just self contained HTML, no problem. If not, which sounds like the case, you have pages designed principally for delivery on a web server platform (pretty much the case for most web pages) and may have difficulty doing what you are attempting on an IOS device.
There are some apps that will capture and display a page as a webarchive. I've experimented with a combination of iCab Mobile (iPad), dropbox, ShareFile, IE8 (Windows PC), and Chrome (Windows PC) and can't quite get it to work.
You might consider printing the files to PDF and then transfering over.. HTML isn't really engineered to do what you need. -
Transferring images through a socket
Hi,
i'm writing a simplified webserver which gets a request from a client, gets the content from the origin server and returns it to the client as it is (currently..)
The problem is that the images i transfer are corrupted and i'm not sure why (i'm guessing something to do with asci/binary mode transfer) but i don't know what's the proper way to do this.
Right now i'm using InputStreamReader wrapped by BufferedReader to read the content.
Can someone please advice??
Thanks!!
Hesher.I'm trying to transfer image / binary data through sockets for some time now and cannot manage to do so. I've read multiple threads where users describe similar problems, but I somehow can't get it to work and I don't know why. What I'm trying to do:
Server side:
1. Get length of file and send to client
2. Read image from file and send to client socket output stream
Client side:
1. Obtain length of file from server
2. Read image from server socket input stream and save to file
Step 1 works fine. The size of the file is transformed correctly. The next thing is that the server is transferring the byte data from the file to the outputstream and the client is transferring the byte data from the inputstream to another file. Here, I use a generic transfer method:
* This method transfers binary data.
* @param is The source of the data.
* @param os The destination of the data.
* @param len The length size/length of the data.
* @throws IOException
public static void transfer(InputStream is,
OutputStream os,
long len) throws IOException {
// Initializing the buffer
byte[] buf = new byte[1024];
// Amount of bytes read in total
long sent = 0;
// Amount of bytes currently read
int cur = 0;
// Transfer data:
while( // Stop when:
(sent<len) && // enough data is sent OR
((cur=is.read(buf))!=-1)// end of stream is reached
os.write(buf, 0, cur); // send buffer to output stream
os.flush(); // flush output stream
sent += cur; // increment count of bytes sent
}The success rate is about 50%, meaning about half the output images are corrupted, the other half is fine. If this helps at all to diagnose the problem: The failure images always have the same size.
Cheers and thanks in advance for any hints! -
Transferring images from a PC to a Mac
Fist of all, please excuse me if my questions appear elementary but I am a recent convert to Apple and to digital photography. I have a PC desk top computer and a just-purchased MacBook Pro. At the moment all of my images are on the internal hard drive of my PC and the drive is filling up fast. I need a short term solution to my diminishing internal disk space that will tide me over until I learn enough about workflow to invest in a longer term solution. I want to view and edit my images on the MacBook Pro. I realize it's not the best way to edt but it will have to do until I replace my PC with a desktop Mac which I intend to do. But in the meantime I don't want to clog up my Mac unnecessarily with thousands of images. So, my questions: 1)) What is the best way of transferring my images from the PC to my Mac? 2) If I transfer my images to an external hard drive from my PC will my Mac have any problems reading them? 3) Can an external hard drive be formatted to read both PC and Mac files? 4) Rather than get an external drive for my PC (since I don't intend to edit on the PC, am I better to get one for my Mac? 5) Can someone suggest a good on-line tutorial on this topic so that I don't need to trouble all you good folk. Any advice would be appreciated.
There are many solutions: Your first stop is www.macwindows.com, and read everything in site re: formatting ext HD's to run on both,your best solution. There are apps that allow macs to read/write/ drag & drop to /from Fat 32 & NTSF partitions, and visa versa, read about networking and remote controlling PC's and Macs, as well. A simpler but time consuming solution is internet backup/ syncing via Sugar Sync or Mobile me.
*maybe you can help me: I'm about to get my first PC to capture digital dental xrays. I'm told that the imaging sensors drivers only work on a PC/xp or Vista, 32 or 64, though they are written in 32. I want to network (automatic syncing of dental image files and practice mgmt files from the imaging app & mgmt app) the PC to an iMac, either booted in Vista 64 or running it in emulation. The PC Imaging app (Apteryx) and the PC Mgmt app (Dentimax) works either way on the iMac. How do I:(1) set up a wireless network, (2) that onlt auto syncs the 2 dental apps files, (3) on a Vista booted iMac, or ($) on a Vista emulated by Fusion, iMac????? Thanks! I assume a V booted imac is a PC to PC setup, but I have no idea how to do this? I also find it hard to believe that the sensor drivers wont work on a V booted iMac! -
Retrieving Invoice images from Content Server
Background
My problem is, that I need to retrieve images from the Content Server and save them on a local drive with a path provided by the user. Metadata that is available for the image includes Object ID and the URL to the image on the server.
However, the Object ID is not valid for DMS, so the Function Groups for this are invalid. The cl_gui_* function groups have several usable Function Modules, but the URL link provided for the image is something like this:
http://xxxxxx.xxxxxx.com:XXXX/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=Z2&docId=123AB1C123D12E12345.... etc.
What makes the cl_gui FM unable to work, is the :, ?, % and & characters in the string - which makes the FMs look at the URL as invalid.
I have also tried more or less the entire content of FM in the SCMS_* Function Group (containing FMs for the Content Server), but to no avail.
Question
So, now to my question: Is there any way to translate the URL provided so the cl_gui FMs can understand it? Or, should I go the other way around and fetch the Invoice Image using the provided Object ID?
All needed at my program to finish off, is a method to retrieve the given images and save them to a local path.
I hope the Guru's of the SDN will be able to help me here
regards
Anders Haugbølle
Edited by: Anders Haugbølle on Feb 4, 2009 12:53 PMMoving this thread from ERP MM to [Enterprise Resource Planning (ERP) |Enterprise Resource Planning (SAP ERP);
Maybe you are looking for
-
X230T: Slow scroll after swipe on Windows 8
Hi! I have an X230T running Windows 8 and working quite well with it. I face a Problem with using Windows 8, the scroll speed after swiping (f. e. in Internet Explorer or start menu) is pretty slow. For example: you have loaded a web page in IE 10 wh
-
When trying to format my internal hard drive, it's greyed out in Disk utility?
I'm trying ot format my computer and wipe everything off before giving it away, but Disk Utility has everything greyed out and won't let me choose my hard drive. I have the original CD and everything that came with the computer. How do I fix this fas
-
Hi Gurus Our Project will be having a requirements of using FI-AR BW 3.5 objects. Also there is a forthcoming BI 7.0 upgrade project. Can you provide me some details/materials on the effects of BI 7.0 upgrade from BW 3.5 in the FI-AR (e.g. 0FI_
-
How to display a help page as part of a extension
Jdev team, Any extension developer, I am in the process of building an extension for JDev 10.1.3. I have seen showdialog extension sdk samples project, that has some code for displaying help but it doesn't work if I deploy. Can anyone let me know the
-
Connecting to OS-authenticated user via GUI
I have a Solaris operating system-authenticated user. To connect via telnet I type sqlplus /, and it works fine. I have the SQLPlus client on my PC, and wish to connect to this user (via the SQLPlus GUI). I've tried the username, followed by the Unix