How to insert picture

How to insert picture - Сообщения

#1 Опубликовано: 14.01.2010 06:08:54
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 сообщений из 55 понравились пользователям.

Группа: User

I want to insert a picture,
Insert > Picture > From files...
a dialog pop up, Files of type only "Bitmap files", I could not see any files at all.
How can I see the image files in a folder? and how can I insert image file in the SMath working windows.

Thanks, Waluyo
#2 Опубликовано: 14.01.2010 08:03:28
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Hello Waluyo
Wrote

I want to insert a picture,
Insert > Picture > From files...
a dialog pop up, Files of type only "Bitmap files", I could not see any files at all.


In order to Insert a picture, it must be in the bitmap format (*.bmp). On the other hand, not all *.bmp pictures can be inserted. I think than 24-bit Bitmap format can be inserted only. I tried other formats but the picture has been distorted with the previous message:"A graphics file object cannot be created from an image that has an indexed pixel format".
Wrote

How can I see the image files in a folder? and how can I insert image file in the SMath working windows.


If you insert a picture from SMath than you can only see the pictures with *.bmp extension. I think the simplest way of inserting a picture at the moment is to open it in an external picture software (the format is not important, *.png, *.gif, *.wmf etc,) and to copy>paste it via clipboard. After that, you cannot resize the picture. Only the picture region will be resized and not the picture itself.
This is in Windows. I suppose similar is in Linux.

I hope I am right about all of this.

Regards,
Radovan

PS. There is also a Picture=>Create option, but I think it is not finished yet. Maybe I am wrong because I do not know what is this option for.
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Опубликовано: 14.01.2010 09:34:35
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: Super Administrator

You're right. I see I should create an ability to use other image formats in SMath Studio. Will check what can be done...

Цитата

There is also a Picture=>Create option


Actually it was created for handheld devices with touch screen - user can draw something using stylus there. In Desktop version you can use mouse to make graphic marks as well (yep, I know how hard to use mouse for drawing ).
#4 Опубликовано: 14.01.2010 09:38:30
Waluyo Adi Siswanto

Waluyo Adi Siswanto

1 сообщений из 55 понравились пользователям.

Группа: User

Thanks Radovan for the information.

I don't have bmp files, but jpg, png and gif.
Even they cannot be seen, now I realise, when I type the first character of the file name, all similar files of the image files are shown in the filename list, then I can select and click. I can get non bmp file in the SMath window. However, as you said.. cannot be resized..

Since SMath can read other image files (jpg, png,..), It is better if, there is another option, say "all files" not only "bitmap files". Andrey?

The Picture>Create option, this is a free drawing, I need straight lines, curves, text, or even equations.

Best Regards, Waluyo
#5 Опубликовано: 14.01.2010 10:07:10
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Thanks Andrey for the explanation. As you said, some corrections are needed here. You also explained about "Create" but I forgot that, sorry.

Wrote

I don't have bmp files, but jpg, png and gif.
Even they cannot be seen, now I realise, when I type the first character of the file name, all similar files of the image files are shown in the filename list, then I can select and click. I can get non bmp file in the SMath window. However, as you said.. cannot be resized..

Since SMath can read other image files (jpg, png,..), It is better if, there is another option, say "all files" not only "bitmap files". Andrey?



Very surprising! I did not know that. I also inserted png and jpg in the way you explained (some gif files give the mentioned error).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#6 Опубликовано: 14.01.2010 22:02:24
Andrey Ivashov

Andrey Ivashov

2269 сообщений из 3729 понравились пользователям.

Группа: Super Administrator

Fixed.

It is possible now to insert multiple picture types:


Also added ability to drag and drop images of same types:


And appearing of error message "A Graphics object cannot be created from an image that has an indexed pixel format." prevented - it will never be shown.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений