Size of image is getting increased

Hi
I have cross compiled BDB using m68k-elf toolchain.
I'm using motorola coldfire processor with uClinux for our development purpose. Now I need to include BDB into uClinux and flash it into our processor. The flash we are using is 4mb. The image I have built (without BDB) was around 1.3MB. But if I include BDB libraries and make the image, the size of image is 11MB. How can I come out of this problem
After i cross compiled BDB, I have taken the library files created ( libdb.a, libdb-4.5.a ) into romfs/lib and binary files (db_archive, db_dump,db_load.........) into romfs/bin of uClinux distribution and made the image.
I fell that it is not the right process but dont have any idea how to go with. Image size should be less. Can anyone help me
Thanks inadvance
elizabeth

Hi Elizabeth,
Another possible cause of your problem is that you are building static libraries. Each time you link against a static library (in this case the Berkeley DB library for each utility), the footprint of the library is added to the size of the application being built.
You should probably configure Berkeley DB with the "--enable-shared --disable-static" flags. That will generate libdb*.so files not libdb*.a files, and the resulting utilities should be significantly smaller.
Information on static libraries here:
http://www.linux.com/howtos/Program-Library-HOWTO/static-libraries.shtml
Information on shared libraries here:
http://www.linux.com/howtos/Program-Library-HOWTO/shared-libraries.shtml
Regards,
Alex

Similar Messages

  • Increasing size of image?

    i sometimes need to add files to an image file ive made, the .dmg, and i was wondering if theres anyway to increase the size of the dmg as i need to add more to it or do i have to make a new bigger image file?

    Hi Andre
    To resize a diskimage open Terminal and use this syntax
    hdiutil resize -size 80m nameof.dmg
    This increases the size of nameof.dmg to 80 Mbytes
    Make sure your reference path to the diskimage is correct.
    For further details in terminal type
    man hdiutil
    regards roam

  • Re-size an image in using the Image class?

    Is there a way to resize an image using the com.day.cq.wcm.foundation.Image class?  I wanted to extend the foundation image componet and have it resize to a specific height and width.  Is there a way to change the size of the image before you call image.draw(out) ?

    You also don't want to insert you resizing efforts prior to calling the image.draw method. The draw method doesn't actually render the image,  it draws the HTML img tag that your components print out. If you were to use the ImageHelper to get the layer and resize it that would not actually change the size of the image.
    Now that img tag will contain a URL to the image, and that URL will generally look something like this (unless you have customized your image components):
    /path/to/your/page/_jcr_content/par/textimage/image.img.jpg/1323947520848.jpg
    This URL is going to trigger a script or servlet that will be responsible for rendering the image. In the example above because the textimage component extends the parbase component and because URL includes the img selector it will end up triggering the servlet at /libs/foundation/components/parbase/img.GET.java. If you go into CRXDE Lite you can go to this file and look at the source code of this servlet and see an example of how it uses the layer to resize the image if that author edited the image in the smart image widget.
    You can also see example of servlets that resize and image ot specific preset sizes (as you want to do) you can look at /apps/geometrixx-outdoors/components/product/image/thumbnail.GET.java and /apps/geometrixx-outdoors/components/product/image/nav.GET.java.
    So what you would want to do is something like this:
    Create your own component at /apps/mysite/components/foo
    Create a servlet at /apps/mysite/components/foo/bar.GET.java - put your logic to resize the image here based on some of the examples
    Create your component JSP at /apps/mysite/components/foo/foo.jsp
    Create your component's dialog and in this dialog include a smart image widget - make sure you store your image on component node, not a sub-node. If you store your image on a sub-node you need to make sure the sub-node includes the same resource type as your main node).
    In your component JSP when you create your foundation Image object make sure to image.setSelector("bar") before you call image.draw()
    That should result in an image URL that looks like /path/to/your/page/_jcr_content/par/textimage/image.bar.jpg/1323947520848.jpg
    Those steps aren't tested - so I may have missed something or mistyped something, but it should point you in the right direction.

  • Low File Size/Great Image Quality: H.264, AAC

    1. I created a slideshow in iPhoto, exported it to a QT movie file. The properties of it is as follows:
    Exibit A:
    Dimensions: 720x480
    Format: MPEG-4 Video, AAC, Stereo, 44.100kHz
    FPS: 30
    Data Rate: 7277.87 kbits/sec
    Channel Count: 2
    Duration: 02'46
    Size: 143.58MB
    2. I pulled a QT Movie file from the web with the following properties:
    Exibit B:
    Dimensions: 480x360
    Format: AAC, H.264, Stereo (LR), 48.000kHz
    FPS: 28.79
    Channel Count: 2
    Duration: 01'22
    Data Rate: 868.14 kbits/sec
    Size: 8.5MB
    3. I tried to see if I could compress my movie and keep the quality as comparible to Exibit B. Here's what I ended up with:
    Exibit C:
    Dimensions: 720x480
    Format: AAC, H.264, Stereo (LR), 44.100kHz
    FPS: 30
    Data Rate: 4826.73 kbits/sec
    Channel Count: 2
    Duration: 02'46
    Size: 95.22MB
    4. I tried again. This time creating the same dimension as Exibit B. Here what I got:
    Exibit D:
    Dimensions: 480x360
    Format: AAC, H.264, Stereo (LR), 44.100 kHz
    FPS: 30
    Data Rate: 2577.17 kbits/sec
    Channel Count: 2
    Duration: 02'46
    Size: 51MB
    How can I create a very low size and image quality as Exibit B?
    I have QTPro. Do I need something else?
    Thanks.

    Update:
    Well playing all exibits on the Windows workstation worked just fine after the update. I now has QT7.
    Next...I've exported Exibit A down to 8MB (Exitbit F)by recommendations from Capt. QTKirk. Here are the properties:
    Exibit F:
    Format: AAC, Stereo (LR), 32.000kHz, H.264, 720x480, Millions
    FPS: 15
    Data Size: 8.5MB
    Data Rate: 429.79kbits/sec
    Overall Quality:
    Video: Fair at 720x480; much better at 486x324; overall choppy transitions as well
    Audio: Fair -close to mono.
    Anyone else have any suggestions?
    How and what are others using to get the audio/video quality as crisp and sharp as what's shown in the QT Movie Trailer site?

  • How do I change the size of images for a collage?

    I am trying to create a collage in Photoshop CS4.  I have found info on this and know that I need to create the background layer and then drag the images I want onto the background layer, then free transform the images to make them the sizes that I want.  However, when I do this the image becomes distorted.  Is there some way to make the images smaller and still retain the integrity of the image?  As it works now the people in my images are getting stretched out one direction or another.  Any information, or direction to information would be greatly appreciated!!  Thanks!

    I'm not the most experienced yet, so there may be an easier way.  But, first, the images and the background should be the same resolution...which you can check/change by going to Image-->Image Size.  Then after dragging to your background use the free transform from the corner, while holding down the shift key.  This will keep it proportional.

  • How can i reduce the size of Images  in MIDlet

    Hi all,
    How can i reduce the size of Images in Form,bcoz they are covering lots of spaces in form due to that other items are not displaying in specific order.
    Best regrads
    karan

    Better you can use Canvas class and using drawImage() function you can show the image. Before that you have to Get the maximum size of your phone screen using the following:
    x = (width/2) - (image.getWidth()/2);
    y = (height/2) - (image.getHeight()/2);

  • I'm doing a photo montage.if the size of image is too big like 3mb per pic

    i'm doing a photo montage.if the size of image is too big like 3mb per pic, will it make the rendering too slow ?

    File size has nothing to do with rendering performance. Search the forum, there's tons of threads on this. and by all means, read some basics:
    Getting started with After Effects
    Mylenium

  • Changing size of image in ACR mode

    Have just bought Elements 12. When editing image in raw mode I cannot change size of image using ALT in combination with the mouse scroll  button like I could in Elements 8. Clicking plus and minus signs is clumsy and slower

    I believe that was removed in acr starting with the late 6.x or 7.x series and not sure why.
    One way to zoom quicker with the zoom in (plus) is to drag a box on the image, although that doesn't work for zooming out (minus).
    You can also right click on the image to get a menu with different zoom values (viewing percents).

  • Reducing pdf size - compressing images

    I have a word document with a lot of images. the doc has 2.3 mega but the pdf gets around 8.5 mega; I've tried many settings in Adobe PDF but I cannot reduce the pdf size;
    thank you

    If you are using WORD 2003 or later, you can click on one of the images to get the format menu, select compress in the lower left corner, and compress the graphics in the WORD file. If you want to keep the original, do this on a copy (good idea anyway) and then create the PDF using the Adobe PDF printer. You may be getting the size due to features added by PDF Maker if you are using that.
    Within Acrobat, your options are either FILE>Reduce File Size or the PDF Optimizer. You can also just print to a new PDF. A lot depends on how you created the PDF and you provided no info there. Also, what OS and version of Acrobat?

  • Component image not getting displayed in Portal

    Hi All,
    I have added a jpg image to MIME folder in my component and used it as source for Image UI and also as a separator in Breadcrumb. When I run this web dynpro application in portal, the image is not getting rendered. I am getting cross mark instead of the image. But the image is getting displayed if I run the application as a stand alone application from SE80 -> Test. Once I do this, the image starts appering even in portal and again disappears after sometime.
    Could you please help me to resolve this issue?
    Thanks & Regards,
    Vishweshwara P.K.M.

    Vishweshwara,
    I hope you referred the MIME object in below way.
    '/sap/bc/webdynpro/sap/ZCOMP_EPI/SELECTED.JPEG'
    Where zcomp_epi is my component name and selected.jpg is mime object name. Check and let me know
    Regards
    Srinvias

  • I have an older Macbook pro with a dvi output and I want to watch movies on my tv. I have a dvi to hdmi cable but the only image I get on my TV is my desktop background. None of my movie players with appear on the TV screen. What am I doing wrong?

    I have an older Macbook pro with a dvi output and I want to watch movies on my tv. I have a dvi to hdmi cable but the only image I get on my TV is my desktop background. None of my movie players with appear on the TV screen. What am I doing wrong?

    Hi Maryan,
    Open System Preferences > Displays > select the window for you external monitor > click on the Arrangement tab and check the box next to Mirror Displays. It may be slightly different in Lion, but the idea is the same.

  • PS CS5 Extended on Windows -  When trying to use the clone stamp and/or healing brush as soon as I move the cursor over the image I get an exact copy of the existing layer that moves around the window with the movement of the clone stamp/healing brush.  W

    PS CS5 Extended on Windows
    When trying to use the clone stamp and/or healing brush as soon as I move the cursor from the toolbar over to the image I get an exact copy of the existing layer that moves around the window with the movement of the clone stamp/healing brush.  This just started tonight.  What's causing this weird behaviour?

    What are the settings in Window > Clone Source?

  • I recently upgraded to Yosemite. Yesterday when I opened up the iPhoto (which I have it in my external drive due to the size of file) I get the message that it is not compatible with the new system(or something like that) and ask me to upgrade so I d

    I recently upgraded to Yosemite. Yesterday when I opened up the iPhoto (which I have it in my external drive due to the size of file) I get the message that it is not compatible with the new system(or something like that) and ask me to upgrade so I did. Then another message pops ups and asked for rebuilding the Thumbnails. So I clicked rebuild. Next it asked me to do one of three things(I can't remember all of them) so I chose the last one which is to download a photo to iPhoto. Now I only have that photo I downloaded in iPhoto file but not the rest of my pictures. The iPhoto library which is stored in my EHD shows it has 349GB but it only show one thumbnail of the last picture I downloaded after the rebuild process. What can I do to recover the rest of the file?
    Thanks for your help.
    George Kyaw
    <Email Edited by Host>

    I recently upgraded to Yosemite. Yesterday when I opened up the iPhoto (which I have it in my external drive due to the size of file) I get the message that it is not compatible with the new system(or something like that) and ask me to upgrade so I did. Then another message pops ups and asked for rebuilding the Thumbnails. So I clicked rebuild. Next it asked me to do one of three things(I can't remember all of them) so I chose the last one which is to download a photo to iPhoto. Now I only have that photo I downloaded in iPhoto file but not the rest of my pictures. The iPhoto library which is stored in my EHD shows it has 349GB but it only show one thumbnail of the last picture I downloaded after the rebuild process. What can I do to recover the rest of the file?
    Thanks for your help.
    George Kyaw
    <Email Edited by Host>

  • Hello my name is jose quant, and let me know how I can use CAMERA RAW adobe bridge because the bridge use and want to open a camera raw image, I get a message that says: MAIN BRIDGE aplicaion NOT ACTIVATED. BRIDGE REQUIRES A PARTICULAR PRODUCT HAS BEGUN A

    Hello my name is jose quant, and let me know how I can use CAMERA RAW adobe bridge because the bridge use and want to open a camera raw image, I get a message that says: MAIN BRIDGE aplicaion NOT ACTIVATED. BRIDGE REQUIRES A PARTICULAR PRODUCT HAS BEGUN AT LEAST ONCE TO ACTIVATE THIS FEATURE. I wonder what that means?
    I use a lapto (windows 7) 64-Bit operating system.
    Thank you,
    my email is: [email protected], if you send me the answer to my query

    You need to activate Photoshop.
    Mylenium

  • How do I move a picture from camera raw to photoshop?  When I click open image I get a checker board

    How do I move a picture from editing in camera raw to photoshop?  When I click "open image" I get a checker board in photochop

    Sindbad. A suggestion, to let us know all the specifics of your machine: go the the help menu, and select System Info...
    Copy the contents, and paste it in an answer there.
    You might want to remove your serial number.
    Thanks to that we will know: the exact version of Photoshop, your memory, where Photoshop is installed, the graphic card and its drivers, and also if you are using third party plug-ins.
    Some other users reported that when launching Photoshop holding down the shift key (this disables the plug-ins), he was able to see the images.
    The solution in that case is to search for updated plug-ins (or to report the plug-in manufacturers that their plug-ins causes issues in Photoshop.

Maybe you are looking for

  • Fault while calling service from pl sql

    Hi, I am using utl_http to call a web service. The service is returning the following fault. Can anyone help me with the resolution for the following? Any sample pl/sql would be a boon. <faultcode>soap:Server</faultcode><faultstring>System.Web.Servic

  • Cell Definition in Query Designer

    Hi,, Can anyone will tell me the real time use of cell definition option in query designer. Thanks and Regards. Anjali

  • Director, iOS and the (real) apps development cul-de-sac

    Hi there. I was a long time Director developer and I tried D12 to give it a shot with iOS app development. After 2.5 months of research, an app submitted to Apple (still "in review"), another in development and a 3D game in its first design I have to

  • Who can tell me how 2 build a application in win32?

    i use jar to create a .JAR archive, but it can't lunch by javaw.exe. I create it by: jar cf test.jar test.class when i double-click the test.jar icon, win32 doing nothing. i'm sure the test.class is ok, it can run by java.exe how i can make the test.

  • OSX Lion vs AD groups

    Hi there, I hope someone can point me to the right direction here ;-) We have an OSX Lion server 10.7.5. Recently we added a fibercard to it with connection to emc storage. I created in total 6 partitions with each 3 TB on it. For each partition I cr