I am seeing double...double files

Hello,
I can't figurer out what to do. My remote site and my local
site are generating doubles of folders in different levels of my
site. I am getting so confused I can hardly handle it. I have
inclosed a link to what my dreamweaver files window looks like. You
will notice two css folders, 2 image folders, etc. My styles are
screwy and I don't know what to do. I think it is a simple
solutioon to do with dealing with the unnamed folder at the top of
my remote site.
Please take a look and give me a hint. It maka me cwazy.
I'm going to go and drink some toilet water.
Thanks
http://francistannahill.com/vineyard/screenshot.htm
http://francistannahill.com/vineyard/screenshot.htm

Did you redefine your site somewhere along the way? You have
a site within
a site, so to speak. What is the folder that is called
francistannahill.com? The whole site is in there and also
some of the
folder are outside also.
Looks to me like the root is supposed to be the
francistannahill.com folder.
You can put that under the Host Directory in the remote site
definition so
everything FTPs to the correct level.
Nancy Gill
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"kapowd" <[email protected]> wrote in
message
news:e5nqlq$kg5$[email protected]..
> Hello,
> I can't figurer out what to do. My remote site and my
local site are
> generating doubles of folders in different levels of my
site. I am
> getting so
> confused I can hardly handle it. I have inclosed a link
to what my
> dreamweaver
> files window looks like. You will notice two css
folders, 2 image
> folders,
> etc. My styles are screwy and I don't know what to do. I
think it is a
> simple
> solutioon to do with dealing with the unnamed folder at
the top of my
> remote
> site.
> Please take a look and give me a hint. It maka me cwazy.
> I'm going to go and drink some toilet water.
> Thanks
>
> <a target=_blank class=ftalternatingbarlinklarge
> href="
http://francistannahill.com/vineyard/screenshot.htm
>
>
>
>
>
http://francistannahill.com/vineyard/screenshot.htm">http://francistannahill.com
> /vineyard/screenshot.htm
>
>
>
>
http://francistannahill.com/vineyard/screenshot.htm</a>
>

Similar Messages

  • Double byte file name in KM NW04

    Prior to NetWeaver 04 using the HTML editor, we could name a file in a double byte language (Simplified/Traditional Chinese) by entering the English name in the "ID" field and then entering the double byte name in the "Name" field using "File/Details". While this was not elegant, it worked and would allow users to see the double byte name. Now in NetWeaver 04 we receive the error message "! name is not a canonical name" . Is there a way to name files in double byte using HTML or TEXT editors so our users can see the double byte name?

    Hi Boris,
    I'm working with Rick on the issue.
    I've tried the following (per OSS Note 507624), but we still get the "name is not canonical name" error.
    Added the following parameters via configtool to server instances:
    -Dhtmlb.useUTF8=X
    -Dfile.encoding=UTF8
    Added the following parameters via configtool to server instances:
    -Dhtmlb.useUTF8=X
    -Dfile.encoding=ISO-8859-1
    Set the following on <sid>adm account before starting portal (in combination with parameter settings above):
    setenv LC_ALL en_US.UTF-8
         locale
         LANG=en_US.UTF-8
         LC_CTYPE="en_US.UTF-8"
         LC_NUMERIC="en_US.UTF-8"
         LC_TIME="en_US.UTF-8"
         LC_COLLATE="en_US.UTF-8"
         LC_MONETARY="en_US.UTF-8"
         LC_MESSAGES="en_US.UTF-8"
         LC_ALL=en_US.UTF-8
    Unfortunately, these have not corrected the issue.
    Have I misinterpreted the recommendations in the Note or is there something else I needed to do?
    Thanks,
    Fred Bennett
    [email protected]

  • Speeding up FileIO - Double Buffered File Copy?

    We are trying to speed up file copy from disk to tape, and I need a little more speed. I have tried playing with the size of the buffer, but that isn't changing much (makeing it slower if anything).
    I'm trying to make a double buffered file copy and I can't figure out how to do it. I figured this would be a good place to get speed. Right now, my write is very simple:
    byte buffer = new buffer[8 * 1024 * 1024];
    FileInputStream in = new FileInputStream(srcFile);
    while(true) {
      int amountRead = in.read(buffer);
      if (amountRead == -1) { break; }
      write(buffer, 0, length);
    }So what i need to do it be able to read and write at the same time. So I was thinking that I could either make the write method a sperate thread, or some how make threaded buffers that read while the other is being writen. Has anyone tackled this problem before?
    If this isn't the right way to speed up File IO, can you let me know other ideas? Thanks in advance!
    Andrew

    Once again: I wish I could claim credit for these classes, but they were in fact posted a year or so ago by someone lese. If I had the name I would give credit.
    I've used these for two heavy-duty applications with never a problem.
    <code>
    package pipes;
    import java.io.IOException;
    import java.io.InputStream;
    * This class is equivalent to <code>java.io.PipedInputStream</code>. In the
    * interface it only adds a constructor which allows for specifying the buffer
    * size. Its implementation, however, is much simpler and a lot more efficient
    * than its equivalent. It doesn't rely on polling. Instead it uses proper
    * synchronization with its counterpart PipedOutputStream.
    * Multiple readers can read from this stream concurrently. The block asked for
    * by a reader is delivered completely, or until the end of the stream if less
    * is available. Other readers can't come in between.
    public class PipedInputStream extends InputStream {
    byte[] buffer;
    boolean closed = false;
    int readLaps = 0;
    int readPosition = 0;
    PipedOutputStream source;
    int writeLaps = 0;
    int writePosition = 0;
    * Creates an unconnected PipedInputStream with a default buffer size.
    * @exception IOException
    public PipedInputStream() throws IOException {
    this(null);
    * Creates a PipedInputStream with a default buffer size and connects it to
    * source.
    * @exception IOException It was already connected.
    public PipedInputStream(PipedOutputStream source) throws IOException {
    this(source, 0x10000);
    * Creates a PipedInputStream with buffer size <code>bufferSize</code> and
    * connects it to <code>source</code>.
    * @exception IOException It was already connected.
    public PipedInputStream(PipedOutputStream source, int bufferSize) throws IOException {
    if (source != null) {
    connect(source);
    buffer = new byte[bufferSize];
    * Return the number of bytes of data available from this stream without blocking.
    public int available() throws IOException {
    // The circular buffer is inspected to see where the reader and the writer
    // are located.
    return writePosition > readPosition ? // The writer is in the same lap.
    writePosition - readPosition : (writePosition < readPosition ? // The writer is in the next lap.
    buffer.length - readPosition + 1 + writePosition :
    // The writer is at the same position or a complete lap ahead.
    (writeLaps > readLaps ? buffer.length : 0)
    * Closes the pipe.
    * @exception IOException The pipe is not connected.
    public void close() throws IOException {
    if (source == null) {
    throw new IOException("Unconnected pipe");
    synchronized (buffer) {
    closed = true;
    // Release any pending writers.
    buffer.notifyAll();
    * Connects this input stream to an output stream.
    * @exception IOException The pipe is already connected.
    public void connect(PipedOutputStream source) throws IOException {
    if (this.source != null) {
    throw new IOException("Pipe already connected");
    this.source = source;
    source.sink = this;
    * Closes the input stream if it is open.
    protected void finalize() throws Throwable {
    close();
    * Unsupported - does nothing.
    public void mark(int readLimit) {
    return;
    * returns whether or not mark is supported.
    public boolean markSupported() {
    return false;
    * reads a byte of data from the input stream.
    * @return the byte read, or -1 if end-of-stream was reached.
    public int read() throws IOException {
    byte[] b = new byte[0];
    int result = read(b);
    return result == -1 ? -1 : b[0];
    * Reads data from the input stream into a buffer.
    * @exception IOException
    public int read(byte[] b) throws IOException {
    return read(b, 0, b.length);
    * Reads data from the input stream into a buffer, starting at the specified offset,
    * and for the length requested.
    * @exception IOException The pipe is not connected.
    public int read(byte[] b, int off, int len) throws IOException {
    if (source == null) {
    throw new IOException("Unconnected pipe");
    synchronized (buffer) {
    if (writePosition == readPosition && writeLaps == readLaps) {
    if (closed) {
    return -1;
    // Wait for any writer to put something in the circular buffer.
    try {
    buffer.wait();
    catch (InterruptedException e) {
    throw new IOException(e.getMessage());
    // Try again.
    return read(b, off, len);
    // Don't read more than the capacity indicated by len or what's available
    // in the circular buffer.
    int amount = Math.min(len,
    (writePosition > readPosition ? writePosition : buffer.length) - readPosition);
    System.arraycopy(buffer, readPosition, b, off, amount);
    readPosition += amount;
    if (readPosition == buffer.length) {
    // A lap was completed, so go back.
    readPosition = 0;
    ++readLaps;
    // The buffer is only released when the complete desired block was
    // obtained.
    if (amount < len) {
    int second = read(b, off + amount, len - amount);
    return second == -1 ? amount : amount + second;
    } else {
    buffer.notifyAll();
    return amount;
    package pipes;
    import java.io.IOException;
    import java.io.OutputStream;
    * This class is equivalent to java.io.PipedOutputStream. In the
    * interface it only adds a constructor which allows for specifying the buffer
    * size. Its implementation, however, is much simpler and a lot more efficient
    * than its equivalent. It doesn't rely on polling. Instead it uses proper
    * synchronization with its counterpart PipedInputStream.
    * Multiple writers can write in this stream concurrently. The block written
    * by a writer is put in completely. Other writers can't come in between.
    public class PipedOutputStream extends OutputStream {
    PipedInputStream sink;
    * Creates an unconnected PipedOutputStream.
    * @exception IOException
    public PipedOutputStream() throws IOException {
    this(null);
    * Creates a PipedOutputStream with a default buffer size and connects it to
    * <code>sink</code>.
    * @exception IOException It was already connected.
    public PipedOutputStream(PipedInputStream sink) throws IOException {
    this(sink, 0x10000);
    * Creates a PipedOutputStream with buffer size <code>bufferSize</code> and
    * connects it to <code>sink</code>.
    * @exception IOException It was already connected.
    public PipedOutputStream(PipedInputStream sink, int bufferSize) throws IOException {
    if (sink != null) {
    connect(sink);
    sink.buffer = new byte[bufferSize];
    * Closes the input stream.
    * @exception IOException The pipe is not connected.
    public void close() throws IOException {
    if (sink == null) {
    throw new IOException("Unconnected pipe");
    synchronized (sink.buffer) {
    sink.closed = true;
    flush();
    * Connects the output stream to an input stream.
    * @exception IOException The pipe is already connected.
    public void connect(PipedInputStream sink) throws IOException {
    if (this.sink != null) {
    throw new IOException("Pipe already connected");
    this.sink = sink;
    sink.source = this;
    * Closes the output stream if it is open.
    protected void finalize() throws Throwable {
    close();
    * forces any buffered data to be written.
    * @exception IOException
    public void flush() throws IOException {
    synchronized (sink.buffer) {
    // Release all readers.
    sink.buffer.notifyAll();
    * writes a byte of data to the output stream.
    * @exception IOException
    public void write(int b) throws IOException {
    write(new byte[] {(byte) b});
    * Writes a buffer of data to the output stream.
    * @exception IOException
    public void write(byte[] b) throws IOException {
    write(b, 0, b.length);
    * writes data to the output stream from a buffer, starting at the named offset,
    * and for the named length.
    * @exception IOException The pipe is not connected or a reader has closed
    * it.
    public void write(byte[] b, int off, int len) throws IOException {
    if (sink == null) {
    throw new IOException("Unconnected pipe");
    if (sink.closed) {
    throw new IOException("Broken pipe");
    synchronized (sink.buffer) {
         if (sink.writePosition == sink.readPosition &&
         sink.writeLaps > sink.readLaps) {
         // The circular buffer is full, so wait for some reader to consume
         // something.
         try {
         sink.buffer.wait();
         catch (InterruptedException e) {
         throw new IOException(e.getMessage());
         // Try again.
         write(b, off, len);
         return;
         // Don't write more than the capacity indicated by len or the space
         // available in the circular buffer.
         int amount = Math.min(len,
         (sink.writePosition < sink.readPosition ?
         sink.readPosition : sink.buffer.length)
    - sink.writePosition);
         System.arraycopy(b, off, sink.buffer, sink.writePosition, amount);
         sink.writePosition += amount;
         if (sink.writePosition == sink.buffer.length) {
         sink.writePosition = 0;
         ++sink.writeLaps;
         // The buffer is only released when the complete desired block was
         // written.
         if (amount < len) {
         write(b, off + amount, len - amount);
         } else {
         sink.buffer.notifyAll();
    </code>

  • I can't see the double arrows to access to full screen mode

    I have a imac (the pretty big one) with OS 10.7 and i can't see the double arrows to access to full screen mode in any application. Even Safari or other native software don't work. Did anyone have a clue for me please ?
    The combiantion Ctrl-Cmd-F doesn't work neither.
    I have a macbook air with the same OS and it works perfectly.
    Thanks in advance.
    Alan

    Ok, that didn't work and only closed out this window in discussions. After it closed this one I tried again doing the same but nothing. Makes sense though because if it closed this one out it would close everything else out on my desktop too. This is like a giant screen saver. All my other .jpg icons are still on my desktop over the top of this big pic. Is it possible this is what it is, just a screensaver? I did the same with another pic from the same website and it didn't do this. I clicked on my mouse to save a pic to the desktop and this monstrous thing appeared.  My dock is still there and the top bar that has the apple, Safari, edit, etc., but not anything else that you would normally click on to close a window. 

  • JPEG images opened in Photoshop double in file size upon save. Why?

    I've noticed that jpeg files I open in Photoshop (fresh off the sansdisk card) pretty much double in file size (from, say, 3MB to 6MB) after they're saved. This occurs even if I don't change the image size at all and simply save as a jpeg after touching up the levels and sharpness (no major restorative work on the image at all).
    Can anyone explain this to me?

    JPG format saves disk space by using a coding scheme (called huffman) in which small numbers use fewer bits than small numbers. What is saved is differences between neigbor pixels (the idea being that there is usually much similarity between neighbor pixels). Smaller inter-neigbor differences need fewer bits than large differences. When you adjust tonality, the adjusted image most likely uses a bigger portion of the tonal range than the original image did, and the inter-neighbor differences are increased. A sharpness boost also increases differences between neighbor pixels, particularly so if you boost sharpness so much that noise is increased, and more bits are needed to store the differences.
    Another thing is that when you open a JPG image into an image editor, the editor uncompresses the image. When you re-save it, you have to select a compression ratio, and it may not necessarily be the same ratio that the original was compressed with.
    Best regards,
    Antero

  • How to Double BMP file

    it is needed to create a new BMP file exactly twice the height of an original BMP file(which is uncompressed), and consisting of two copies of the original image, one on top of the other .
    now I have modify the file size (ie. size of the bit map data+file size); doule the vaule of height, bit map data size, and calculate where the bit map data section stats(ie.the bit map data offset info)
    But now I am not sure hwo to duplicate the entirebit map data section, then how to useFileout putStream and write() method to create a new double BMP file
    Can anyone give me an example? Many thx.
    My code is following:
    import java.io.*;
    public class BMPDouble {
         public static void main(String[] args) throws IOException{
              File bmp= new File(args[0]);
              getBMPInfo(bmp);
         public static void getBMPInfo(File f) throws IOException {
              FileInputStream fis= new FileInputStream(f);
                   int bflen=14;  // 14 byte BITMAPFILEHEADER
                  byte bf[]=new byte[bflen];
                  fis.read(bf,0,bflen);
                  int bilen=40; // 40-byte BITMAPINFOHEADER
                  byte bi[]=new byte[bilen];
                  fis.read(bi,0,bilen);
                  int nsize = (((int)bf[5]&0xff)<<24)
                                  | (((int)bf[4]&0xff)<<16)
                                  | (((int)bf[3]&0xff)<<8)
                                  | (int)bf[2]&0xff;
                  int nheight = (((int)bi[11]&0xff)<<24)
                                  | (((int)bi[10]&0xff)<<16)
                                  | (((int)bi[9]&0xff)<<8)
                                  | (int)bi[8]&0xff;
                   int bmdsize = (((int)bi[23]&0xff)<<24)
                                  | (((int)bi[22]&0xff)<<16)
                                  | (((int)bi[21]&0xff)<<8)
                                  | (int)bi[20]&0xff;
                   int offsetInfo = (((int)bf[13]&0xff)<<24)
                                  | (((int)bf[12]&0xff)<<16)
                                  | (((int)bf[11]&0xff)<<8)
                                  | (int)bf[10]&0xff;
                   int newSize = nsize+bmdsize;
                   int newHeight = nheight*2;
                   int newBmdSize = bmdsize*2;
                   System.out.println("Size: "+newSize+" bytes");
                   System.out.println("Height: "+newHeight);
                   System.out.println("Bit Map Data Size: "+newBmdSize);
                   System.out.println("Bit Map Data offset: "+offsetInfo);
                   fis.close();

    thank you for code above, since it has some errors, so I change a little.
    but I am not sure why in incomeData arrary should be 256. ie.byte[ ] incomeData = new byte[256];
    whether it is also 14 bytes in new bit map file header and the rest is (256-14) bytes in new bit map info header? Please help me,thx.
    My code is now following:
    import java.io.*;
    public class BMPDouble {
         public static void main(String[] args) throws IOException{
              File bmp= new File(args[0]);
              File bmpDouble= new File(args[1]);
              getBMPInfo(bmp);
              getBMPInfo(bmpDouble);
         public static void getBMPInfo(File f) throws IOException {
              FileInputStream fis= new FileInputStream(f);
              FileOutputStream fos= new FileOutputStream(f);
                   int bflen=14;  // 14-byte BITMAPFILEHEADER
                  byte bf[]=new byte[bflen];
                  fis.read(bf,0,bflen);
                  int bilen=40; // 40-byte BITMAPINFOHEADER
                  byte bi[]=new byte[bilen];
                  fis.read(bi,0,bilen);
                  int nsize = (((int)bf[5]&0xff)<<24)
                                  | (((int)bf[4]&0xff)<<16)
                                  | (((int)bf[3]&0xff)<<8)
                                  | (int)bf[2]&0xff;
                  int nheight = (((int)bi[11]&0xff)<<24)
                                  | (((int)bi[10]&0xff)<<16)
                                  | (((int)bi[9]&0xff)<<8)
                                  | (int)bi[8]&0xff;
                   int bmdsize = (((int)bi[23]&0xff)<<24)
                                  | (((int)bi[22]&0xff)<<16)
                                  | (((int)bi[21]&0xff)<<8)
                                  | (int)bi[20]&0xff;
                   int offsetInfo = (((int)bf[13]&0xff)<<24)
                                  | (((int)bf[12]&0xff)<<16)
                                  | (((int)bf[11]&0xff)<<8)
                                  | (int)bf[10]&0xff;
                   int newSize = nsize+bmdsize;
                   int newHeight = nheight*2;
                   int newBmdSize = bmdsize*2;
                   System.out.println("Size: "+newSize+" bytes");
                   System.out.println("Height: "+newHeight);
                   System.out.println("Bit Map Data Size: "+newBmdSize);
                   System.out.println("Bit Map Data offset: "+offsetInfo);
                   byte[] incomeData = new byte[256];
                   int bytesRead;
                   fos.write(NEWBITMAPFILEHEADER,0,NEWBITMAPFILEHEADER.length);
                   fos.write(NEWBITMAPINFOHEADER,0,NEWBITMAPINFOHEADER.length);
                   while((bytesRead=fis.read(incomeData))!= -1){
                        fos.write(incomeData,0,incomeData.length);
                   fis.reset();
                   while((bytesRead=fis.read(incomeData)) != -1){    
                        fos.write(incomeData,0,incomeData.length);
                   fos.flush();
                   fos.close();
                   fis.close();
    }

  • Help! Double BMP file

    it is needed to create a new BMP file exactly twice the height of an original BMP file(which is uncompressed), and consisting of two copies of the original image, one on top of the other .
    now I have modify the file size (ie. size of the bit map data+file size); doule the vaule of height, bit map data size, and calculate where the bit map data section stats(ie.the bit map data offset info)
    But now I am not sure hwo to duplicate the entirebit map data section, then how to useFileout putStream and write() method to create a new double BMP file
    Can anyone give me an example? Many thx.
    My code is following:
    import java.io.*;
    public class BMPDouble {
         public static void main(String[] args) throws IOException{
              File bmp= new File(args[0]);
              getBMPInfo(bmp);
         public static void getBMPInfo(File f) throws IOException {
              FileInputStream fis= new FileInputStream(f);
                   int bflen=14;  // 14 byte BITMAPFILEHEADER
                  byte bf[]=new byte[bflen];
                  fis.read(bf,0,bflen);
                  int bilen=40; // 40-byte BITMAPINFOHEADER
                  byte bi[]=new byte[bilen];
                  fis.read(bi,0,bilen);
                  int nsize = (((int)bf[5]&0xff)<<24)
                                  | (((int)bf[4]&0xff)<<16)
                                  | (((int)bf[3]&0xff)<<8)
                                  | (int)bf[2]&0xff;
                  int nheight = (((int)bi[11]&0xff)<<24)
                                  | (((int)bi[10]&0xff)<<16)
                                  | (((int)bi[9]&0xff)<<8)
                                  | (int)bi[8]&0xff;
                   int bmdsize = (((int)bi[23]&0xff)<<24)
                                  | (((int)bi[22]&0xff)<<16)
                                  | (((int)bi[21]&0xff)<<8)
                                  | (int)bi[20]&0xff;
                   int offsetInfo = (((int)bf[13]&0xff)<<24)
                                  | (((int)bf[12]&0xff)<<16)
                                  | (((int)bf[11]&0xff)<<8)
                                  | (int)bf[10]&0xff;
                   int newSize = nsize+bmdsize;
                   int newHeight = nheight*2;
                   int newBmdSize = bmdsize*2;
                   System.out.println("Size: "+newSize+" bytes");
                   System.out.println("Height: "+newHeight);
                   System.out.println("Bit Map Data Size: "+newBmdSize);
                   System.out.println("Bit Map Data offset: "+offsetInfo);
                   fis.close();

    now,the code is all right.
    but it is strange that the print output such as newSize, newHeight,new Bit Map Data Size and Bit Map Data offset equals 0.
    Also, it exists IOException: disk has no enough space.
    Why it will happen?
    import java.io.*;
    public class BMPDouble {
         public static void main(String[] args) throws IOException{
              File bmp= new File(args[0]);
              File bmpDouble= new File(args[1]);
              getBMPInfo(bmp);
              getBMPInfo(bmpDouble);
         public static void getBMPInfo(File f) throws IOException {
              FileInputStream fis= new FileInputStream(f);
              FileOutputStream fos= new FileOutputStream(f);
                   int bflen=14;  // 14-byte BITMAPFILEHEADER
                  byte bf[]=new byte[bflen];
                  fis.read(bf,0,bflen);
                  int bilen=40; // 40-byte BITMAPINFOHEADER
                  byte bi[]=new byte[bilen];
                  fis.read(bi,0,bilen);
                  fis.mark((bflen+bilen)-1);
                  int nsize = (((int)bf[5]&0xff)<<24)
                                  | (((int)bf[4]&0xff)<<16)
                                  | (((int)bf[3]&0xff)<<8)
                                  | (int)bf[2]&0xff;
                  int nheight = (((int)bi[11]&0xff)<<24)
                                  | (((int)bi[10]&0xff)<<16)
                                  | (((int)bi[9]&0xff)<<8)
                                  | (int)bi[8]&0xff;
                   int bmdsize = (((int)bi[23]&0xff)<<24)
                                  | (((int)bi[22]&0xff)<<16)
                                  | (((int)bi[21]&0xff)<<8)
                                  | (int)bi[20]&0xff;
                   int offsetInfo = (((int)bf[13]&0xff)<<24)
                                  | (((int)bf[12]&0xff)<<16)
                                  | (((int)bf[11]&0xff)<<8)
                                  | (int)bf[10]&0xff;
                   int newSize = nsize+bmdsize;
                   int newHeight = nheight*2;
                   int newBmdSize = bmdsize*2;
                   System.out.println("Size: "+newSize+" bytes");
                   System.out.println("Height: "+newHeight);
                   System.out.println("Bit Map Data Size: "+newBmdSize);
                   System.out.println("Bit Map Data offset: "+offsetInfo);
                   byte[] NEWBITMAPFILEHEADER = new byte[bflen];
                   byte[] NEWBITMAPINFOHEADER = new byte[bilen];
                   byte[] incomeData = new byte[256];
                   int bytesRead;
                   fos.write(NEWBITMAPFILEHEADER,0,NEWBITMAPFILEHEADER.length);
                   fos.write(NEWBITMAPINFOHEADER,0,NEWBITMAPINFOHEADER.length);
                   while((bytesRead=fis.read(incomeData))!= -1){
                        fos.write(incomeData,0,incomeData.length);
                   fis.reset();
                   while((bytesRead=fis.read(incomeData)) != -1){    
                        fos.write(incomeData,0,incomeData.length);
                   fos.flush();
                   fos.close();
                   fis.close();

  • Does opening an image from iPhoto in another app double the file size?

    I'm told (the usually unreliable sources;-) that when you open an image from iPhoto on an iPad into another appson the iPad, Photo Manager Pro for example, it actually duplicates the image: in effect doubling the file space taken up on the iMac. For example, if you had 10, 10 MB images in iPhoto on your iPad, and you opened them to the Photo Manager, it makes a copy, I'm told. If that is correct, you'd now have 20, 10MB images on your iPad; and if you opened those in a image editor on your iPad, you'd now have 30, 10 MB images! Is this correct?
    If so, pretty soon all the storage space would be taken up?
    Is that true, and if so, what's the workaround?
    Thanks
    Haly2k1

    Not necesarilly, the app will portray the photo from your library, not make a duplicate.
    Hope this helps.

  • If I use Migration Assistant to transfer files a second time from my iMac to my Macbook Pro, will I end up with doubles of files on my Macbook?

    I used Migration Assistant from my Time Machine for my iMac to my Macbook Pro (I'm pretty sure) when setting up my new laptop to transfer files I wanted from my desktop; now I have new files on my iMac that I'd like to transfer, and I'm wondering if Migration Assistant will send files that I already transferred to my Macbook again, thus creating doubles of files on my Macbook

    Welcome to Apple Support Communities
    Migration Assistant creates a new account to transfer files from another Mac, so you will end with doubles of files on the MacBook.
    To avoid this, you can go with the easier way: get an external drive, copy all the files you have on your iMac to the external drive, connect it to the MacBook and copy the files on the external drive to the folder you want to.
    Another way is to transfer them through your network. If you have OS X Lion or Mountain Lion on both Macs and they are connected to the same network, use AirDrop to transfer your files. Simply open a Finder window on the iMac and choose AirDrop in the sidebar. Then, drag the files you want to transfer to your MacBook Pro's icon.
    Finally, if you have FireWire in both Macs, you can use Target Disk mode on your iMac (hold the T key while your iMac is starting), so your MacBook Pro will detect your iMac's hard drive as an external drive and you will be able to transfer whatever you need

  • Interface Builder refuses to see "@2x" image files

    I'm making some apps with support for all three major iOS platforms: iPhone&Co, iPhone4 and iPad. This support means, naturally, having larger-resolution images for the latter two platforms. Currently I'm making the apps universal, so the same app will run in all of them.
    Since most of the double-resolution images of the iPhone4 version of the app can be used as-is in the iPad version (only things like background images have to be made separately for all three types of platform due to differing screen resolutions; the rest can be done with simply laying out the elements appropriately in the iPad as compared to the iPhone4, using the same element images for both), it would be a huge waste of space to make separate images for the iPhone4 and the iPad, when these images would be completely identical. Thus it only makes sense to reuse the same "@2x" images of the iPhone4 on the iPad version of the app.
    This worked nicely for a while. However, at some point quite suddenly (I don't really know what happened), Interface Builder started to completely refuse to see any image files with a "@2x" in their name. It won't show them on the drop-down menu where you select an image (eg. for an UIImageView or UIButton), and if you write it manually, it will refuse to show it (only showing the question mark image symbolizing a missing image file). The image will show ok when running the app, but IB simply refuses to acknowledge the existence of such images. If I rename the image such that I remove the "@2x", then IB will accept it, but not if it has those characters.
    As said, IB did see the "@2x" images at some point, but for some reason now it doesn't. (This is a bit of a mystery because I don't remember this happening after any kind of SDK upgrade or anything.)
    This tells me that this is either 1) a bug in IB, or 2) intentional behavior, and the "@2x" images should not be "abused" in this way to create an iPad version of the app properly.
    If hypothesis 2 is correct, then what is the proper way of using the same images in both the iPhone4 and iPad versions of the app? Duplicating the image files would be an enormous waste of space (the apps are quite graphics-heavy).
    One "kludge" that comes to mind would be to create soft links for the images so that the iPad versions of the image files would just be soft links to the @2x iPhone4 images. However, I don't know if the bundling mechanism of the iPhone SDK supports soft links, or if it will simply make copies of the images (in which case each such image will end up being stored twice in the bundle).

    WarpRulez wrote:
    If I rename the image such that I remove the "@2x", then IB will accept it, but not if it has those characters.
    I guess I don't understand why you want a solution when you've found one already.
    Just use ".2x" or "-2x" or whatever.
    Report the bug, use your workaround and move on.

  • I purchased creative lightroom presets. I see the zip file in my download file and I try to import to LR but it just keeps creating a bundle never giving me the option to import (greyed out). What am I doing wrong?

    I purchased creative lightroom presets. I see the zip file in my download file and I try to import to LR but it just keeps creating a bundle never giving me the option to import (greyed out). What am I doing wrong?

    Try unzipping the file first. I have no idea regarding your level of technical expertise so advanced apologies if this is really basic. A ZIP file is a compressed file containing one of more files within it. To access the files you will need to expand it. If you double-click on it first, it should open up for you. If it does not automatically expand, you can select the files and copy them to a new folder. The copy will unload them into an uncompressed form. Once they have been uncompressed, you should be able to import them.
    If the import is still giving you problems, go to your Preferences, click on the Presets tab and click the Show Presets Folder button. You can then copy your purchased presets into the folder shown. You will want to copy them to the User Presets subfolder.

  • Any program avilable to see the Unix file into PC

    Hi,
    Any program avilable to see the Unix file into PC ?
    Best Regards,
    Bansi
    Moderator message: please learn about [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting further.
    locked by: Thomas Zloch on Aug 6, 2010 2:10 PM

    Hi,
    For this you will have to get the FTP server acces...
    if you have that, then follow the below steps.
    run program RSFTP002 in SE38.
    here in the selection screen you will have to fill the details like  USER , PASSWORD , HOST , COMMAND and RFC DESTINATION as mandatory.
    Command is nothin but to get the file from there... if you know the file name, then fill the field as GET filename.
    once this has executed successfully, it will be placed in sap directory './' . To view this, go to AL11 and double click this directory. search for the filename that you had downloaded.
    Hope this helps you.
    Regards.

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • Why can't my new Macbook Pro not see individual MTS files on the sony cx700 flash drive? How do I get AVCHD MTS files off the camera not using imovie or FCP?

    Hi,
    I bought a new MacBook Pro (OS X version 10.8) recently to replace an older version. I work with different Sony cameras (Hard drive and flash drive storage), but when I connect the cameras (Sony Cx560, 700 and XR520) to the Mac it only shows an AVCHD icon. Usually you can see the individual files. We have 3 Macbook Pro's here and on 2 of them it works. Is there a setting or a driver I need to download for this new Mac? The other ones read it without intsalling anything.
    Thanks for any tips.

    There are two (and probably more than two) third party apps that will do this.
    1) ClipWrap
    2) Voltaic

  • Time Machine only shows the current copy of the file I am trying to restore. There is none of the time machine backup histories shown. I am running OSX 10.7.5. I see the backup files on my external Time Machine hard drive. Help

    Time Machine only shows the current copy of the file I am trying to restore. There is none of the time machine backup histories shown. I am running OSX 10.7.5. I see the backup files on my external Time Machine hard drive in the Backups.backupdb folder.
    Time Machine does show the history of my Macintosh HD, but when I try to navigate to the folder I wish to restore the backup history disappears. I've been searching for answers and I have not found one that works for me.

    Time Machine only shows the current copy of the file I am trying to restore. There is none of the time machine backup histories shown. I am running OSX 10.7.5. I see the backup files on my external Time Machine hard drive in the Backups.backupdb folder.
    Time Machine does show the history of my Macintosh HD, but when I try to navigate to the folder I wish to restore the backup history disappears. I've been searching for answers and I have not found one that works for me.

  • I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    Is the menu bar missing (the one containing File, View, Edit etc)? If it is, the following link shows how to restore it - https://support.mozilla.com/kb/Menu+bar+is+missing

Maybe you are looking for

  • ERROR :  SSO Partner application could not be registered successfully

    Hi, when i run txkrun.pl to register sso my regisitration fails perl txkrun.pl -script=SetSSOReg You are registering ORACLE HOME, Instance with SSO and OID Servers. Enter the host name where Oracle iAS Infrastructure database is installed ? hschbscgn

  • How do I manage two apple ids and iCloud for my teen's iPad?

    Before my son turned 13, he used my Apple ID to set up his purchases for his first iPad.  Now he has his own apple ID.  He has his own iPhone and a different iPad for school.  The school wants him to use iCloud to back up everything.  I just set up i

  • Need help restoring iPhone 4s to an older backup file instead of most recent backup

    My year old iPhone 4 was stolen a few months ago, bought the new 4s in November, but due to a broken laptop screen i could not restore the new phone to my backup on itunes. Finally had the laptop fixed and I accidentally backed up the 4s, which only

  • Removing decimal in mapping

    Hi, How do I remove decimal from float (source) to unsigned integer (target) in graphical mapping? For eg: Source = 1500.23 Target = 150023 Reg, Shobhit

  • Rich Text Editor - Saving encoded characters

    Hi all, I am using CQ5.5 SP2.1. The problem faced is that on IE8 Western European (Windows) encoding, special characters do not display correctly. However, using HTML encoded version of the special character will display correctly, i.e. using £ inste