Draw on TiledImage as one unified image, still managing memory using tiles
what I am looking for is **exactly** this
http://www.garayed.com/java/186952-question-about-tiledimage-graphics2d-jai.html
"(...)How do I create an arbitrarily large TiledImage from scratch (lacking a
source image) and draw onto it using the TiledImage's graphics context
( TiledImage.createGraphics() ) without causing an
OutOfMemoryException?
The content of the image would be purely Graphics2D geometry. I don't
need to read in any external images, just to be able to create, and
draw on, very large blank images. I'm assuming that TiledImage is the
most appropriate class for this, but haven't been able to find any
sample implementations.
There must be some way to draw on a TiledImage as one unified image,
while still managing memory using tiles.(...)"
any ideas?
TIA
great article
my conclusion is that it seems java can't provide a huge graphics environment for drawing in a transparent manner, I think.
let's suppose I have a huge tiledImage. 20,000 x 20,000 pixels
now I want to draw a huge circle, radius = 10,000, center is the same square center
just an example, to clarify my doubt
when I request a Graphics2D context to draw this circle, tiledImage will intelligently and transparently request the necessary tiles to draw this circle, or I would have to code manually something to grab these tiles, calculate what to draw in each one and manage the tile cache?
TIA
Similar Messages
-
Hi to everyone.
I have one Arch Linux system, installed and upgraded ... I need clone this system in another CPU (without network).
How can I do one system image (Clonezilla style) and save this image in one CD ?grey wrote:
Do the other machines have a USB port? The problem I'm getting at is this: you need
1. an image of the tuned arch system
2. an OS that can copy that image onto the HD of the target machine.
You could get 2. from a live CD, but then the CD drive is busy and you cannot used it for the arch image.
There are still solutions even in that situation, but if you have a USB port or 2 CD drives or an OS already installed on the target machine, it's easier.
Not, they doesn't. I'm looking for one sotfware like DriveImage, but FLOSS -
Drawing on top of a gif image.
I need to be able to have a JPanel that holds a .gif image, have another JPanel over top of it that can be drawn upon. An example of this is placing a map on a table and laying a piece of clear plastic over top of it, then drawing on the plastic the route you want to take. Just as in this example, I want to be able to erase lines on the top image, but I can probably figure that part out OK, I just need the code to layer the drawing panel on top on the image.
How can this be done?
Thanks.Exactly what problem are you having with getting a layered pane? The Java Tutorial on this site can give you all the basics regarding setting one up.
-
I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.
I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.
-
If I create a new Apple ID and rescue my old one will I still have all the credit I did on my previous Apple ID ?
You will still have them on the old one i guess
-
I opened an itunes account then forgot my password. I opened a new account now I would like to combine my two accounts into one but I still can't remember my password and now I have a new email account. Help!
You can't combine accounts but help here Apple ID FAQ's for resetting your Apple ID password.
-
Images I move from one folder into another are disappearing, at first it was occurring immediately and only if I did not copy and paste the images. Today however I found out that images I had been using for days just up and vanished from their new location. A few of these images had copies in another folder that remained and the ones I couldn't find may or may not have ever had copies. I had backed up my system with time machine recently as well, so I went into the backup to retreive the lost images. When I searched and found the backup copies I got the error "the file alias cannot be opened because the original cannot be located". The crazy thing is that the images that remained on my computer did not give me the same error and opened like they should.
In short images that I am creating, saving, and using are disapearing so epically that even time machine versions are affected when retrieval is attempted. Any suggestions as to what I could be doing wrong without realizing it? Or perhaps other people have had similar bugs that are software related and have a solution?Hi Kevin,
I understand what you tried to do but it doesn't work that way. Swapping drive names will just mess things up.
You should be able to reconnect the files though: in the Locate Referenced Files dialog make sure you click the Show Reconnect Options button — this will give you access to all the connected drives. Locate one of the files and hit Reconnect All. Should do the trick.
Best -
Two Firefox at the same time, (one with images, other without)?
Hi,
Is is possible to use two firefox browsers at the same time, the one with images enabled, the other disabled?See this easy to follow directions:
http://www.callum-macdonald.com/about/faq/multiple-firefox-instances/ -
Bookmarks are not syncing to ONE of my Macs, but showing up on other Mac (work), iPhone 4 and iPad 1. Macs are on Mountain Lion. Tried all of Apple's suggestions - and the one Mac is still not updating/syncing Bookmarks or Reading List. What's going on? Do I have to wait to OS update? It seems lots of peolple were having issues before ML, but I as fine. Since ML, I am having all kinds of issues!
Yeah, I literally have tried everything except deleting my iCloud account (I'm close, but that would require so many changes that it is way too painful to consider at this point).
I am still waiting to hear back from Apple Support. Hopefully something can be done, or they can do a reset on their end.
Thanks for taking the time to respond though, much appreciated! -
I've been having an issue of connecting to wifi. I have restored and set up my phone as a new one and i still can't connect. Also i have restored my network setting also. The wifi button is still grey and i cant switch it on or off.
Hi _Pchay,
Accordign to the artcle below, it looks like you have done all the troubleshooting steps and your next step may be to contact Apple Support.
iOS: Wi-Fi settings grayed out or dim
-Griff W. -
I used to have a apple id but when i got my macbook i changed it. Then i downloaded OS X and updates in my app store will not let me change my apple id back to my new one it just still uses my old one. What do i do?
Content and Apple IDs -
Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple Id to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new ID. -
I cant get into itunes producer keep getting an error my username and password is incorrect. i have made a new one all good still same error any ideas?
I'm having a very similar problem.
I'm based in the U.K. and am trying to publish an iBook through the iTunes bookstore. I have made my book in iBooks author 2.0. My iTunes is up to date.
When I try and publish the iBook I have passed and ticked the Pre Publish Check; and the Create Account, but when I try and download iTunes Producer through iTunes Connect I'm told "Your Apple ID does not have permission to access iTunes Content."
When I try and re-set my iTunes Store account I'm told "The iTunes Store Account has already applied to distribute content on the iBookstore." Of course it has I just did that.
If I try and sign in to iTunes Connect through the Publishing pane I'm told "Your ID or Password was entered incorrectly." Even though I've just used it to sign into iTunes (and here), so my password and Apple ID work fine elsewhere.
Is my access to the iTunes Connect being delayed while my submission is processed, i.e. the processing of my tax and account details? Or am I stuck in a loop?
If this is still processing (I started this 20 hours ago) I assume that I have to submit the book itself when I can download iTunes Producer at a later date, as I haven't submitted the book yet?
I emailed the problem to iTunes Store and was refered to [email protected], only for them to say they don't read or reply to emails sent to that address??????
I'm not sure which part of the process I've reached - if any. I feel I'm in limbo. I have an iBook ready to go - but where is Apple?
Any help would be most welcome.
Andy -
I am trying ot install my cs6 online. it says that my code has been redeemed but i took it off of one of my laptops to download it onto this one. it is still not working. please help
Find your serial number quickly
Download CS6 products
Activation & Deactivation Help
Mylenium -
I have lost my ipad and alr bought a new one but somebody still uses my game center ID to play my game even I have alr changed my password for GC.what can i do to stop them to use my one? Thank you
I need answer from anyone can do too.
-
When I joined Facebook, and clicked on the person's pictures, I didn't realize I was downloading those pictures. I went to the Finder today and under Searches I went to all images. Could not believe how many pictures etc. were there. I am trying to get rid of them but even when I put it in the trach, the image still remains. I want to get rid of them. Help. I am not computer savvey.
You must first open up a Finder window in order to view the customize setting;
The next window will look like.....
Maybe you are looking for
-
Is there a way to control the "back button"?
i've got a simple animation intro, ending with the very last key frame being static with links. then the links will bring up another page in the same window. but i was wondering if there was a way in flash to control the back button to bring the user
-
My camera is a SONY CyberShot DSW W230 I have a new 2 GB Sony SD Card and it shows only 42 pictures remaining. I have shot very few pictures and don't understand why it doesn't have more shots remaining. I use a MacBook Pro Computer with iPhoto.
-
Hi, when i run a report in Developer 2000 v1.32 than contains a graphics display in a client pc, the report generate a error. Which files should i install in the client machine to run Oracle Graphics displays ? Thanks.
-
Security analyst over on F-Secure are reporting a possible OPSEC issue in Yosemite. After copy a file from a Mac to a USB thumb drive, the user discovers that the Spotlight index files , ".store.db", contained e-mail addresses, subject lines, and in
-
I need instructions/manual on how to install a new hard drive for my powerbook g4 12". I can't figure out how to get the back cover off so I can replace the drive.