Scrren capture to an image file

HELP IF YOU CAN,
We have all been there ... boss says this thing has to work yesterday!
Does ANYONE have any solution for capturing the contents of the monitor graphics screen into a standard image format such as jpg?
I have found the jmf screen grabber example (http://java.sun.com/products/java-media/jmf/2.1.1/solutions/ScreenGrabber.html) and consider it to be a good starting point but we need to grab and then create an image on the local system.
Please help if you can. Alternative solutions?
Thanks A Bunch...
Gregg
[email protected]

To do a screen capture, you can use the Robot class in java.awt
And use the Advanced Imaging APIs in jdk1.4 to save as JPG file or whatever...
Cheers

Similar Messages

  • I have used Image Capture to scan images/documents and then saved them as either PDFs or PNG files.  For some reason, just this past week Image Capture will no longer save the file.  It scans, and the Scan Results window pops up, but it won't save file.

    I have used Image Capture to scan images/documents and then saved them as either PDFs or PNG files.  For some reason, just this past week, Image Capture will no longer save the file.  It scans, and the Scan Results window pops up, but it won't save file.
    The file name has no special character in it, just letters and no spaces.
    I have done this in the past and it has worked, but now it will not.
    I have not upgraded any software, that I am aware of.
    After scanning, the Image Capture pops up the Scan Results with the file name in the window, but neither the Scan Results nor the Image Capture window responds to inputs.  The Image Capture window is frozen, with only the "Overview" and "Cancel" buttons active (but non-responsive).
    Is this a software issue or a scanner hardware issue?  I am using a HP Photosmart C6200 series printer/scanner on a network using a Time Capsule airport.
    Thanks.

    I had the same problem.
    Got a 90% fix.  Apparently the Mavericks preferences won't work with Yosemite, so I just deleted the Image Capture preferences.
    Unfortunately, the "Scan to" folder seems to be permanently set to the Pictures folder.
    1.  Quit Image Capture
    2.  Go to Finder > Go > Home, which opens up your home folder (named after your user name)
    3.  Open Library > Preferences > com.apple.ImageCapture.plist - Drag this file to the Trash
    4.  Start "Image Capture", click "Details" and change all your settings as you prefer
    5.  Quit and restart "Image Capture".   Notice it remembers all your settings except "Scan to" folder.  It insists on saving to "Pictures".
    That's as far as I was successful.  I tried changing the "Scan to" folder to "Desktop", but on launch, Image Capture always sets it back to "Pictures".
    This is what I tried:
    6.  Download and install "Pref Setter" from http://www.nightproductions.net/prefsetter.html
    7.  Quit "Image Capture".  Right-click on "com.apple.ImageCapture.plist" and open with Pref Setter.
    8.  Search for "Pictures", which finds "~/Pictures" (the tilde character at the start means your home directory).
    9.  Double-click on "~/Pictures" and change it to the folder you prefer.  I like "~/Desktop"
    10. Choose File > Save then Quit from Pref Setter.  Note that re-opening the plist file still shows "~/Desktop"
    11. Start up "Image Capture" -- on startup, "Image Capture" sets "Scan to" folder to "Pictures"
    I consider this a bug.

  • MDT 2013 won't capture 8.1 image, does not boot to PE to capture

    I am doing this with Server 2012 R2 and MDT 2013, and the reference machines are VMs
    I initially created a deployment share for creating windows 7 and windows 8.1 reference images and capturing and deployment worked ok. After getting into some more details i customized the deployment share customsettings  to make things easier and created
    a separate capture share for capturing new reference images. I updated permissions on the share so my service account has access to it. 
    In this share i imported the windows 8.1 os files and copied the sysprep and capture task sequence i used to capture my first reference image [from the original deployment share], but when running the task sequence it reboots and just goes back into windows,
    instead of windows PE to capture the image. 
    I copied a windows 7 capture sequence to the capture share, imported the windows 7 files and updated the task, and it rebooted into PE without a problem and copied an image. so I don't believe I have any permissions/customsettings problems with the new share.
    Im not seeing any errors jump out at me in the bdd.log but I'm new-ish to going over the logs and using MDT to start with so I may be missing the obvious. I am using SMS trace and dont see any red/yellow highlites either. 
    In windows 7 i did have the vm in audit mode when i mapped the share as an admin and started the task sequence. In windows 8.1 i am not in audit mode [after doing some research and learning more about using MDT it did not seem necessary]
    After comparing a run of the windows 7 task to windows 8 i see the boot.wim copied to the win 7 vm, but i dont see it on the win 8 vm. There is a partition created, i cant see data in it when i show hidden files. 
    rules for the capture share
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipAppsOnUpgrade=YES
    SkipCapture=NO
    SkipAdminPassword=YES
    SkipProductKey=YES
    Heres the last part of bdd.log. New here so I can't post a link yet, didnt know if i should post the whole thing here or not to start with. 
    <![LOG[LTI initiating task sequence-requested reboot.]LOG]!><time="08:29:38.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property PHASE is now = CUSTOM]LOG]!><time="08:29:38.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Microsoft Deployment Toolkit version: 6.2.5019.0]LOG]!><time="08:29:43.000+000" date="03-19-2014" component="LTICopyScripts" context="" type="1" thread="" file="LTICopyScripts">
    <![LOG[--------- Script Start ---------]LOG]!><time="08:29:43.000+000" date="03-19-2014" component="LTICopyScripts" context="" type="1" thread="" file="LTICopyScripts">
    <![LOG[LTICopyScripts processing completed successfully.]LOG]!><time="08:29:43.000+000" date="03-19-2014" component="LTICopyScripts" context="" type="1" thread="" file="LTICopyScripts">
    <![LOG[Creating startup folder item to run LiteTouch.wsf once the shell is loaded.]LOG]!><time="08:29:43.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Shortcut "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\LiteTouch.lnk" created.]LOG]!><time="08:29:43.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property BootPE is now = ]LOG]!><time="08:29:43.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Microsoft Deployment Toolkit version: 6.2.5019.0]LOG]!><time="08:32:24.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[ZTIUtility!GetAllFixedDrives (False)]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[New ZTIDiskPartition : \\WIN81-REF\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0" \\WIN81-REF\root\cimv2:Win32_LogicalDisk.DeviceID="E:"]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[New ZTIDisk : \\WIN81-REF\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[New ZTIDiskPartition : \\WIN81-REF\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #1" \\WIN81-REF\root\cimv2:Win32_LogicalDisk.DeviceID="C:"]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[New ZTIDisk : \\WIN81-REF\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[ZTIUtility!GetAllFixedDrives = E: C:]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[No task sequence is in progress.]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Not running within WinPE.]LOG]!><time="08:32:25.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[DeploymentMethod = UNC]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Validating connection to \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Mapping server share: \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Mapped Network UNC Path Z: = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Found Existing UNC Path Z: = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Successfully established connection using supplied credentials.]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[DeployRoot = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property DeployDrive is now = Z:]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[DeployDrive = Z:]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Phase = CUSTOM]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Validating connection to \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Mapping server share: \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Found Existing UNC Path Z: = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Found Existing UNC Path Z: = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Successfully established connection using supplied credentials.]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property DeployDrive is now = Z:]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[DeployDrive = Z:]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Validating connection to \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Mapping server share: \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:26.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Found Existing UNC Path Z: = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Found Existing UNC Path Z: = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Successfully established connection using supplied credentials.]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[DeploymentType = CUSTOM]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[ResourceRoot = \\2012R2_TEST\CaptureShare$]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property ResourceDrive is now = Z:]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[ResourceDrive = Z:]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[SMS Task Sequencer already found on C:\MININT\Tools\X64]LOG]!><time="08:32:27.000+000" date="03-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    Thanks for your reply. 
    The pc is not in the domain when i run litetouch. It was joined after install, then i run some local gpos/scripts against it, install all of the shared printers from servers, then i put it back in a workgroup, login as the local administrator, delete the
    domain profiles and guids in the registry, briefly connected back to a domain server [not with a mapped drive] to copy a couple of files, rebooted into the local admin account an ran litetouch. 
    After running litetouch.wsf the first time in the windows 8.1 pro vm [no changes, but manual connection] it rebooted without sysprepping or taking an image
    I deleted the task sequence and created another one with "sysprep and capture" as the sequence.  i made no changes to the task sequence. did all of the above, ran litetouch, and it just reboots. sysprep does not run and windows pe does not load. 
    if i run sysprep and boot into audit mode [as a test, since my windows 7 vm snapshot was in audit mode when it runs litetouch.wsf], then run litetouch, sysprep works, then it DID capture an image, but after that image was capture and the VM rebooted, i got
    this error when loading windows 8
    "windows could not complete the installation. To install windows on this computer, restart the installation" and if i hit ok it will reboot and error out again. 
    Haven't had any issues with that VM until now. 
    I reverted to my snapshot and just ran sysprep oobe w/ generalize to see how it would react
    it failed, setuperr.log shows SYSPRP failed to remove apps for the current user. some searching gives me information on that and makes me think its related to adding/deleting user profiles? i dont actually use or update the apps at all, i have a deploy task
    that removed most of them and customizes the start screen and those seem to work without issue. 
    found this as my reference: http://support.microsoft.com/kb/2769827/en-nz
    Sysprep has an additional provider that is added in Windows 8 to clean appx packages and generalize the image. The provider will only work if the Appx package is a per-user package or an all-user provisioned package.
    and
    Resolution
    The correct way of removing the package is to remove the package for the user running sysprep and also remove the provisioning. This can be done using the following Powershell cmdlets:
    Import-Module Appx
    Import-Module Dism
    Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation
    if i run that i get a lot of 
    [unknown user]: installed
    Do I just need to revise my process and start from scratch? or at least just never actually join the domain and user other profiles? thats a convenience thing so its not a big deal, really.
    I have an image made in a similar way that works, but doesnt have quite all the updates/changes i wanted. It captured [at the time] fine and installs without issue
    Heres an overview of what I do [i am open to some revisions on this]
    -deploy windows 8 base install from MDT
    -join domain, login with service account [just makes getting to some things easier]
    -install office 2010 pro plus w/ sp2 [i do understand that these can be set as an MDT app but the install takes a while and i dont like waiting on it if i dont have to]
    -install windows updates [no WSUs server currently, on my future to-do list, not my decision right now and i do understand the benefits of having one]
    -connect to servers and install all network printers [we have so many that i dont want to wait on the drivers when we do a big roll out soon]
    -install oracle software [i can get it to automate in windows 7, not 8, so i dont want to manually deal with it post-install]
    -install adobe reader/java [i do understand that these can be set as an MDT app]
    -leave domain, reboot, login as local admin
    -clean domain profiles/registry guids
    -make some local gpoedits [we dont have 8.1 enterprise and just want the start screen locked down]
    -install our AV network agent
    -lite touch. 
    any advice is appreciated

  • "Date Created" incorrect in Finder after copying image files from CF reader

    Whenever I download image files (by drag and drop copying) from a CF card reader, the 'Date Created' info incorrectly defaults to 'Dec 31, 1903' in the List view of the Finder window.
    'Date Created' shows up blank in the File Info window, too. Correct file info does however show up in the copied Meta Data.
    I've only been able to transfer correct 'Date Created' info by using Image Capture, which is pretty annoying.
    I've tried several cameras, CF cards, USB & FW card readers, and Macs running both Panther and Tiger. Same problem all around. Interestingly, files copy without a problem onto a PC.
    I'm a photographer and I need to sort my images by 'Date Created' because I often shoot with two cameras and need to know the chronological order in which photos were taken.
    Ideas anybody?
    G5 Mac OS X (10.3.9)
    G5 Mac OS X (10.3.9)
    G5   Mac OS X (10.3.9)  

    stqn wrote:
    photorec ?
    Edit: I see that testdisk and photorec belong to the same package... Still it looks like it should be the right tool for the job; but I might be wrong as I never used it.
    Used it a couple of times, my daughter wiped photos from her mobiles memory card by accident .... Linux to the rescue
    Last edited by Mr Green (2010-12-21 11:01:01)

  • Use Referenced Masters To Avoid Accidentally Deleting A Master Image File

    If you use Managed images it is possible to delete the master file accidentally.  If you delete versions of an image using File -> Delete Version and the version you are deleting is the last remaining version for that image, Aperture 3 will delete both the version and the master image.  If you subsequently empty Aperture Trash and then System Trash that master image file is gone forever.  In Aperture 3 there is no warning that you are about to delete a master image. 
    A workaround (although a weak workaround) is to use Referenced Image Masters.  Then when you delete the last version which includes the master image from Aperture, you can uncheck the box "Move referenced file to system trash." and no master image file will be deleted.  The downside to this workaround is that when you really want to delete a master image file, it must be done via Finder.
    The best solution would be for Apple to fix this bug so that when you select "Delete Version" it only deletes the version image and reverts to the master image.  That way the master image can only be delete via the command "Delete Master Image and All Versions."

    There is no bug there.
    I had some trouble wrapping my mind around the file-Master-Version-Image-(Preview) complex that flows, sand-like, through the entire working of Aperture.  (I like a thing to be represented by itself and itself alone, and to exist in one place and one place alone.  I was comfortable with the seeming precision of the location-based "file+path" metaphor for the existence of these virtual things.  Aperture quite cleverly moves beyond that.)  Two things helped me move forward:
    - understanding the difference between Projects and Albums, and
    - separating my Library into a storage area and an output area.
    Projects are, for me, storage containers.  (I have said elsewhere that the mis-naming of "Projects" is the single worst interface decision made in Aperture.)  They have a privileged relationship with your Images:  every Image must "live" in a Project, and "lives" in only one Project.  It may help you to think of "Image+Project{Path}" as functionaly equivalent, within the Aperture Library, to the file directory "file+path" mentioned above.
    Albums are, for me, output containers.  I create Albums every time I know I will output a set of Images.
    In practice, I work on Images in each.  In general, I develop my digital captures in the Project that holds them (and I rigorously stick to "One Project = One shoot"), I create Versions and add them to Albums as needed for output (they are automatically made the Album Pick), and I tweak them for output and then output them from Albums.
    You may be wondering (if you've read this far) -- "What has this got to do with deleting Masters?"  A lot.  Note the difference in the context-menu between a Version in a Project and a Version in an Album.  The menu for the Album contains two delete commands: "Delete Version", and "Remove from Album".  The Versions live in Projects, and only visit Albums.  As Terence correctly points out, if you delete the last Version, your expectation should be that you are deleting that Image from your Library.  My suggestion is that you adopt something similar to what I've set up, and delete Versions from ONLY Projects (never from Albums).  This way you will never unknowingly delete the last Version (because Images can be in only one Project, and if you delete the last Version from that Project you know you are expunging that Image from your Library).

  • Ntsc video signal to image file with PXI-5114?

    Is it possible to use a PXI-5114 digitizer to capture a NTSC video signal and reconstuct a single frame to be saved as an image file?

    Hi Jason,
    I think the example Kyle posted is for the NI 5112 digitizer, which has to use an IMAQ board to video trigger since it does not support video triggering. However, the 5114 is one of the boards that does support video triggering, including the NTSC format. More information can be found in the digitizers help manual (online here). If you are using LabVIEW, we have a basic video triggering example that you can take a look at and try out (the example is called "niScope EX Video Triggering.vi" and can be found from the LabVIEW Example Finder or by going to Start » Programs » National Instruments » NI-SCOPE » Examples from your Windows start menu). If you need to acquire the entire frame, that will probably require you to sample a very large amount of data, in which case you may or may not be able to stream it to disk. In the best case, you can acquire the entire frame in a single record without having to do any streaming to disk. Otherwise, you may need a digitizer that can stream high throughput to a hard drive RAID or something of the sort if you plan on acquiring a large amount of data. Worst case is that it is just too much data, too fast, and it cannot be streamed. Perhaps with more details of the signal and your expected sample rate, we may be able to provide some additional guidance on the possibilities of acquiring the entire frame. Hope this helps!
    Daniel S.
    National Instruments

  • Resolving image file name in an UIImageView subclass

    I have created a class inherited from UIImageView, and I'm instantiating objects of that type in Interface Builder (by adding an UIImageView to the current view and setting its type to my subclass).
    What I want to do is to resolve the name of the image file specified in IB for that UIImageView (even if doing so is not guaranteed to be standard code). The rather obvious place to do this is the initWithCoder method of my class.
    This method gets indeed called during the instantiation of the nib file, and I can get some info out of the decoder object. However, I don't know how I could get the name of the image file specified for that UIImageView. The xib file has a <object class="NSCustomResource" key="IBUIImage"> section inside which there's a <string key="NSResourceName"> tag which specifies the file name. However, I don't know how to retrieve it from the decoder.
    (I suppose it should be retrieved using [decoder decodeObjectForKey:] but I have no idea what the key could be.)
    Any suggestions? Are there any other possible approaches to this (perhaps even official ones)?

    WarpRulez wrote:
    This must by possible, rather obviously. If it wasn't, then there's just no way the UIImageView could possibly set up itself according to the data in the NSCoder object. It has to somehow be able to, among other things, retrieve the name of the image file so that it can load it.
    UIImageView doesn't load an image file, it's inited with a UIImage that was in turn inited from the contents of a file. I don't think any info about the location of the original file is needed by or given to UIImageView.
    If the file path were saved anywhere it would be in UIImage. I'm looking at UIImage.h right now and don't see anything that looks like it might store a path or url. If you could subclass UIImage, you could override imageNamed to capture the path. But I sure don't see any way to get IB to buy into a UIImage subclass. IB doesn't expose UIImage anywhere I know about.
    There've been some similar threads here. One developer wound up naming all the image files with numbers (e.g. 001.jpg, 002.png, etc.) and setting imageView.tag to the number.
    Pending a more favorable discovery, why not go for a manual method for now? E.g. if you're matching all the images with UIImageViews in IB anyway, why not just log the path names and tag numbers in a plist and pull that into a dictionary at run time?
    I know you're not going to like my suggestion after all the time you've spent looking for an elegant solution. Trust me, I +really really+ wish I could've just written, "The path name key is "UIImageSourceURL". Then you'd be happy and I'd be happy. I've almost given up helping with "How can I do this?" questions when the answer is "You can't". It's a thankless task

  • Postworking B/W RAW image file...

    Hi, I am not sure that this is the right forum. Forgive me if it is not and please help me, if you can.
    Okay, that's the problem>
    I have a B/W RAW image file and I would like to leave it B/W with one exception. One object in the image should have it's original color (red), while the rest is still b/w.
    How do I do this? Do I need some plug ins or is it just plain easy and I'm just asking a stupid question? I never worked with RAW formats before...
    Thank you!!!!!!!!!!!!
    Lu.

    From a Nikon point of view, a Nikon Raw file even taken in BW mode on the
    camera will have all of the color information still intact.
    Conversely, if you have the original color Raw image you can convert it to
    B&W.
    If you are using Nikon Capture NX, you can use the lasso, or selection tool
    to outline the object you want to be red and bring the color info back in.
    Or invert the selection and do the color to B&W conversion.
    If you're using Camera Raw in Photoshop, there doesn't appear to be a lasso
    or selection tool. Save the image as a tif or jpg in color, then perform
    the operation in Photoshop.
    If you are using Canon or other camera or software, this may or may not
    apply. I have no experience there.

  • HP Photo Creations - Save as image file

    I've just spent the best part of 3 hours creating two photo collages in this application and cannot for the life of me see how I save the project as an image file.
    The only option I have found is to save it as a 'project'.
    Please tell me I haven't wasted my time?
    I even shared it somewhere, rocket something or other.  Can't do anything useful with it from there either.  So I'd like to know how I can delete the published project too please.
    Thanks in advance.

    Hi RWengel.
    You wrote, "It would seem that since you can only share via the program that that this is photo software second  to marketing software."
    The Share function in HP Photo Creations offers sharing via Facebook, Twitter, Pinterest, email, web link, and embedding. In addition, people with whom you share the project can print it in full resolution. How else would you like to share your projects? 
    Incidentally, here's how I used Microsoft's Snipping Tool to capture an image of the fullscreen preview on Windows 7:
    Launch Snipping Tool. Choose Rectangular Snip mode.
    Click Full to set HP Photo Creations project to fullscreen mode.
    Press Alt-Tab to call up Snipping Tool.
    Press Alt-N to create a new snip.
    Click and drag around the area you want on the HP Photo Creations window.
    As mentioned above, the sharing option creates a link to a printable (and re-sharable) version, so it's a better-looking approach. Again, let us know what you're hoping to do with your images and we may be able to suggest a way to do it.
    Thanks for trying HP Photo Creations,
    RocketLife
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • [Tip] How to protect Image file

    Hello,
    If you have ever wanted to protect your image file,
    especially within your Flash content,
    this article will be helpful.
    First of all, there are some points you need to protect when
    you deliver image data with Flash.
    1. Internet Browser Cache.
    Even though you use 'HTTPS' protocol when you deliver your
    file,
    if it is pass the 'Network (or Protocol) Layer' of your
    machine, it is already in 'plain' data
    (not encrypted), and can be read by Internet Browser.
    Those 'plain' data will be stored in Internet Browser's
    Cache directory.
    There are many Internet Browser Cache reader programs, and
    they can intercept those
    data before the Internet Browser program deletes the cache
    files.
    So, just using 'HTTPS' is not an answer. You need to encode
    your image data
    with your own (or with well known cypher algorithms)
    encoding/decoding methods.
    In this article, I want to explain more detail about this. I
    scramble the image
    so that make it hard to figure out what the original image
    was, not only with human eyes
    but also with 'strong enough' 'Key' length.
    2. Screen Capture.
    Even if you encoded your image data, it will be finally
    shown on your screen,
    without any noises, or any other ugly filters.
    So, you can 'Capture' your monitor screen itself.
    There can be many ways to avoid this. First, you can erase
    the system's 'Clip board'.
    You just can erase it regularly, or you can detect whether
    the Internet Browser -which is
    showing your image data- is active or not and erase clip
    board when it is active (in foreground),
    and hide your Flash area when the browser is inactive (in
    background).
    If a hacker just take a picture of monitor screen with high
    quality Camera,
    you still can avoid that, by showing some black rectangle,
    or any layers on the screen
    regularly only in very short period (like mili-second). But
    I think this way sometimes you feel
    tired or be annoyed when you watch that kind of blinking
    screen.
    == About my code ==
    What I want to present here today is 'modifying(encoding) the
    image' data itself.
    There are many ways you can try for modifying your image data
    and revert it back to original data.
    You can use legacy block cipher algorithms like DES, AES, for
    encoding and decoding the
    image data, because the image data (RGB values) what Flash
    uses is actually a combination of 'bit's.
    But if you decode the 'encoded image' data, you probably use
    'get pixel'/'set pixel' function for
    reconstructing the proper 'RGB' value of each pixel. But I am
    sorry that this function is extremely slow
    so that you need to wait for a couple of minutes to see an
    image.
    So, what I want to show you today is 'Scrambling the image'
    like 'picture puzzle',
    with using 'copyPixels' function which is 'extremely fast'.
    (Actually, there can be many other solutions for this, so
    please don't hesitate to proceed your own research)
    Let's say you have 8*8 pixel size of image blocks, and you
    completely disorder those blocks for
    entire image area. That size of block is too small to figure
    out where it should be, with our
    humble human being's naked eyes. So, you need to know the
    'answer', which is saying what image block
    was originally on which 'cell'. This 'answer' is the 'key'
    for my simple 'image scramble' logic.
    The 'key' I said here, you should understand that, is the
    'key' value of normal 'block cipher' algorithms.
    So, if you know the key, you can rearrange all those 'blocks'
    back, but if you don't know the key,
    simply you can't do that, or you need to wates tremendous
    time for that.
    Here, I use 16*16 size block for your eye's convenience, and
    with 8*8 size of 'matrix' which is
    comprised of each 16*16 size blocks. I mean, one 8*8 matrix
    has 64 blocks, so each block of
    one 'matrix' can be at '1st cell of matrix or 64th cell of
    matrix. So, the 'odds' is 'Factorial of 64',
    which is 64! == 1.268869322e+89 .
    Let's say you know my algorithm (complete source code), and
    you try every different 'matrix' values.
    If it takes 0.001 seconds to test one 'matrix' value you have
    chosen, it will take
    "(64!) / (1000*60*60*24*365) =
    4.0235582250724303685766549129617e+78" Years!!!! to find exact
    matrix value.
    == FLA sample ==
    In my sample *.fla file, I embedded all those 'key' values.
    So, you can not use my sample directly for your
    own project. But I think this sample will give you an useful
    idea for your own implementation.
    <* Exchanging the key values *>
    For example, you need to get the 'key' values from the
    server, only when it is needed.
    You can use 'loadVariables()' function for this purpose.
    But, all data delivered by 'loadVariables()' or
    'getUrl()', or any other functions of Flash, are
    'Cached'.... So, you need to exchange that 'key' values
    more safer way.
    One of that 'safer key exchange' is to use 'token'. For
    example, when the client requests the key value
    to the server, the client should generate an random value (I
    will call it 'token') and send it to the server.
    Now the server modifies the 'key' value 'with the token',
    and sends back to client. Finally, the client
    decode the 'key' value with the token value it generated.
    As you can see, my logic is just 'rearranging each blocks'
    with respond to the given matrix values (key).
    It is really really simple. There in the ActionScript code,
    you can see 3 matrix, and some other variables.
    var chessunit = 16 // Size of block
    var arrayw = 8 // Width of Matrix
    var arrayh = 8 // Height of Matrix
    var arraysize = arrayh * arrayw
    var chessarray = Array (arraysize) // Matrix for decoding
    chessarray = Array
    (64,37,5,35,45,25,52,38,12,61,34,23,3,26,39,58,32,28,17,2,60,16,59,19,57,48,43,18,47,21,4 0,15,31,6,44,46,30,51,27,56,20,24,13,7,42,1,49,54,36,53,9,50,4,8,10,14,33,11,22,63,55,29,4 1,62)
    // In case of the width of an image is not exactly the
    multiple of the width of matrix,
    // we need to encode the right most area of the image.
    // So, I simply use another matrix for only that area.
    // Maybe You can generate more bigger image, of which the
    width of it is exactly the multiple of
    // the width of matrix. And you let the decoder to show only
    the original size of the image.
    // Please try yourself. :)
    var dwArray = Array
    (32,19,3,18,23,13,26,6,31,17,12,2,20,29,16,14,9,1,30,8,10,24,22,11,15,28,7,4,21,25,27,5)
    // In case of the Height of an image is not exactly the
    multiple of the Height of matrix,
    // we need to encode the bottom most area of the image.
    // So, I simply use another matrix for only that area.
    // Maybe You can generate more bigger image, of which the
    Height of it is exactly the multiple of
    // the Height of matrix. And you let the decoder to show
    only the original size of the image.
    // Please try yourself. :)
    var dhArray = Array
    (40,23,4,22,29,16,33,24,8,38,21,15,2,17,37,20,18,11,1,10,12,36,30,27,13,25,28,14,19,32,35 ,7,5,26,3,31,34,6,9,39)
    You can change the block size, matrix size, any values you
    want.
    By the way, if the block size becomes smaller, you'll get
    more stronger security level. But you have to
    compensate it with the slow down of the performance.
    ** Ooops, I can not attach my sample *.fla file, but only
    ActionScript code here...
    But I believe you can try without testing my *.fla sample.
    If you really want to test it, please mail me.
    ([email protected])
    ** You need to 'export' image object, with the name of
    "img0".
    == Image encoder ==
    Encoding (Scramble) the original image is also simple. You
    just need to copy each blocks in reverse of
    the 'ActionScript code'. That's all. You just use same
    'matrix', but copy source and target reverse of
    ActionScript code. I think you can write it with any
    languages you like, C/C++, C#, Java, and
    anything.... right?
    == Block cipher ==
    Now, you know that my implementation is kind of 'intuitive'
    representation of 'block cipher'.
    More precisely, it is called 'ECB', which encodes each
    encoding block (matrix) with the key values
    from the beginning to the end. You can twist the matrix every
    time you pass one matrix area of an image.
    It is called 'chaining'. There are some 'chaining' block
    cipher methods like 'CBC'...
    (If you want to know more, please look up "
    http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation
    Thank you for your time to read my humble article,
    and wish you Good luck. :)

    Hello Crandom,
    If you want to encrypt a critical strings, like special
    server script url or parameters, then it is simple.
    The most simple and faster method is to "XOR ing the string"
    with a key string. You use the same key string when you encode and
    decode (by Just using XOR). This is similar to 'Stream cipher'
    algorithms.
    And there is "open source cipher algorithm" (called
    AS-CryptoLib) written in ActionScript, including most of algorithms
    like Hash, Block cipher, RSA... if you want more stronger
    encryption strength..
    But I bet you also want to encode your script logic itself.
    In that case, you should write your own 'Interpreter'. For example,
    you encode all your ActionScript source code string, and decode it,
    and you interpret each script tokens like 'if' 'for' 'while',
    etc...
    Actually, your question also inspired me to think about
    loading script string and run it on the fly.
    Maybe.... we can start from this article...
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16691"
    I suggest you just use commercial SWF file encrypting tools
    like Ameyata's "SWF encrypt". It changes the SWF file structure so
    that usual 'SWF file decompilers' can not read codes properly.
    And.... If you can use Flex2 (for your current project), and
    it is ok with you (If you don't need to change a lot in your
    current project) to use JavaScript to control your objects or
    behavior of SWF file, then I think there is another possible way.
    After you decode the Javascript string, you load a web page,
    or change the content of HTML file already opened, so that your new
    script will be working, as what you wanted to be. But I didn't test
    it :)
    Best regards.

  • Exporting or relocating masters changes the created date on the new image/file/s ?

    When I export or relocate masters onto hard drive (internal or external) it changes the created date? I have tried every option possible with no resolve. Can anyone help? eg. img98007.jpg (arranged by date in aperture and is 12/05/2001) when saved/created on the hard drive the created date will be 27/06/2008????

    I'm afraid you've lost me.
    You started off (it seemed) by asking why the image EXIF date in Aperture was different then the image file date in the Finder.
    The best I can say is that when an image is captured in a camera you get one date. When that image is made into a computer file the file will have another date.
    I want to consolidate/sync all my files over the last decade from iphoto libraries etc. The only way to do this is to import them into aperture then export them to the finder with the correct shot dates so I can sync all images.
    If it changes the created date etc. it will be impossible to do so??
    What do you mean by this? I can understand the consolidate, you want to move all your images from all sources into Aperture, not a problem, but what is the sync part referring to? And why do you feel you need to export them from Aperture once you have imported them?
    And again the created date of a file is the date the file is created it has nothing to do with the image creation date.
    Sorry I can't be of more help,
    regards

  • How do I export a menu screen as a jpeg or image file

    Hopefully someone can help me out with this...I'm trying to take a menu screen that I've built in DVDSP 4 and export it as a still image so I can use it as a picture to place on the box for my dvd. Any suggestions on how to do this? I haven't been able to find anything on it within the user's manual. Any help would be greatly appreciated. Cheers.

    You can capture a section of the screen (while simulating your project) using this key shortcut:
    command + Ctrl + Shift + 4
    the capture will go to your clipboard, and you can use it in i.e. Photoshop.
    Using:
    Command + Ctrl + 4
    you'll get the captured section as a file in your desktop.
    If you use "3" in place of "4" key, you'll get a full screen capture.
    EDIT: I found the link to the tip:
    http://www.apple.com/pro/tips/secretcapture.html
      Alberto

  • Saving an image file in phone memory

    Hi everyone,
    I want to save a file (an image file) in my phone/ memory-card memory.
    i've infact captured it from camera and now want to save in the memory not in the RecordStore.
    What should i do ?
    Please help me.
    Thanks in advance

    hi,
    You will need the pda optional package jsr75 for file connection. Then create a byte vector from the image and then write the bytes to the location
    byte[] bytes = ... // from input stream
    String filePath = "file:///c:/"+aFileName;
              System.out.println(filePath);
              OutputStream os = null;
              FileConnection fc = null;
              try {
                   fc = (FileConnection)Connector.open(filePath);
                   if(!fc.exists()){
                        fc.create();
                   os = fc.openOutputStream();
                   for(int i = 0;i< bytes.length;i++){
                        os.write(bytes);
              } catch (IOException e) {
                   throw new IOException();
              }finally{
                   if(os != null)
                        os.close();
                   if(fc != null)
                        fc.close();

  • Save an image file in my phone/ memory-card memory.

    Hi everyone,
    I want to save a file (an image file) in my phone/ memory-card memory.
    i've infact captured it from camera and now want to save in the memory not in the RecordStore.
    What should i do ?
    Please help me.
    Thanks in advance

    hi,
    You will need the pda optional package jsr75 for file connection. Then create a byte vector from the image and then write the bytes to the location
    byte[] bytes = ... // from input stream
    String filePath = "file:///c:/"+aFileName;
              System.out.println(filePath);
              OutputStream os = null;
              FileConnection fc = null;
              try {
                   fc = (FileConnection)Connector.open(filePath);
                   if(!fc.exists()){
                        fc.create();
                   os = fc.openOutputStream();
                   for(int i = 0;i< bytes.length;i++){
                        os.write(bytes);
              } catch (IOException e) {
                   throw new IOException();
              }finally{
                   if(os != null)
                        os.close();
                   if(fc != null)
                        fc.close();

  • Saving image files - TIFF file extension wasn't acceptable

    Hello! 
    When I save an image on my iMac the default situation appears to be that the file has a TIFF file extension.
    Please review the post I recently made here:     http://www.wilderssecurity.com/threads/why-are-tagged-image-file-format-tiff-fil es-unacceptable-here.370185/#post-2426799
    I should be grateful if someone can shed some light on my conundrum/confusion.  It should be self-explanatory!
    Any help will be gratefully received!
    David B.

    Hello again   So sorry for the delay in replying to folk for the helpful responses.
    If one re-visits my original link one can view a response - in essence, look here:-   https://answers.yahoo.com/question/index?qid=20090125135844AAwqjkB
    After some reflection, I decided to do nothing at all!  However, today I looked under 'Grab' preferences and found that there is no way to change the image format of a screen capture. BUT ..... I then looked under 'Grab Help' and found this ....
    Save screenshots:  After taking a screenshot, choose File > Save, enter a name, add a tag (optional), then choose a folder. Screenshots are saved as TIFF files.
    Convert a screenshot to another format:  Open your screenshot in the Preview app. Choose File > Export, click the Format pop-up menu and choose a format, then click Save. For more information, see Convert graphics file types.
    So I now know what to do if/when I need to switch to another format! 
    Many thanks to rkaufmann87  and Frank Miller2 - your guidance is much appreciated,
    David B.

Maybe you are looking for

  • I need to know the object

    Hi,I'm developing a click listener Class; first I implemented the Mouse Listener class, and then I wrote all the methods of the interface: import java.awt.event.ActionListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; pu

  • Updating Podcasts on iTouch Wirelessly

    How come you can go on the iTunes store and download songs but you can't wirelessly update your podcasts? C'mon Apple in your next update add a soft button to podcasts called 'Update'. It would make your awesome iTouch that much more useful! Thanks!

  • Display timer

    Hi, I need to create a 5 minute countdown timer when it reaches 0 then it starts again and display time from 5 till 0. The time should be in min:sec I have tried using the timer but displaying time correctly is not working for me Thanks

  • Apple?  Hello...Is there anybody in there?  Just nod if you can hear me.

    Has anyone seen any kind of acknowledgment from Apple that there even is a problem? It is clear from the outcry across this and other boards that this latest version is negatively affecting a considerable amount of users. But I still haven't seen App

  • About lisnter

    Yesterday I have seen a lot of error in alert.log,But I haven't slove the problem. Fatal NI connect error 12170. VERSION INFORMATION: TNS for Linux: Version 11.2.0.1.0 - Production Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - P