I downloaded a mars jpeg image with 23040x11520 dimensions and resized it to 32768x16384 tif. But i do not know how to convert it to Png or Jpg to vt it.
I've tried imagemagick, irfanview, Photoshop, vips, but none seem to be capable.
when i resized it in Photoshop, i was only able to save it as tif now i cannot convert it to anything else. It ussually comes down to a memory issue(not enough) or a cannot decode issue(vips). Anybody know a way of converting without running out of memory. I have 2GB Dualchannel Ram and 4096mb paging file.
ftp://ftpflag.wr.usgs.gov/dist/pigpen/m ... im1_color/ :here is where the file is located.
Ozark
Help converting 32k tif image of Mars!
Help converting 32k tif image of Mars!
OZARK
Celestia 1.5.0
Windows XP Home Edition
Pentium 3.4 ghz E.E
2GB ddr Ram
Radeon 9550 AGP 256 mb
Celestia 1.5.0
Windows XP Home Edition
Pentium 3.4 ghz E.E
2GB ddr Ram
Radeon 9550 AGP 256 mb
- LordFerret
- Posts: 737
- Joined: 24.08.2006
- Age: 68
- With us: 18 years 3 months
- Location: NJ USA
Re: Help converting 32k tif image of Mars!
Ozark wrote:Anybody know a way of converting without running out of memory. I have 2GB Dualchannel Ram and 4096mb paging file.
Photoshop uses your HD as a scratch disk (sort of like virtual memory). If you have limited free space on it, it will work slow, or not be able to perform what you want. So, go into preferences and adjust the scratch disk settings (select a different hard drive with more room, for example).
BUT: why re-size a 23k JPG to 32k? The quality loss is too great to be of any use. It would be much better to reduce it to 16k, and save it as PNG.
- rthorvald
- cartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
I agree with rthorvald, you should probably scale it down to 16k. But if you wish to continue with the 32k size you'll have to define a large pixel cache for Image Magik as well if your going to use the virtualtex script to vt it. Before running IM or virtualtex, Try on Cygwin command line before using Image Magik or virtualtex where "folder" is a folder name of your choice on a NTFS partition that has about 20 gb free space.
The image your trying to work on is over 4 gb alone uncompressed. You may also try cropping the original image so you'll have a east and a west at 11520x11520. Then you can try scaling them up, or preferably down.
I think the virtualtex script allows you to work on the east and west separately. good luck
cartrite
Code: Select all
TMPDIR=folder
The image your trying to work on is over 4 gb alone uncompressed. You may also try cropping the original image so you'll have a east and a west at 11520x11520. Then you can try scaling them up, or preferably down.
I think the virtualtex script allows you to work on the east and west separately. good luck
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
re
that is odd with Nip2/Vips
from the nip2 gui i can save a 64k map to png in 5 min with only 512 meg of ram and 2 gig of swap
try this open the Mdim_64c.jpg in Nip2
from toolkits select image/transform/resize/size to
and type in 16384( for a 32k map) or 8192 for a 16k map ( preferred )
the default is to resize the shortest side
right click on the new image and select save as " mars.png " and hit "enter"
from the nip2 gui i can save a 64k map to png in 5 min with only 512 meg of ram and 2 gig of swap
try this open the Mdim_64c.jpg in Nip2
from toolkits select image/transform/resize/size to
and type in 16384( for a 32k map) or 8192 for a 16k map ( preferred )
the default is to resize the shortest side
right click on the new image and select save as " mars.png " and hit "enter"
Last edited by John Van Vliet on 31.07.2007, 20:50, edited 1 time in total.
Nip2 worked Great! Didn't Know anything about nip2 so i didn't try it. I've since started playing around with it more and getting to know the program a bit more. Anyway, vt'd both 16k version and 32k version. You guys were right 16k version was better. I kinda of figured that but wanted to try for myself anyways. Thanks for the tip on using NIP2 for resizing.
OZARK
Celestia 1.5.0
Windows XP Home Edition
Pentium 3.4 ghz E.E
2GB ddr Ram
Radeon 9550 AGP 256 mb
Celestia 1.5.0
Windows XP Home Edition
Pentium 3.4 ghz E.E
2GB ddr Ram
Radeon 9550 AGP 256 mb
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
re
Nip2 is great for 5, 10, 15,20+ gig images and i have been using it for a few years