Load a picture - crop it and save it back as jpg

Hi,
I need to build a flash application In which I load a jpg, make a selection of it (a mask or something like crop tool) and save it back. Loading the picture and making the mask are not a problem. What I need is some help with saving the edited picture back.
So can you help me with this, or can you give me some tips where to look at.
Thank you in advance!

Hi CaioToOn!
First of all thanks a lot for the reply. Sorry for not doing that sooner, but I wanted to explore it a little before.
My application is almost set, load the image, made the crop, save It to a server with a php and all good until here.
Now I want to drag the image, make a scale of it and for that I used an Matrix (also done).
My problem came when I wanted to position the image holder on X and Y, as soon the picture loads . After doing that my new cropped image goes strange.
I know it seams like a noob question but I'm kinda of stuck.
Can you please take a look at my code here, because it’s drives me crazy and I can’t figure it out.
Thanks a lot,
Andrei

Similar Messages

  • I've got a iPod classic 80g I've got loads of pictures on there and I want to get them off. I've tried something where the files I get off come up as thumbnails which I can't open. Is there any way of getting them off and viewing them as a normal photo?

    I've got a iPod classic 80g I've got loads of pictures on there and I want to get them off. I've tried something where the files I get off come up as thumbnails which I can't open. Is there any way of getting them off and viewing them as a normal photo?

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

  • How can I import photos from iPhoto-library to edit in Photoshop CC? - and save it back to the iPhoto-library?

    How can I import photos from iPhoto-library to edit in Photoshop CC? - and save it back to the iPhoto-library?

    How to access iPhoto images for use in Photoshop
    1. In the Finder, navigate to Users > [user name} > Pictures > iPhoto Library. 
    2. Control-click the iPhoto Library file and choose Show Package Contents.
    3. A Finder window opens that shows the contents. The Masters folder (or called Originals folder) contains all of the photographs that are in iPhoto. 
    Photoshop cannot access this folder, but if you make a duplicate of the folder, the dupe will be accessible -- so:
    4. Control-click the folder named Masters (or Originals) and choose Duplicate. 
    5, Drag the duplicate folder which is named "Masters copy" or “Originals copy” from the iPhoto Library Finder window to the Desktop.
    6. Open images in Photoshop from file on desktop.
    7  Rename the folder and move it elsewhere (probably to the Pictures folder), if desired.  

  • Is there a way to open Excell file from the server and display in the UI and save it back on to the

    Hello there,
    Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)

    Hi Mike,
    Welcome you to the forum.
    You may try:
    SELECT * FROM MyDBNameHere.dbo.OUSR T0
    Thanks,
    Gordon

  • Script inquiry (help please :) - Crop PDF and save as JPG

    I'm sure this will be an easy one for some of you. I want to have a script that takes a PDF of a cover file (usually very wide since it's printed along the front, spine, and back of the book), crops out the crop marks (I have a little code snippet that I found that can do this), prompts for the width of the front cover size (i.e. 6 inches for a 6" x 9" book), and then sets the crop box from the far right edge to the width that was input. I'm trying to put together a little tool for my company's Art Department to save them time creating jpegs of our books covers (there are a lot of them). Their current process is to place the PDF in Indesign on a 6x9 page and export a JPG from there, seems time consuming.
    As an example, a cover file for one of our books, without the trim marks, is 12.625" by 9". The script would prompt a user for the width of the cover, they would input 6" and it would, ideally, set the crop box to be 6" wide and 9" high (not touching the height, since that is already correct), and then save that cropped PDF as a JPG (and not save the cropped PDF so as to leave it untouched after the process is done), preferably with an option to select the output location and even batch run it on a bunch of PDF cover files.
    I'm sure this is possible, does anyone think it will be particularly easy? I don't have a lot of experience but I'm not necessarily looking for a handout since I'm not really bringing a whole lot to the table (but will take one!). Any help or pointers appreciated, or maybe someone who already has something like this could provide some help or resources to get started, even If I have to piece it together from a series of helpful URLs.
    Thanks in advance for any helpful responses I'm anticipating!
    Nick

    Take a look at these two Acrobat JavaScript methods:
    Doc.setPageBoxes():
    http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/common/htm l/wwhelp.htm?context=Acrobat11…
    This function allows you to set the crop box. When you combine this with Doc.getPageBox(), you can then adjust the crop box to e.g. the 6" area you want.
    Doc.saveAs():
    http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/common/htm l/wwhelp.htm?context=Acrobat11_HTMLHelp&file=JS_API_AcroJS.89.530.html
    As you can see, the cConvID parameter allows you to specify the output format - and JPEG is an option.

  • Creating an action to crop straighten and save

    I have scanned in a hundred or so pages from old photo albums, and have a thousand or so more to save.
    I am hoping to use a batch process or script to automate the cropping/straightening & saving, but I can't work out how to get the files saved.
    The album pages do not have a fixed number of images, so the crop/straighten is creating a variable number of images  from 1 to 8 or 9 (maybe more - they are really old photos some of which which are very small).
    So I need to find a way to create an action to crop and straighten (the easy bit), and then to automate the saving without asking for a file name and path for each image - the names created in the crop process are fine.
    Can anyone help please.
    Many thanks

    There is free script which works just fine. Here is entire discussion http://forums.adobe.com/thread/290194. I tested script with Photoshop CC on WIndows and everything works perfect. Download, actually select all and copy from this page http://www.tranberry.com/photoshop/photoshop_scripting/PS4GeeksOrlando/IntroScripts/cropAn dStraightenBatch.jsx. Open text editor and paste then save as cropAndStraightenBatch.jsx file in Presets > Scripts folder or save on Desktop then copy and paste in mentioned folder. Run script from File > Scripts menu without any image open. In the first dialog navigate to folder with scanned photos then in second window navigate to folder where you want to save.

  • How to load images from file system and save in database

    Hello Fellows!
    I have a problem and try to explain:
    Plateform:
    Operating System: Windows 98, Form 6i and Oracle 8
    Table in the database
    Table:Emp_pic with columns i.e. (empno and pic type long raw)
    In forms, I have a data block which contain the columns of the emp_pic table and a control block which have a push button contains the trigger as follow, also attach PL/SQL library i.e. D2kWUTIL.PLL
    When-Button-Pressed (Trigger)
    Declare
    temp varchar2(400);
    Begin
    temp := win_api_dialog.open_file('Open File','d:\pic','*.tif',true,win_api.ofn_flag_default,false);
    read_image_file(temp,'tif','emp_pic.pic');
    end;
    The problem when I pressed the button it does not display open dialog box what is the wrong with the code or else.
    Thanks in advance
    (BASIT)

    What do you mean "it did not work"? You need to post more information, such as what errors you got.
    My guess is that it did work, but it ran on the middle tier, which is where Forms is running. Commands like that need more work to execute on the client.
    Go to the Forms area on OTN and download the Oracle9i Forms Samples. They have demos and source code to move files from the client to the server.
    Coming soon will be a utility called WebUtil which will make this even easier.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • Ipod Classic 160gb transfer data software? Do Apple provide any facilities to recapture all music etc from an ipod classic and save them back into the itunes library or even better onto a separate pc memory or external drive for backup purposes?

    I now have around 3,000 songs on my ipod Classic and still adding. I didn't want to save them in itunes library so I deleted them from there once I had them on the ipod. I have since found out that the ipod music cannot be transferred back to the itunes library nor can I extract them from the ipod directly. Do apple provide such facilities or softwareto do this and, if not, is there any recommended and safe software to perform it? I see from Google that there are plenty of programs available but I want to be sure that what I use is safe, reliable and not breaking any of Apple's terms and conditions. Any advice would be welcome.

    Hello Chris Jones,
    I just found this and I'm trying to figure it out so your post is an excellent starting point, thank you! Since you posted this in Feb are there any things you would change or you found out after doing it? And how is everything running?
    As a data point, I just added a SSD as the startup drive to an older mac pro (1,1) which is only used for Logic Pro and the speed now is amazing. Now I want to see if I can off-load the same things you have dealt with. Any additional insight will be greatly appreciated and thanks again for taking to time to document it.
    ld foster

  • Can I open a PDF and save it as a JPG or GIF?

    I asked on the PageMaker forum about creating a jpg or gif of a book cover I created in PageMaker. The suggestion was to create a pdf of it (no problem), open it in PhotoShop, then save it in the format I need. I don't own PhotoShop, so downloaded the Album Starter Edition. For the book cover with photos on it, only the photos are imported; for the book cover with only text and solid-color boxes, nothing at all is imported. Does anyone know how to get the entire pdf into PhotoShop so it can be saved, intact, as a jpg or gif? Thanks!

    I think Downloader in PSE organizer has capabilty to extract images from PDF.
    Collin- Is there any other way in PSE to extract images from PDF. Pls tell us how hat can be done.

  • This may seem simple, but what is the easiest, most painless way to take an LrPhoto and save it as a jpg of a specific size somewhere in the file system?

    It's not really an export, but if I have to use LrExport to do it, that's fine.

    local settings = {
       -- jpeg settings..
       -- location settings.
    local photos = { catalog:getTargetPhoto() } -- for example
    local session = LrExportSession {
        photosToExport = photos,
        exportSettings = settings,
    session:doExportOnCurrent/NewTask()

  • My iPhone 4S has stopped receiving iMessages, cannot send/load any pictures over whatsapp, cannot join the wifi in my house anymore. What has happened to my iPhone i haven't made any changes?

    My iPhone 4S has stopped receiving/sending iMessages, cannot send/load any pictures over whatsapp and cannot join the wifi in my house anymore.
    Essentially all the things I use my phone for have now stopped working. I constantly have 3G connected (even though i dont want to use it, i want to connect to the wifi in my house) but still when I try to download/ send a picture over whatsapp it comes up with an error message saying the server is unverified, or something equally ridiculous.
    I deleted the app so i could reinstall it (as if that would help), but the app store is started saying "unable to connect", despite 3G, so that bright idea died out pretty sharpish.
    Whenever i try to turn on iMessage, it asks for my Apple ID password, which I know I've typed in correctly because I reset the **** thing about 4 times due to it apparently being "incorrect". Even so, it repeatedly asks for the password over and over as soon as I've entered it, saying it was "unable to connect" before a final "incorrect password" message pops up just to add an extra smack of annoyance.
    I haven't changed a single setting on my iPhone whatsoever. It just suddenly started spiralling into what is now £28/month-worth of pure frustration.
    I don't even have any music or photos on it as I had to free up 3.5GB of space on the **** thing to allow it to update, naively thinking that would solve the problem, but alas it did not.
    I have seen a few questions posted like this one, usually just one of the problems I have, but I seem to have rounded up the whole bunch (lucky me). None of the previously posted questions have received any replies.
    Can some please help me! Honestly, if i see another "unable to..." or "unverified source" pop up again I'll probably smash the thing against the side of my house.
    Cheers.

    On your iPad, go to [Settings > General > Reset > Reset Network Settings] Once that is done, re-connect your iPad to your wifi network.

  • Get image from Excel as shape and Save as .jpg

    Hello,
       I'm fairly new to ActiveX and am having a hard time doing a seemingly simple thing: getting a named image from an Excel file and saving it as a .jpg.  I have seen similar things done for Excel chart objects, but as I understand it images are "shapes" in Excel and I've been unable to find the right method to extract a shape. Please, if anyone could take a look at the attached folder and tell me if I am on the right track, if there is a better way to do this, or if there is a way to do this at all, it would be helpful.  Note that I don't care how efficient a strategy is developed - if I need to save to an intermediate file of another type, that's fine. The only goal is to be able to extract this image and save it with one mouse-click and no manual intervention.
    Folder contains: 1 example Excel file containing the image named "Picture 1"; 1 vi showing the method I've found for exporting Excel charts as .jpg's; and 1 vi with the progress I have made so far trying to pick the image from the Excel file and save it as a .jpg.  
    Thanks in advance!
    Megan
    Solved!
    Go to Solution.
    Attachments:
    GetExcelPicture.zip ‏70 KB

    Hi megan,
    see this link.
    Hope it helps.
    Mike

  • Copy and Save photos in a different location

    Is there a way to copy a picture in iPhoto and save the copy in a different folder on my computer. 

    Yes.  Export the photo out of iPhoto to your desired destination as described in this user tip: Exporting From iPhoto
    OT

  • In SharePoint 2013, some of the userswith contribute or full control rights are not able to edit and save office doucuments to SharePoint library.

    In SharePoint 2013, Office 2010 and IE 8. Office web apps is not configured.
    Some users with Contribute or full control are not able to edit and save documents back to SharePoint library.
    When they try to save they are getting following error:
    1. https://.....pptx is read-only. Do you want to save changes to a different file name?
    2. Project canot access "https://...." 
       Try one of the following
    The file may be temporarily open by another program. wait a momoment and try again.
    A file with the same name may already exists. Save it with a different file name.
    You may be trying to save to a read only folder. Save to a different folder instead.
    Please help me with this issue.
    will be waiting for any suggestions or solutions.
    Thanks
    Krish
    99

    Thanks again for quick response.
    I have requested users who are having this issue to try check in/ check out, and share the results.
    Result with CheckIn/CheckOut:
    User was able to check out but no edit option.
    'Edit Document' option under 'Files' tab was greyed out. I did check permissions every thing seems fine he has full control over the site and document library.
    Please advise.
    Thanks
    Krish
    99

  • Let Users Annotate A PDF In Browser And Save To Server?

    I started this discussion here.
    I have a bunch of PDF documents.  I want users to be able to make annotations in their browser, and save them back to my server.
    If I use Acrobat X Pro and click on "Send For Shared Review", then it behaves the way I want.  However, I don't want to have to manually open Acrobat every time for each file.
    Unfortunately, the Acrobat X SDK doesn't support this feature.
    I heard that there's another way to do this with FDF files and LiveCycle.  Is that right?  How do I do that?
    What I want is very simple.  I want to write a program that will:
    - Take a pdf file from my server.
    - Enable the users to make annotations in their browser, as if I used "Send For Shared Review"
    - Save the annotations back to my server.
    - Merge the annotations into a new PDF document.
    I can do this with Acrobat via the GUI.  I want to write a program that does if for me.  Can I do this with LiveCycle?

    Thanks for the reply.
    I know that having them both is not only unsupported, but has been a huge pain in the rump. However, This team needs Acrobat, and corporate policy as of yet hasn't been edited to allow the removal of Reader.
    While it's been a pain for other issues, The users have been running both for around 12 months now, and the save button has always worked. Suddenly yesterday afternoon (after it had been working in the morning) the save is grayed out. There must be some configuration issue that has caused this...
    I'm near the point of having acrobat uninstalled/reinstalled, and the reg entry we found to get them both working re-applied, but that's kind of a worst case option at the moment.

Maybe you are looking for

  • Bitlocker TPM + PIN on MS Surface Pro 3 using MDT

    We are new to MDT 2012 and are trying to create a task sequence for Surface Pro 3 Tablets. Everything is going OK apart from Bitlocker. We are required to enable TPM + PIN (yes I've read the articles saying PIN isn't necessary on tablets, but securit

  • User not receiving email / corrupt database?

    Much like another recent post, I have a user that can not receive email the emails just sit in the queue. The error on those messages is "[[email protected]]: temporary failure" Here are the twists: 1) We had a power spike a couple of days ago. The u

  • Volume limit not going higher than about 75% ?

    Hi, I just bought an iPod Classic 160GB after my trusty 30GB Video died, and I was denied service. I seem to be having a little problem with it. When I try and put the volume limit all the way up, it sounds louder then it was, but when I want to acce

  • HT5570 i forget my apple application password,even dont know what should i do

    i for my apple itunes password id is [email protected] or tell me how can i chnage new id regrad rajan

  • Specifying folder to synchronize for Microsoft Office users

    Hello, We have a couple remote offices with users setup as mobile users. These users are using Microsoft Office which saves a folder in ~/documents/Microsoft user data files The remote offices connect to the main office using a slow connection ( Cabl