Welcome to TalkGraphics.com
Results 1 to 10 of 15

Thread: Memory Usage

Hybrid View

  1. #1

    Default Re: Memory Usage

    Five pictures being 100 Mbytes doesn't sound right at all. It's easy to work out what it should be in total. Just add up the sizes of all your JPEGs and add a small bit for the text (a few tens of K), and that's how larger your .web file will be.

    If you're loading huge RAW, PNG or TIFF files say, then yes 100Mbyts is easy to obtain - not many pictures of 25Mbytes each say are required to make 100M or more.

    If you are importing RAW images or some other extremely large uncompressed format, then you're advised to use the Optimize Photo function which compresses and down-converts them to more reasonable resolution and JPEG compresses them. Check out he Photo handling chapter in the manual, I think it's covered in there.
    IP

  2. #2
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: Memory Usage

    Hi,

    Might I ask;is it the uploaded/exported site that has the size or is your web file that large?
    If it's the uploaded/exported website,there's a thing to consider.
    I think it's a flaw in the way XWD handles this.

    If you create a site and use some media like pics and flash it gets imported into the yourfile_html_files folder.
    But if you keep testing,all media get into this folder.
    This means that if you're finally going to export/upload,
    All files in this testing folder get uploaded too.
    Even the ones you only used for testing but do not need in the actual upload version.

    I think XWD should use a temp folder for testing and a designated one for export/upload.
    This would mean it also needs a folder along the webfile for used media

    Hans

    **this doesn't apply on a fresh new project on first testing.
    But it does if there's a folder attached after export/upload.
    The project will use this folder over and over,containing every file used in the past
    IP

  3. #3

    Default Re: Memory Usage

    I'm not following you Hans. I do a lot of testing of different photos and they do not accumulate in the index_html_files folder at all.

    Example;
    First test, if I bring in boat.jpg and train.jpg then export as htm to folder, I get 0.jpg and 1.jpg in the index_htm_files folder.
    OK - now I delete boat.jpg and train.jpg from the page and bring in plane.jpg and car.jpg (I now have 4 photos in the bitmap gallery)
    If I export this 2nd test to the same folder as the first test, 0.jpg and 1.jpg are overwritten with the plane and car picture. Nothing is accumilated.


    (Which reminds me John. I have a feeling there is a way to have WD export my photos with their original name rather than 0.jpg and 1.jpg etc. Am I right?)
    IP

  4. #4
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Memory Usage

    Quote Originally Posted by sledger View Post
    I have a feeling there is a way to have WD export my photos with their original name rather than 0.jpg and 1.jpg etc. Am I right?
    No, not actually. Though you can embedd external images with any file names using placeholder (Web properties dialog / Placeholder tab / Replace with graphic file). The file that you open will be copied to the files folder automatically and then uploaded with your lite. All links are maintained too.
    John.
    IP

  5. #5

    Default Re: Memory Usage

    Yes this will be suitable untill Xara at least make changes to the way jpg is handled for export. I do not like EXIF being stripped - this must be overcome by Xara (please..)
    IP

  6. #6

    Default Re: Memory Usage

    I do not like EXIF being stripped - this must be overcome by Xara (please..)
    Sort of OT, but...the JPEG we export is not the JPEG you embed - it's resized / resampled to the required resolution / angle etc. So some fields in the EXIF would have to be changed for sure as they'd be completely wrong. If you adjust a photo enhance values, then all the exposure values would also be meaningless / misleading also.

    So what value is it to have EXIF in published JPEGs? Or what EXIF fields do you think should be preserved, and why?

    Using placeholders for JPEGs is one way to preserve the EXIF if you really want this.

    So right now I'm not convinced this is a valuable feature. I'm prepared to be convinced otherwise though.
    IP

  7. #7
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: Memory Usage

    Steve,

    When publishing you'll get asked to store the file locally.
    But if you open the project later on and you change things on your page,the newly used media get's added to the project export folder,It doesn't delete unused files.
    In a way this makes sense but if you forget to delete the unused files from the export folder all the files get uploaded again.
    Hence the filesize

    Maybe an alert for the storing in local folder at every publish,now it only shows once.

    Hans
    IP

  8. #8

    Default Re: Memory Usage

    Hans I always export before I publish, so I don't see that message.
    I haven't come across the problem so far, but then I haven't had a work flow similar to the one you have described.
    Thanks
    IP

  9. #9
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Memory Usage

    Export before publishing is necessary for you to set the file name of the first page, and the files folder (which name is based on the first page file name).
    When you do preview of the design that had not exported yet, WD exports it to the temporary location with a random temporary file name. You wouldn't wnat this to be published. So you have to export it at least once, then in export dialog you enter the filename of the main page, and all following preview exports and pre publishing export are made ro that location with correct names and paths.
    John.
    IP

  10. #10
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: Memory Usage

    I tested some things and you're right about embedded pictures.
    But when you use the placeholder it doesn't.

    new>add object>placeholder>change contents to image or swf
    >export or publish.
    close
    Open again>change the content of the placeholder to another pic or swf
    export or publish
    You want to use the same folder for the project,so if asked
    you probably choose the same folder as the project folder
    This is most likely as you don't want to create xx folders to work on one project.
    Now take a look at the export folder(say;index_html_files)
    You'll see all previous used flashfiles and or pics in the folder.
    When you publish all files get uploaded.
    Now why would one use the placeholder for pics.

    1-the convenience of the place holder that content can be changed in the layout but the object remains the same size.
    2-have the link and or text altered through cms sytem.


    Hans
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •