Saving images to PNG

Hi,
I'm trying to save my images to PNG so that I can upload them on the web. I need the images to be a specific size - which I stipulate via the artboard size.
However when I try to save my images (via File, Save for Web and Devices) the image never saves to the size/outline of the artboard.
Does anyone know why this happens and how I can get my images to save to the pixel size that I need?
I'm using Windows 7 and have Illustrator CS5
Thanks

When you create your original document do you set the profile to Web and check that the ppi/dpi settings are the same as the output you need for your webpage?

Similar Messages

  • Saving image as png

    Hi, i have a simple question, at least i hope so...:
    i tried to save an image in png file format. I tried several possibilities, but always its saying, that its not an image.
    I used "IMAQ Writefile" for this, but the same problem occures with similar VI's. Drawing the image with "IMAQ winddraw" works though.
    So i want to know, if someone could tell me the simplest way of how i can save an image?
    THX
    Sometimes my knowledge is just ... .... lol
    Attachments:
    partbeforsaving.vi ‏27 KB

    Hello,
    Here is a little help.
    I think you need to learn about the basics IMAQ functions, I suggest you have a look at some example (Help > Find Examples and then search for IMAQ).
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    help.vi ‏14 KB

  • Why is Firefox 10 insisting on saving images (jpg, png,gif) as filename.extension.rb?

    After I upgraded to Firefox 10, when I attempt to save images, for example, the firefox-54x62.png on this page, Firefox offers to save the image as "firefox-54x62.png.rb" with image type "PNG image"

    Inspect the MIME database key with the registry editor (regedit.exe) and do a search for that MIME type (file extension) via Ctrl+F.<br />
    Be careful with editing the registry as there is no Undo possible: all changes are applied immediately.<br />
    You can export key(s) before making changes.<br />
    MIME Database : HKEY_CLASSES_ROOT\MIME\Database\Content Type
    You can also check those file extension in the main HKEY_CLASSES_ROOT\ branch.

  • TS3276 Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Having trouble sending jpeg images as attachments in Mac email.....they go thru as images and PC users can't see the SAVE or QUICK LOOK boxes that Mac mail has.  One friend scrolled over the image, right clicked on it and saved as a PNG file.

    Apple Mail isn't going to change the format of any of your attachments. it isn't going to corrupt them either.
    Exchange is a transport protocol and server. The issue you describe is not related to Exchange.
    There are many different versions of Microsoft Outlook in use and they all have e-mail bugs. Different versions have different bugs. Some Apple Mail hack to get around a bug in Outlook 2003 may cause the same message to be problematic in Outlook 2000. Fix them both and another issue will cause trouble in Outlook 2007. You can't fix this. Apple can't fix this. Microsoft can and has but that is irrelevant if your recipients are using older versions.
    One specific problem is that Apple Mail always sends image attachments inline, as images, not as iconized files. You can change this with Attachment Tamer. Just be aware that use of this software will break other things such as Stationery. E-mail is just a disaster. To date, no one outside of Apple has ever implemented the e-mail standards from 1993. Apple has continually changed its e-mail software to be more compatible with the de-facto standards that Netscape and Microsoft have unilaterally defined and people documented as "standards" after the fact. The e-mail messages that Apple Mail sends are 100% correct and do not violate any of the original standards from 1993 or the Microsoft/Netscape modifications. The problem is entirely bugs and limitations in various versions of Outlook.

  • "The rasterized image exceeded the maximum bounds for saving to the PNG format"

    Hi everyone, I'm using Illustrator CS4 and encountering the following problem:
    I made a level map in illustrator that exceeds 10000x10000 pixels. When I try to export the image as a PNG, I get the error "Could not complete this operation. The rasterized image exceeded the maximum bounds for saving to the PNG format". I tried saving in JPG and others as well, but got similar errors.
    How can I get around this?

    Here is an interesting discussion: http://bytes.com/topic/php/answers/735556-png-maximum-dimensions
    -- although the dimensions there are way larger than your paltry 10K x 10K. It appearts not to be a limitation of the PNG format, but solely from the software used.
    Here's a question. What on earth do you think you need 10K x 10K PNG files for?

  • Why do the file extensions (.jpg .gif .png) no longer appear when I click on a previously saved image to use that image's file name (particularly important when saving a series of images using the same root name)?

    I save a lot of images using firefox, often times from a large batch or series of images. It used to be that I would click on a previously saved image and the entire file name including the file extension (i.e. image_example.jpg) would appear in the "save as" line. Now when I click on a previously saved file, the file name appears without the file extension (i.e. image_example). Which means I have to manually type .jpg every time. For a large collection of images that I am hoping to use the same root file name and then add chronological numbers at the end, this has become incredibly frustrating, especially as it is a previously unnecessary task.
    I am using a new Macbook Pro and maybe there's something Apple related to this...? It did not happen on my old PowerBook G4. I have file extensions turned on in System Preferences.
    It should be noted that I have searched high and low and have even gone into the Apple Genius Bar where they were just confused as I was and of course ended by urging me to use Safari (shocker!) as it has all kinds of new extensions and bells and whistles. I seriously feel alone on an island with this dumb, hard to google problem. Thanks so much for any help anyone out there might have.
    I mean: is this as simple as changing a setting in about:config?
    Your assistance is greatly appreciated.

    Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences.  And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro.  I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.

  • How to close saved image?

    hi 
    I can't close the saving image after i created it. It becomes read only and  i get error  unless i exit from application when i want to create it again  i think it remains open.
    Would you help me how i can solve problem?
     ofd.Filter = "Image Files|*.jpg;*.png;*.gif;*.bmp;|All Files (*.*)|*.*"
            If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then
                TextBox1.Text = ofd.FileName
                Dim img As Image = Nothing
                Dim sfilename As New System.IO.FileInfo(ofd.FileName)
                Dim yol As New FileInfo(TextBox1.Text)
                Dim f As String = System.IO.Path.GetFileNameWithoutExtension(ofd.FileName)
                Dim path As String = yol.Directory.FullName & "\" & f & yol.Extension Dim fs As FileStream = sfilename.OpenRead()
    Dim outputStream As Stream = New MemoryStream()
    AddWatermark(fs, TextBox2.Text, outputStream)
    fs.Close()
    sfilename.Delete()
    img = Image.FromStream(outputStream)
    Using savingImage As New Bitmap(img.Width, img.Height, img.PixelFormat)
    Using g As Graphics = Graphics.FromImage(savingImage)
    g.DrawImage(img, New Point(0, 0))
    End Using
    savingImage.Save(path, ImageFormat.Jpeg)
    PictureBox1.BackgroundImage = Image.FromFile(path)
    End Using
    outputStream.Close()
    img.Dispose()Public Sub AddWatermark(ByVal fs As FileStream, ByVal watermarkText As String, ByVal outputStream As Stream)
            Dim img As Image = Image.FromStream(fs)
            Dim font As New Font("Verdana", 32, FontStyle.Bold, GraphicsUnit.Pixel)
            font = FontDialog1.Font
            'Adds a transparent watermark with an 100 alpha value.
            Dim color As Color = Color.FromArgb(100, 0, 0, 0)
            'The position where to draw the watermark on the image
            Dim pt As New Point(10, 30)
            Dim sbrush As New SolidBrush(color)
            Dim gr As Graphics = Nothing
            Try
                gr = Graphics.FromImage(img)
            Catch
                ' http://support.microsoft.com/Default.aspx?id=814675
                Dim img1 As Image = img
                img = New Bitmap(img.Width, img.Height)
                gr = Graphics.FromImage(img)
                gr.DrawImage(img1, New Rectangle(0, 0, img.Width, img.Height), 0, 0, img.Width, img.Height, GraphicsUnit.Pixel)
                img1.Dispose()
            End Try
            gr.DrawString(watermarkText, font, sbrush, pt)
            gr.Dispose()
            img.Save(outputStream, ImageFormat.Jpeg)
        End Sub
                                                      

    Hi,
     Here is a small example that does the same thing as your code i believe and will overwrite the opened image with the watermarked image.  Perhaps you can arrange your code to follow these steps.
    Imports System.Drawing.Imaging
    Imports System.IO
    Public Class Form1
    Private Img As Bitmap
    Private wmFont As New Font("Verdana", 32, FontStyle.Bold, GraphicsUnit.Pixel)
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Using ofd As New OpenFileDialog
    ofd.Filter = "Image Files|*.jpg;*.png;*.gif;*.bmp;|All Files (*.*)|*.*"
    If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then
    Dim frmt As ImageFormat
    If Img IsNot Nothing Then Img.Dispose()
    Using i As New Bitmap(ofd.FileName)
    frmt = i.RawFormat
    Using g As Graphics = Graphics.FromImage(i)
    Using sb As New SolidBrush(Color.FromArgb(100, 0, 0, 0))
    g.DrawString(TextBox2.Text, wmFont, sb, New Point(10, 30))
    End Using
    End Using
    Img = New Bitmap(i)
    End Using
    Img.Save(ofd.FileName, frmt)
    If PictureBox1.Image IsNot Nothing Then PictureBox1.Image.Dispose()
    PictureBox1.Image = Img
    End If
    End Using
    End Sub
    End Class
    If you say it can`t be done then i`ll try it

  • Turning image traced PNG to paths?

    Hello, I am trying to make a crack wall texture effect on some text in illustrator cs6.
    I have some crack texture photoshop brushes I really like, so I brushed on a blank psd canvas and saved it to PNG with transparent background.
    I placed that in illustrator and image traced it so that it would create the paths for the cracked effect, but I can't seem to get it to make the paths for me.
    I'm trying to do this so I can use the outlined brushes to erase the text layer with the traced crack png, removing the proper paths from the text layer so the text layer is now transparent where those cracks are.
    Is there an easier way to do this or something I'm missing in the live trace feature?
    Thanks!

    Wow, that was simple.
    Thanks.
    Now is there a way for me to use pathfinder to erase that part of the text?

  • "error while saving image"

    has anyone had the problem where, when they select option and tap an image (in my case i pulled one from my email using an image i uploaded from my drive) and gotten an error that says "there was an error saving image" and your only option is 'ok'? i've read other forums and understand that jpeg's are the ideal form, and this had a .jpg extension.
    any thougths anyone?
    so many thanks in advance.
    -wren
    Post relates to: Pixi Plus p121vzw (Verizon)

    hey thanks , but my jdbc pool and driver is fine. what may be the problem and I am not able to change the type to BlobDomain in eo. The type i Blob only may be this is the problem how can I change it to Blob Domain

  • Saving images from camera raw in new CC suite

    Hi Im having trouble re saving images from new adobe cc bridge camera raw, images once saved then show in bridge with no adjustments done in camera raw and the images are downsized to KB size images even from a 9.20mb raw image, Ive looked at setting or rather preferences and totally lost please help!!
    Thank you
    Jon

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/bridge

  • Saving image to a folder not working on azure

    I am saving image
    files to a folder in my application and saving its path in database . Image uploads working fine when I am running locally
    and its path is also storing.When I deployed it on azure it
    gives an error that " An error occurred while processing your request ". I have two tables in my database . First one where text is saved is working fine on azure but image upload thrown this error.
    I am using this code
    to upload
    image and its works fine when I am running locally. Need help ?

    Hi,
    Have you made any progress ?
    May I ask what application is it that you are running ? You mentioned that it works locally but not when deploying to Azure. Have you checked the connections strings?
    If you are still having any difficulty in understanding the code, perhaps you could post it on the below blog.
    http://blogs.msdn.com/b/onecode/archive/2014/08/28/sample-of-aug-28-how-to-store-the-images-in-sql-azure.aspx
    Regards,
    Mekh.

  • Convert a Tiff Image to png and show

    Hello;
    I wanto to convert a Tif image to png and show this in my web page but i dont want to save the png iamge in my server.
    Actualy i do that:
    byte[] bytes = imagenData;
                    ByteArraySeekableStream tiffStrm = new ByteArraySeekableStream(bytes);
                    String[] CdcNms = ImageCodec.getDecoderNames(tiffStrm);
                    ImageDecoder tifDecoder = ImageCodec.createImageDecoder(CdcNms[0], tiffStrm, new TIFFDecodeParam());
    //                 Check the number of pages
                    int IFDs = tifDecoder.getNumPages();
    //                 Get the first page
                    RenderedImage ren = tifDecoder.decodeAsRenderedImage(1);
                    byte[] bytes2 = doSingleConversion(ren);AND
    protected byte[] doSingleConversion(RenderedImage tifImage) throws Exception
              byte[] bytes = null;
              String out = "temp.png";
              try {
                   //      Create the PNG file
                   PNGEncodeParam pngParm = PNGEncodeParam.getDefaultEncodeParam(tifImage);
                   JAI.create("filestore", tifImage, out, "PNG", pngParm);
                   //Read the file into a byte array
                   File f = new File(out);
                   FileInputStream in = new FileInputStream(f);
                   bytes = new byte[(int) f.length()];
                   in.read(bytes);
                   in.close();
                   return bytes;
              catch(Exception e) {
                   e.printStackTrace ();
                   throw(e);
         }But this code save de image in the server; it�s posible do it without save.

    Numbers the iWorks program? Not sure you can convert it to that or just a list of numbers. Never heard of anyone that would even want to convert an Image file, Photo, to any other format. Other then another image format like JPG, PNG or a PSD Photoshop file.

  • Data type for Saving Image in SQL database

    Hi,
        Which is the best way for saving images in the database? Filestream or Varbinary(max)?. Will the Varbinary max comsume much space or it will only take the actual size of the data?

    I've used FILETABLE for storing images in SQL 2012
    You can configure it to have transact and non transact access if you want
    see
    http://visakhm.blogspot.in/2012/07/working-with-filetables-in-sql-2012.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How do I stop Firefox from grabbing my saved images and coverting them to Firefox?

    I am working on images in Dreamweaver and Adobe Photoshop, and when I try to save them, Firefox coverts them into Firefox images with a Firefox icon and then I can't edit them properly in Photoshop or Dreamweaver. How do I stop Firefox from grabbing my saved images? in English

    I will try that, but it's pretty time consuming to have to check that for each of my images. I am a web designer and I work with a lot of images.
    Is there any way to set that globally for all of my saved images?

  • Saving image using mobile into sap R/3

    We are using sap mobile platform version 2.3 and our client requirement is to save images using mobile apps.
    We already saved images in mime repository but for this we have to required client modifiable , but due  to security reason we can't do this.
    Please Help.

    Hi Nilesh ,
      I had a scenario to attach image to pr05 transaction from mobile, so that when click view attachment button in pr05 i can see the image . My code is based on that .
    it is the function module with import parameter base64 string and filename ,last three letters of the file name proceeding the . is the extension
    in your case you need to create custom object type instead of  BUS2089 .
    Do research regarding that ..
    -->Local Workare declaration.
       DATA : ls_fol_id   TYPE soodk,
              ls_obj_id   TYPE soodk,
              ls_obj_data TYPE sood1,
              ls_content  TYPE soli,
              ls_folmem_k TYPE sofmk,
              ls_note     TYPE borident,
              ls_object   TYPE borident.
    **--> Local internal table declaration.
       DATA : lt_content   TYPE STANDARD TABLE OF soli,
              lt_url_tab   TYPE STANDARD TABLE OF so_url,
              lt_objhead   TYPE STANDARD TABLE OF soli.
    **--> Local variable declaration.
       DATA : lv_filename            TYPE string,
              lv_file_name_with_path TYPE chkfile,
              lv_stripped_name       TYPE string,
              lv_name                TYPE char30,
              lv_url_tab_size        TYPE sytabix,
              lv_ep_note             TYPE borident-objkey.
       ls_object-objtype = 'BUS2089'.
       ls_object-objkey  = '001095510000020022'.
       ls_obj_data-objdes = I_FILE_NAME.
       ls_obj_data-file_ext = I_FILE_EXT.
       CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
         EXPORTING
           buffer     = I_FILE
         TABLES
           binary_tab = lt_content.
       CALL FUNCTION 'SO_CONVERT_CONTENTS_BIN'
         EXPORTING
           it_contents_bin = lt_content[]
         IMPORTING
           et_contents_bin = lt_content[].
    **--> Getting folder ID to save data
       CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
         EXPORTING
           region                = 'B'
         IMPORTING
           folder_id             = ls_fol_id
         EXCEPTIONS
           communication_failure = 1
           owner_not_exist       = 2
           system_failure        = 3
           x_error               = 4
           OTHERS                = 5.
       IF sy-subrc = 0.
         ls_obj_data-objsns = 'O'.
         ls_obj_data-objla = sy-langu.
         ls_obj_data-objlen = LINES( lt_content ) * 255.
         CLEAR ls_content.
         CONCATENATE '&SO_FILENAME=' I_FILE_NAME '.' I_FILE_EXT INTO ls_content.
         APPEND ls_content TO lt_objhead.
    **-->To Create an Object and Move to a Folder
         CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
             folder_id                  = ls_fol_id
             object_hd_change           = ls_obj_data
             object_type                = 'EXT'
           IMPORTING
             object_id                  = ls_obj_id
           TABLES
             objcont                    = lt_content
             objhead                    = lt_objhead
           EXCEPTIONS
             active_user_not_exist      = 1
             communication_failure      = 2
             component_not_available    = 3
             dl_name_exist              = 4
             folder_not_exist           = 5
             folder_no_authorization    = 6
             object_type_not_exist      = 7
             operation_no_authorization = 8
             owner_not_exist            = 9
             parameter_error            = 10
             substitute_not_active      = 11
             substitute_not_defined     = 12
             system_failure             = 13
             x_error                    = 14
             OTHERS                     = 15.
         IF sy-subrc = 0 AND ls_object-objkey IS NOT INITIAL.
    *            COMMIT WORK AND WAIT.
           ls_folmem_k-foltp = ls_fol_id-objtp.
           ls_folmem_k-folyr = ls_fol_id-objyr.
           ls_folmem_k-folno = ls_fol_id-objno.
           ls_folmem_k-doctp = ls_obj_id-objtp.
           ls_folmem_k-docyr = ls_obj_id-objyr.
           ls_folmem_k-docno = ls_obj_id-objno.
           lv_ep_note = ls_folmem_k.
           ls_note-objtype = 'MESSAGE'.
           ls_note-objkey = lv_ep_note.
    **-->Link the object ID to trip No.
           CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
             EXPORTING
               obj_rolea      = ls_object
               obj_roleb      = ls_note
               relationtype   = 'ATTA'
             EXCEPTIONS
               no_model       = 1
               internal_error = 2
               unknown        = 3
               OTHERS         = 4.
           IF sy-subrc = 0.
    *            COMMIT WORK AND WAIT.
           ENDIF.
         ENDIF.   " SO_OBJECT_INSERT
       ENDIF.       " SO_FOLDER_ROOT_ID_GET
    ENDFUNCTION.

Maybe you are looking for

  • PDFMaker missing files issue with PDF Forms from Office 2007

    Hi, I have Adobe PDF 8.0 Pro installed  (full installation) and I upgraded office from 2003 to 2007 AND Windows from 2000 to XP Pro. I used to be able to create PDF Forms from an Excel document when using Office 2003. Now, when I choose to create a n

  • Adding rain and lightning to a video?

    I know that Imovie06 had a plugin to insert rain into video footage, unfortunately this seems to have been removed in later versions of Imovie..I also have Final Cut Express but neither software has this plugin..Can someone help me out..I really need

  • PS CC does not open psdx-files

    Hallo, PS CC does not open psdx-files, although I installed the Touchapp-Plugin. In PS CS6 there were no problems.

  • Error: export to excel

    There is a standard functionality in crm 7.0 - export to Excel of search results. Export to Excel doesn't work on some client computers. Error of coding to excel document. Client computers: 1.WinXP SP3 2. MS Excel 2003 (11.8169.8172) SP3 3. IE 7.0.57

  • Regd Changes in the MDM Vender Repository

    Hi All, I have got some changes to the Vendor repository in Sand box and DEV box.  . for example:- Field                         Description House Number                    Deleted Federal Tax ID No                    Changed name to Tax ID 1 Tax ID