How can I export an image from Illustrator same canvas size and custom resolution?

Hey all.  i am using Adobe Illustrator CS5 for creating images for iPhone app icons the size of image 374 px 374 px and 264 ppi. i created an image same size and ppi .the problem after export the image file size changing to  1371px x 1371px and 264 ppi pixel dimension.How can I export same canvas size and same resolution file from illustrator

10111980,
If you just forget about PPI and use Save for Web, you will get the 374 x 374 pixel size.
The 1371 x 1371 pixels is because you somehow increase the resolution by 264/72.
You should never mix pixel by pixel sizes and PPI.
The 374 x 374 pixels is the actual image size. At 264 PPI that will be about 1.417 inches. At 72 PPI that will be about 5.194 inches.

Similar Messages

  • How can I extract an image from a website using HtmlAgilityPack and XPath? (C#)

    Hello, everyone. I have been making a Comic Viewer in C#, and I'm stumped on how to actually load the comics. I installed HtmlAgilityPack
    and I have the XPath for the image I need, so I did some research and added the following code:
    string url = "http://www.gocomics.com/bignate/2015/04/10";
    HtmlWeb web = new HtmlWeb();
    HtmlAgilityPack.HtmlDocument doc = web.Load(url);
    var imgsrc = doc.DocumentNode.SelectSingleNode("//*[@id=\"zoom_content\"]/img").Attributes["src"].Value;
    pictureBox1.ImageLocation = imgsrc;
    However, it throws an unhandled exception and the imgsrc ends up null. What am I doing wrong?

    Hi Ethan,
    As far as I know, Use the //img[@src] as XPath in selectNodes will work.
    HtmlNodeCollection imgs = doc.DocumentNode.SelectNodes("//img[@src]");
    After get the image Value, you should convert it to image in order to show in
    pictureBox1 control.
    Here are the code, I have already test on my side, It works as expected.
    private List<string> retrieveImages(string address)
    System.Net.WebClient wc = new System.Net.WebClient();
    List<string> imgList = new List<string>();
    HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
    doc.Load(wc.OpenRead(address)); //or whatever HTML file you have
    HtmlNodeCollection imgs = doc.DocumentNode.SelectNodes("//img[@src]");
    if (imgs == null)
    return new List<string>();
    //foreach (HtmlNode imgg in imgs)
    // if (imgg.Attributes["src"] == null)
    // continue;
    HtmlAttribute src = imgs[0].Attributes["src"];
    imgList.Add(src.Value);
    //Do something with src.Value such as Get the image and save it to pictureBox
    Image img = GetImage(src.Value);
    pictureBox1.Image=img;
    return imgList;
    private Image GetImage(string url)
    System.Net.WebRequest request = System.Net.WebRequest.Create(url);
    System.Net.WebResponse response = request.GetResponse();
    System.IO.Stream responseStream = response.GetResponseStream();
    Bitmap bmp = new Bitmap(responseStream);
    responseStream.Dispose();
    return bmp;
    In addition, if you still have issues about HtmlAgilityPack, since it is a 3rd open source class.  You can consider posting it in CodePlex forum for more efficient responses.
    https://htmlagilitypack.codeplex.com/
    Now I have moved your thread to "off-topic" forum. Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How come I can't export a image from lightroom 3 that is 600w x 610h?

    How come I can't export a image from lightroom 3 that is 600w x 610h?

    I think thats what I'm doing.  No luck though. Maybe its a bug?

  • How can I manually attach images from my photo booth (imported into iPhoto) to emails? Auto function, in photo booth has my photos lying sideways?

    How can I manually attach images from my photo booth to iCloud emails?
    They are imported as 'events' into my iphoto library.
    Auto function, in photo booth has my photos lying sideways when placed in 'mail' emails?

    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • How can I make different catalogs from the same image

    How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.

    Do not confuse the creation of the crops and the display in collections per crop ratio.
    Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
    The OP asked how to have/see a set of same-crop-ratios.
    After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
    IF the wish is to get new crops automatically added. (See my answers 2+3)
    IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
    1. Select all images you want to have cropped in that way,.
    2. With this selection click on the + to add another collection and fill the dialog box like this:
    Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
    Cornelia

  • How can I export a slideshow from iPhoto to iMovie 09.  I try but it only lets me import 211 out of the 311 photos I have in the slideshow.

    How can I export a slideshow from iPhoto to iMovie 09.  I try, but it only exports 211 out of the 311 photos I have in the slideshow I made on iPhoto.

    how do i change the format to the right one?
    Before you can decide what to do, you have to know what you are starting with. Sony MPEG-1 files would be converted one way while DivX or WMV files would likely be handled in another. Extraneous tracks can be removed directly with QT Pro but if you don't have QT Pro then there may or may not be other work around possibilities depending on the specific audio and video compression formats in use. The best place to start would normally be to double-clic the source file in iPhoto to open it in the QT Player. When it opens in the QT Player, check the "Inspector" window to see what it says on the "Format:" lines. This will tell you the type of audio and video content you are dealing with here. Then come and tell us so we can offer some specific conversion solutions.

  • How can I export a slideshow from iPhoto 9.5.1 ..........

    How can I export a slideshow from iPhoto 9.5.1 as Quick Time Movie? It exports now as m4v.

    That's a Quicktime movie these days. What format did you want?

  • In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone.

    In My iphone 5s,i have disabled automatic download from whatsapp app.So whichever images,video i feel is good i download them and then save them to my camera roll section.So i want to know how can i remove the images from cache of my phone which are downloaded and not saved,but they remain in cache.
    Even in some apps i have data which i want to remove,but cant find a way to remove them and they are in my cache eating up my memory.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • How can I get an image from the screen? Like screen printer in PC to pasting after in word or other program.

    How can I get an image from the screen? Like screen printer in PC to pasting after in word or other program.

    If you do Cmd+Shift+3 you'll get a full screen image saved to your desktop as a jpg file.
    Also, you can use Cmd+Shift+4 and you'll get a cursor which you click+drag to draw a box. When you release the drag the boxed in area will be saved to the Desktop as a jpg file.

  • How do I export my images from iPhoto 9.4, to an external drive?

    How do I export my images from iPhoto 9.4, to an external drive?
    mainly to back them up without using time machine.
    Thanks

    Just the Images?
    File -> Export
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    To back up the Library: that is images, organisation, edit history etc etc
    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store

  • How can I export email addresses from apple mail?

    How can I export email addresses from Apple Mail?
    Just to be CRISTAL CLEAR please don't reply with export instructions from the address book.....not interested in this.
    I have customers that fill-out a request form online, then the data is sent to our database on our server, and another copy is sent to my email account. The server database got corrupted and is now lost. The only data left are in my email app called APPLE MAIL. I have created Filtered Folders so the data is just in one Folder, not mixed with all other emails. Is there a way to export the email names & addresses from APPLE  MAIL to a CVS file or Excel file?
    Again this is not a question related to Apple Address Book. This is ONLY for Apple MAIL exporting!
    Thanks

    There is a collection of AppleScripts called Mail Scripts you can download at this link.
    http://homepage.mac.com/aamann/Mail_Scripts.html
    The script to use from the collection of scripts is Add Addresses (Mail) which adds addresses found in the selected messages (in the header fields "From", "To", "Cc", and "Bcc") to the Address Book. This is much more flexible than the "Add Sender to Address Book" available in Mail and provides a convenient way for creating mailing lists.

  • How can i  read a image from a oracle DB?

    How can i read a image from a oracle DB?
    Because in the DB a have a field that is a picture that i would like to show in a jpanel.....but this field is in oracle DB only has strange caracters ..... so Do i have to read this field like a input stream?....
    Could some body help me please?
    Thanks...
    Mary

    Well I suppose the picture is stored in a blob. If that is so this is some code I have used to load a picture to a panel. Hope you find it usefull.
    PreparedStatement retreive = db.createPreparedStatement("select bl from test where ln = ?");
    Blob bl;
    try{
    retreive.setBigDecimal(1, new BigDecimal(jTFln.getText()));
    ResultSet rs = retreive.executeQuery();
    if (!rs.next())
    System.out.println("Empty Result Set");
    bl = rs.getBlob("bl");
    if (bl == null) {
    System.out.println("Null Blob");
    return;
    InputStream is = bl.getBinaryStream();
    int imageLength = (int) bl.length();
    System.out.println(imageLength);
    System.out.println(bl.length());
    byte[] imageData = new byte [imageLength];
    is.read(imageData, 0, imageLength);
    image1 = new ImageIcon(imageData);
    photo = new JPanel() {
    public void paint(Graphics g){
    g.setColor(Color.lightGray);
    g.drawImage(image1.getImage(), 0, 0, this);
    } catch (BadLocationException ble){
    ble.printStackTrace();
    } catch (SQLException sqle){
    sqle.printStackTrace();
    } catch (IOException ioe){
    ioe.printStackTrace();
    }

  • Hey guys, my question is how can I export midi files from new garageband 10/ 2013? Thanks

    Hey guys, my question is how can I export midi files from new garageband 10/ 2013? Thanks

    77music wrote:
    how can I export midi files from new garageband 10/ 2013?
    unfortunately, like the previous 6 versions of GB, MIDI export is not supported. you would need to open the file in Logic in order to do that

  • How can I export to PDF for Offset printing including color and grayscale photo's?

    After reading dozens of forum, I still don’t found the answer.
    I made a photobook with full-colur and B/W photos for Offset printing. I want the B/W to be in grayscale to avoid color possible color shades. It seems InDesign doesn’t support grayscale, the images become way to dark. Even with exporting without any colour conversion or destination and/or including original colour profiles, the grayscale pictures are being exported to dark to PDF.
    How can I export to PDF for Offset printing including color and grayscale photo’s?

    Yes, the Photoshop & ID CMYK working spaces are the same
    This can get difficult because the 3 programs handle soft proofing differently.
    The working spaces don't matter, it's the document profile(s) that manage the preview. So here is the same grayscale image placed in ID on top and PS on the bottom. I've set my Photoshop info to show the doc profile in the lower left corner. I can see my InDesign's Document CMYK profile in my Proof Setup (the Working CMYK is different and isn't being used). Both profiles are effectively the same Coated FOGRA39 (Black Ink FOGRA in the case of PS).
    But the previews don't match because I have Overprint turned off, so the InDesign preview is Gamma 2.2 or a "screen" media preview.
    If I turn on Overprint preview I get a match because I'm soft proofing for print:

Maybe you are looking for