Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Moving an image workspace from memory to the hard drive

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Moving an image workspace from memory to the hard drive

    I'm wanting to render an oversize image line-by-line or block-or-block directly to the hard drive, but I'm having trouble finding how and with what packages. I've seen ImageIO which can only perform basic tasks, e.g. it can only encode completed images residing in the memory to an output file. I can have the program run calculations to predict the resolution of the completed image to write in the metadata before outputting the visual data. I was just hoping someone could at least point me to some good resources -- packages, classes, online tutorials, whatever -- that will help me accomplish this. Thank you.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Moving an image workspace from memory to the hard drive

    What will be written to the disk file for the selected pixels of an image? Say the first row/line of pixels in the image is white, what would be written to the file?
    If you don't understand my answer, don't ignore it, ask a question.

  3. The Following User Says Thank You to Norm For This Useful Post:

    plynch28 (February 26th, 2013)

  4. #3
    Junior Member
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Moving an image workspace from memory to the hard drive

    The image is essentially monochrome. I'm trying to render an image of the first 1000 lines of Pascal's Triangle and I've rendered each line of the triangle to a series of output images. They're all simply black text on white background. (I was actually only able to render 924 rows, then I started hitting memory caps and I was figuring that solving one problem would ultimately lead to solving -- or at least being able to solve -- the other.) The output so far is 924 non-overlapping .BMPs measuring 1868750x20px and I simply wish to concatenate these together into one oversized image to be parsed by a zooming application, e.g. Zoomify, Gigapan, et. al.

    I understand this doesn't directly answer your question, but hopefully it provides a clearer context.

  5. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Moving an image workspace from memory to the hard drive

    concatenate these together into one oversized image to be parsed by a zooming application,
    Sorry, I have no ideas on how to do that.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Moving an image around the screen using the arrow keys.
    By nemo in forum What's Wrong With My Code?
    Replies: 4
    Last Post: March 19th, 2013, 12:08 AM
  2. Properly releasing memory to avoid memory pileup/crash
    By fickletrick in forum What's Wrong With My Code?
    Replies: 6
    Last Post: July 22nd, 2012, 10:09 AM
  3. [SOLVED] Memory usage increasing in while loop - is it a memory leak
    By mds1256 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: July 18th, 2012, 10:06 AM
  4. Replies: 0
    Last Post: February 26th, 2012, 12:57 PM
  5. Problem in rotating and moving image at the same time
    By SlimShady in forum What's Wrong With My Code?
    Replies: 10
    Last Post: June 17th, 2010, 02:33 PM

Tags for this Thread