Questions tagged [shrink]

249 questions
2
votes
2 answers

SQL Server database won't shrink

I have a 31 GB database I got from a customer for a project. I'm coding and keeping the database in a 80GB Win7 VM. I got the db file and imported the database from that, and found that the space was being eaten up mostly by one table, with 240,000…
Tony Bownes
  • 23
  • 1
  • 4
2
votes
1 answer

Navigation Bar Shrinking after relaunching app

I got a problem, I need to build something similar to this, where the red bar is a UIImageView and the blue bar is the navigation bar: http://imagizer.imageshack.us/v2/800x600q90/30/iqtt.png I was able to make it with the following code, my problem…
Renan Kosicki
  • 2,890
  • 2
  • 29
  • 32
2
votes
1 answer

Shrink string encoding algorithm

How do we shrink/encode a 20 letter string to 6 letters. I found few algorithms address data compression like RLE, Arithmetic coding, Universal code but none of them guarantees 6 letters. The original string can contain the characters A-Z (upper…
Ramu
  • 199
  • 2
  • 11
2
votes
2 answers

Method to fill in any size hole

I'm working on a fingerprint recognition project but I need to pre-process the image. I go through the following process. 1) Binarization 2) Filtering to removing the "stair-step" effect; i.e smoothing 3) Thin the lines I'm adding in a step that I'm…
roldy
  • 95
  • 5
  • 13
2
votes
1 answer

When to shrink: after reducing the size of one column or after reducing the size of all columns?

We have a huge database (300GB) where most of the space is occupied by a large table. This table has a number of columns that were defined as float, ocuppying 8 bytes each. However recently we realized that only 4 bytes are needed and we have to…
Ioana Marcu
  • 551
  • 8
  • 25
2
votes
3 answers

How to compress images (png, jpg and so on) using objective C

i want to shrink png or jpg on OSX. i only want to shrinkg without affecting the image quality. like tinypng.org is there any recommended library? i just know imagemagick. is there a way to do that natively? or another library to shrink/compress…
brush51
  • 5,691
  • 6
  • 39
  • 73
2
votes
1 answer

Carousel Images Height Shrinking

I've got a carousel on my index page, but I've noticed that if I shrink my browser, the image doesn't stay within the whole carousel. If you don't understand what I mean, here's an image of the carousel after shrinking the browser: As you can see,…
ShadyPotato
  • 257
  • 1
  • 4
  • 15
1
vote
1 answer

Getting X and Y instead of horizontal/vertical size in layout properties of Swing JPanel

When if a panel has layout properties like horizontal size and vertical size, then I'm able to hide the panel and space used by panel is also shrinking. But If the panel has layout properties like X and Y, then I'm able to hide the panel, But…
merlachandra
  • 376
  • 2
  • 17
1
vote
1 answer

Interrupting a database file shrink process in SSMS 2008

I recently removed table data from a batch of production databases and I've been shrinking the database files using the 'Shrink File' feature in SSMS. Some of the databases will shrink more than 50gb. I noticed that this processes takes a very…
user1288850
  • 11
  • 1
  • 2
1
vote
3 answers

App gets shrinked on Android 3.0 tablet

As seen here my app gets shrinked on Samsung Galaxy Tab with Android 3.0 It is also shrinked in emulator, but at graphical layout it looks ok. main.xml:
Trick
  • 3,779
  • 12
  • 49
  • 76
1
vote
1 answer

How to make image view scrollable in Android

How to make a image view scroll vertically. Demo images are uploaded below. How to shrink image view? Image 1. Image 2. Image 3. when user scroll up imageview get shrink from image 1 view to image .3 view when user scroll down imageview…
1
vote
1 answer

Make a auto-shrinking text which fit in text element with Konva

In Konva, we can use attributes like fontSize to determine the text size. But we want more, we are implementing a feature that can allow us to shrink the text size automatically. For example, we have a text element in canvas with different lengths…
Will
  • 325
  • 2
  • 9
1
vote
2 answers

graphicsmagick in perl shrink image to size

The graphicsmagick package for perl is very extensive but the documentation appears light (or confusing to me) If I have an image and I want to ensure the size is within 800x200 (like https://via.placeholder.com/800x200) while maintaining the aspect…
melutovich
  • 372
  • 1
  • 3
  • 15
1
vote
2 answers

How to make rows in a grid stack without grid-template-row?

I'm trying to make .item-1 and .item-2 stack nicely on top of each other in a grid, just like in this snippet: .grid { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto 1fr; } .item { …
Ole
  • 487
  • 7
  • 20
1
vote
2 answers

How can I get rid of unnecessary code in .apk file?

I have an empty project (no classes whatsoever, no activities), only a dependency to com.google.android.material:material:1.3.0 for the code to compile (there is a style defined which uses this). I enabled shrinking option, yet, after generating the…
StevenS
  • 11
  • 1