Saving same png file gives me image with 10x smaller size

Hi.
I would appriciate if someone explained me what I'm doing wrong.
I have a png image, of 256x128 size. It has 8bits per pixel for color. Now this image's size is 97kB. I open it in photoshop, I save it as different png file, and then... this image is 7kB of size.
Can someone tell me what's wrong, or what I'm doing wrong?
Lucas

Ok guys, thanks a lot for patience. Below is the main cause why I started this topic, but I still can't figure it out. I thought the loss of size is the cause, but you say it's not :/
I'm not that skilled as you guys, so that's the primary reason why I'm here. I will be really gratefull if someone could give me a hint here, or some small help.
To cut to the chase, I'm trying to use a program that creates graphics for older games. This program edits particular files, that have different resolutions and different number of bits per pixel. The problem I have however is the transparency and color palette, as I never had dealings with that. The problem is, that someone created before a pictures that are very smooth, and this seems to be the cause of very smart using of transparency levels, for different colors in the palete. However, I have no idea how to achieve the same effect, I tried many things, but still can't figure this out. I will try to ilustrate the problem below.
Below is a screenshot from this application
[img]http://img21.imageshack.us/img21/5396/41135434.png[/img]
On the right is the picture that is the root of my question here. It has to be in the format with palette of collors in amount of 16, although I have no idea where it stores the alpha channel information, as there are 4 bits for color per pixel. Well anyways, you can see on the right top corner the palette. It basicaly has only the shades of gray in this case. I can switch now to the alpha channel mask, and this is what I get:
[img]http://img29.imageshack.us/img29/4089/69176653.png/img]
You can see that each of the colors in the palette has different alpha values. Now what I tried is, I exported the image, I opened it with photoshop, saved it, imported it in the program, and guess what I found in the alpha channel mask:
[img]http://img821.imageshack.us/img821/7104/51957014.png[/img]
All the information of the alpha channel for each color is gone!
Here are the examples with more colors(256):
[img]http://img853.imageshack.us/img853/2108/84834785.png[/img]
The alpha channel mask
[img]http://img718.imageshack.us/img718/4944/25526459.png[/img]
And now, I do the same as before, export it, save it in photoshop, and guess what, all the info is gone again:
[img]http://img577.imageshack.us/img577/8991/50003321.png[/img]
Now loosing this information is not a problem, as I will be inputting different pictures, but my question is, how I can achieve the same effect in photoshop for my images that I will try to import. I would love to have as smooth edges as they are seen on those examples above.

Similar Messages

  • I have an png file that has images how do i display the seperately?

    i have an png file that has images how do i display the seperately?
    how do i clip the image to an object and use that object to display on an canvas ?

    The MIDP API documentation says this of the paint()
    method in Canvas class:
    Operations on this graphics object after the paint()
    call returns are undefined. Thus, the application must
    not cache this Graphics object for later use or use by
    another thread. It must only be used within the
    scope of this method.
    The Drawer.paint() operations are NOT executed after the Canvas.paint() but within !
    So as long as Drawer.paint() does not start a separate thread (which is not the case here), it NO problem :)
    However, you CAN cache the Graphics object, but then you should have some logics like this
    if(cachedGfx != currentGfx) {
    cachedGfx = currentGfx;
    }Brgds,
    Eirik Olimstad

  • Saving large PNG files with ImageIO.write

    I have a program that draws onto a DrawPanel (extends JPanel) which is inside of a JInternalFrame. I have used ImageIO.write to successfully save the drawing as a PNG file, but a most unexpected thing happens if the image to be saved is larger than my desktop resolution. For instance, if the DrawPanel/output image is 1200*1200 pixels in size and my desktop resolution is 1024*768, I end up with a PNG file of 1200*1200 pixels that is a tiled image of the first 1024*768 from the upper left corner of the desired image.
    Here is the portion of code responsible for exporting the image:
    JInternalFrame jif = desktop.getSelectedFrame(); //desktop is a JDesktopPane
    DrawPanel dp = jif.getDrawPanel();
    BufferedImage image = new BufferedImage(dp.getWidth(), dp.getHeight(),
    BufferedImage.TYPE_INT_RGB);
    Graphics2D g2d = image.createGraphics();
    dp.paint(g2d);
    g2d.dispose();
    ImageIO.write(image, "png", targetFile);
    I could very easily prevent the user from saving an image if it is bigger than the desktop resolution, but it is a necessity that large images can be saved.
    Any help would be appreciated.

    I've taken a look at that, on your recommendation, but I get the impression that this will filter the image and throw away information. Is this the case? The image will contain narrow lines and small text, so that woudn't be really be an option. I still want the image to be the full size it should be.
    I had a go at incorporating it into my code, anyway, but I'm not really sure how to. Would I need to capture the image in some way other than with a BufferedImage?

  • Pshop CC -- saving JPG & PNG file size bloat

    Saving JPGs & PNGs from Photoshop CC is creating what I can only describe as a obscene file bloat.  Just recently, what should have been a 7k jpg saved as a 1.1 mb jpg file.  PNGs which should average roughly 100-150k are coming out at 1.3mb.  If I use the "Save for Web", sometimes it gives me the proper sized images.
    I have noticed this on 2 computers --- one a mac & one windows with completely different file sets.  So it is not an issue of my OS, the original files or anything specific to one particular common item.
    FYI -- Doing the same thing with pshop cs6, I get the proper file sizes. 
    I have included a sample image here.  This image is a straight out "save" from pshop CC  -- it is 1.1mb.  However, when I saved the same image as a JPG in pshop cs6, it was 7k.
    Is anyone else experiencing this issue?

    Haven't had a PNG or JPG go wacky here in that way so far...
    I think the issue is revealed by looking in File - File Info in the Raw Data section.  I don't know why, but there are a huge number of <rdf:li> XML elements showing up there with hex values in them.  I don't know what that means, exactly, but I believe the accumulation of that metadata explains the size increase.
    Do any of the terms you see in the raw metadata mean anything to you?  Do you have 3rd party plug-ins that could be responsible for this?
    -Noel

  • Loading images with different horizontal sizes

    I would like to load images with different horizontal
    resolutions (vertical resolution to be the same) dymanically into
    an empty movie clip. I would like them to load with the right hand
    side of the image lined up with the right hand side of my site. I
    have seen many tutorials about how to accomplish the loading of the
    movies, but I cannot figure out how to make them open with the
    right hand side always lined up on the right.
    To be more specific, let's say I have three images of the
    varying pixel resolutions (1200x600, 800x600, and 400x600 for
    example). I would like the horizontal size to always extend away
    from the right hand side of the site with the right hand edge of
    the images always lined up.
    Is this possible to do by loading them into an empty movie
    clip?
    thanks

    When you load an image file into an empty movieClip, that
    clip takes on the dimensions of the loaded content. The
    registration point for the clip is set to the upper left corner.
    So, once the new image is loaded, just set that clip's .x to the
    stage width - the width of the clip.

  • PS saving blank PNG files, display issues

    For the past few days, randomly, photoshop is saving PNGs as blank transparent files. A 640 x 1136px file is 60-70kb.
    There are also some display issues that look like GPU issues but only happening with PS, no other programs.
    New Document looks like this:
    Pasted screenshot into the new doc and moved it around:
    Macbook Pro Retina, 15"

    For Premiere, Picture must be RGB not CMYK (CYMK?) http://forums.adobe.com/thread/1081681

  • CCIR camera in PXI1409 gives black image with synching noise

    After installing a PXI1409 card we added a digital camera. This worked fine. A couple of days later we came back and found that the only image we get is black with white lines on it. The lines appear to be some sort of synching noise, and are only visible with the white reference level set very low.
    We have tried reinstalling the card and the IMAQ software but to no avail. No changes in settings in MAX give a different image.
    Any ideas?

    Hello,
    1409 is an analog frame grabber.
    - Does your camera also generate an analog CCIR signal that you connected to 1409?
    - Did you configure the corresponding channel to acquire a CCIR signal in MAX?
    - Did you try the same camera with a different frame grabber or the same frame grabber with a different camera?
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • How to Open Multiple Files into One Image with a Format Plug-in?

    Basic overview question:
    I'm interested in creating a format plug-in that will open multiple image files and combine them, then provide one image to Photoshop for further work.
    1.  Can an .8bi plug-in receive notification of multiple files to be opened?  (Not unlike Camera Raw).  Or does one absolutely need to use an .8ba Import plug-in to do this?  I would prefer .8bi.
    2.  Assuming yes, could the latter parts of the plug-in interface be used to open just one combined image?
    Thanks!
    -Noel

    1) An import plugin (8bi) doesn't get file information - it has to provide it's own open dialog.  Only a file format plugin gets a file, but only one at a time.  (ACR has some special magic)
    You might want to take a look at the PhotoMerge and MergeToHDR setups with a script driving a plugin.

  • Saved project imports to FCE with a smaller size

    I am learning Livetype and I have created a nice text with a Wand type effect and a green nature background. When I save it and then import it into FCE as a clip, the clip plays ok but there are two problems:
    1 - The whole clip looks much smaller than the once I created in Lifetype. The font is much smaller.
    2 - The green nature background (the type of background I chose) does not import, so basically, I can see the fonts, the effects but with a black background.
    Any idea what is going on. Thanks for the help
    Estela

    Hey there!!!!
    I'm not sure about the size problem (trying viewing your project in full screen in FCE and see if that helps). But, I have had the background issue myself and its an easy fix...
    1. Open live type project.
    2. Drag background layer above the dividing line (a thick bar with three little dots on it)
    This should fix your problem.
    Good Luck,
    -Hooked

  • How can i share a flyer made in Pages containing images as a small size PDF?, how can i share a flyer made in Pages containing images as a small size PDF?

    Hello to all,
    I am a frustrated photographer who is trying to make a flyer for my business in Pages. Of course the flyer will have high resolution images to advertise my work and text to explain my business. But i cannot work out how to then manipulate/save/export ???? my flyer as a PDF small enough to then send out to a potential client. My last attempt my PDF turned out at 30MB. Of course this is  impossible to work with. How do i get a low res - with high quality PDF from something i have made in Pages. I do not have i web and need to solve this so that i can attach the PDF in an email.
    Please any ideas or advice???

    carlaandstelios wrote:
    Hello to all,
    I am a frustrated photographer who is trying to make a flyer for my business in Pages. Of course the flyer will have high resolution images to advertise my work and text to explain my business. But i cannot work out how to then manipulate/save/export ????
    You may reduce the size of the included images on two ways.
    1) Crop the images to the size you need as in Pages the image have original size although the display may be framed.
    2) Use the (menu bar) "Format -> Picture -> "reduce media size" option.
    I would suggest to crop your images manually before or after placing in the Pages document and eventually reduce the color depth to at least 256 colors.
    To export as PDF there are also two ways
    1) Choose (menu bar) File - Print and there from the options "Print to PDF"
    2) Choose Export -> PDF
    I would not let the export automatic do the "Picture Quality" resize as the outcome is often not as expected.
    Lupunus

  • Take screenshot and saves the image to a PNG file

    Hello,
    How can I take screenshot and save the image to a PNG file?
    thanks,
    Avivit.
    Solved!
    Go to Solution.

    this is a quite reproducible problem. Some more clarification on my part might help:
    I have a loop that contains, among other this, (1) a sub-VI that prints-screen and saves as a png and (2) a sub-VI that emails me the png file as an attachment. The 1st sub-VI simply uses the user32.dll to simulate a print-screen key stroke, calls clipbpard get image, and then formats and saves the image to a png file using the built-in VI write-to-png. This loop should update this same png file, because the path does not change. However, I've noticed that while the loop is running the png file does not update. It simply keeps sending the 1st image it took. The image updates if the VI stops and is run again. I assumed the problem was either with the clipboard not updating or the file not writing.
    I think the png file remains open while the main VI (i.e. this loop) runs because I cannot delete the file while the VI is running, only once it stops or is quit. Windows gives me an error that the file is currently in use by labview. Therefore, I think the file is not updated because it remains open.
    I've attached the print screen VI. Feel free to stick it in a loop and give it a try if you don't spot something obviously wrong. I did not include the main-VI that I actually use since it contains a lot of instrument I/O, which would prevent someone testing the VI.
    Attachments:
    PrintScreen.vi ‏18 KB

  • How can I get png files to work on the iPad the same way they work for Android?

    With the Android version, I can select a .png file template for a border, then select a background .png file, layer it under the border so that the background is revealed thru the frame.  When I try to do this with the same .png files on an iPad it does not reveal thru the top layer. Same problem with my vector clip art not vectorized.

    I figured it out myself by going to the settings in the Photoshop Touch app and then selecting the Image Import setting and then selecting the Access Local Photos and then selecting the Always Use Native Photo Browser radio button.

  • How do I open a png file using firefox with windows 7

    In Windows XP I could save an image in the png format then open it using firefox, copy and paste it into an excel spreadsheet. However I can't do this in Windows 7. Has anybody else encountered this problem and found a solution?
    Kind regards

    Hi there,
    Could you describe your workflow and what happens? If you mean that double-clicking on a .png file in a normal folder (Explorer) window doesn't launch it in Firefox, which application is launched when you click it? If you want to make Firefox the default application to handle .png files, you need to change these settings in Windows 7. Unfortunately I don't have it myself (running a Mac here) so I don't remember the exact instructions. But I'm sure you could right-click on a .png file and select "Open With..." and from there manually pick Firefox. Try that and see if you get the results you want!
    Cheers,
    David

  • Why does saving an Illustrator file as PDF cause the image to be reduced on the PDF document?

    When I save a CS5 drawing as a PDF, the drawing is reduced in size on the resulting PDF page. This was not happening a few days ago, and I do not recall changing any settings. In fact, I have been unable to find any setting that affects this problem. Document set up and Page Set Up both show the CS5 page to 8.5x11, but the file properties in Adobe Reader show the PDF page to be 9x11.5 -  which seems to cause the art to be reduced from its size on the CS5 page.
    Can anyone help?

    You should be able to simply select and delete them, if you can't, they might be on a locked layer, or grouped with other locked objects. You can also create trim marks in the save-as PDF process. If you have already saved your .ai file as a PDF with trim marks, you will need to re-save it as an .ai file in order to save it as an 8.5 x 11 PDF without bleed or crop marks. I should mention it's sometimes problematic to edit a PDF in Illustrator, for that reason I suggest you keep your file in .ai fomat as long as possible. Also, there are times when you do want to have bleed in your file.

  • Problems with .png files when printing

    Hi,
    When sending my InDesign document to print (from exported pdf's)
    some of my .png files are showing up with semi transparent boxes
    of a different shade than the surround. This reflects the size of the files.
    On screen these discrepancies are not apparrent.
    Where does this problem lie? In the way I have made the .png's?
    Or a setting in InDesign?
    Or with the printer?
    Any suggestions welcome,
    Thanks
    Nik

    InDesignSecrets » Blog Archive » Eliminating YDB (Yucky Discolored Box) Syndrome
    And .png isn't really a print format...

Maybe you are looking for

  • Spring Flex application on weblogic 10.3

        I have developed an Spring-Flex application. I did the necessary changes to be done in web.xml, spring-config.xml and services-config.xml.  The application is working fine on Tomcat server. But when tried deploying .war of the application on Webl

  • IPod nano 2g is not recognized

    hello, i have a pink 2g ipod nano and the screen is completely off (blank) and when i plug it into my PC, i get the "iTunes cannot recognized this iPod at this time". In the device manager i get the Apple Recovery (DFU) usb driver. I tried resetting

  • Airport w/wireless not working since upgrading to Leopard

    I run a laptop via a NETGEAR wireless system from my main machine. I had no problem until I upgraded to Leopard. Now the laptop doesn't see the wireless via airport. help!!

  • CSV output

    Hello, I have a table x as shown below having 2 columns id and name table x ===== id name = ===== 1 a 2 b 3 c 1 d 4 h 2 i 1 j 3 k 1 l 7 e 2 f And I want the output as follows the output shoud be id name = ==== 1 a,d,j,l 2 b,i,f 3 c,k 4 h 7 e could so

  • 16:9 KEEPS SHARING TO QUICKTIME IN 4:3

    I cannot get my 16:9 project to come out 16:9. I have finished project shot with a Canon GL2 (16:9 squashed setting) first imported into FCP for basic cutting (had to for a specific reason), then output to Quicktime with no format problems. Imports f